File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ ## 2.0.0
2
+
3
+ ### Warning if you used pre-release version
4
+
5
+ ` connection_profile ` of ` NetworkConnectionSettings ` object has been replaced with
6
+ equivalent ` get_profile ` method which can also fetch the secrets fields. (you can
7
+ use ` mypy ` to check)
8
+
9
+ ### Breaking changes
10
+
11
+ * Renamed certain elements of ` ConnectionType ` enum to match ` DeviceType ` enum.
12
+
13
+ * ` WIRED ` -> ` ETHERNET `
14
+ * ` GSM ` -> ` MODEM `
15
+
16
+ ### Features
17
+
18
+ * Added connection settings dataclasses.
19
+ Those dataclasses are found under ` networkmanager.settings ` sub-package.
20
+ They allow for easy and typed reading, modifying and writing connection settings
21
+ without dealing with D-Bus variants.
22
+
23
+ Thank you @bernhardkaindl for spearheading this feature.
24
+
25
+ New methods have been added to existing interfaces that utilize the new dataclasses:
26
+
27
+ * ` NetworkManagerSettingsConnectionInterface `
28
+
29
+ * ` get_profile `
30
+ * ` update_profile `
31
+
32
+ * ` NetworkManagerSettingsInterface `
33
+
34
+ * ` add_connection_profile `
35
+
36
+ * ` NetworkManagerInterfaceAsync `
37
+
38
+ * ` add_and_activate_connection_profile `
39
+
40
+ * Added support for loopback devices from NetworkManager 1.42
41
+
42
+ ## 1.1.0
43
+
44
+ ### Features
45
+
46
+ * Added NetworkManager errors as named exceptions.
47
+
48
+ ## 1.0.0
49
+
50
+ Initial release.
You can’t perform that action at this time.
0 commit comments