connection_profile of NetworkConnectionSettings object has been replaced with
equivalent get_profile method which can also fetch the secrets fields. (you can
use mypy to check)
-
Renamed certain elements of
ConnectionTypeenum to matchDeviceTypeenum.WIRED->ETHERNETGSM->MODEM
-
Added connection settings dataclasses. Those dataclasses are found under
networkmanager.settingssub-package. They allow for easy and typed reading, modifying and writing connection settings without dealing with D-Bus variants.Thank you @bernhardkaindl for spearheading this feature.
New methods have been added to existing interfaces that utilize the new dataclasses:
-
NetworkManagerSettingsConnectionInterfaceget_profileupdate_profile
-
NetworkManagerSettingsInterfaceadd_connection_profile
-
NetworkManagerInterfaceAsyncadd_and_activate_connection_profile
-
-
Added support for loopback devices from NetworkManager 1.42
- Added NetworkManager errors as named exceptions.
Initial release.