Repository navigation
chore(deps): update rust crate nmrs to v3.5.6 - #48
Open
renovate[bot] wants to merge 2 commits into
Open
renovate[bot] wants to merge 2 commits into
renovate[bot] wants to merge 2 commits into
Conversation
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.3.0→3.5.6Release Notes
freedesktop-rs/nmrs (nmrs)
v3.5.6Compare Source
Fixed
connect()andconnect_to_bssid()now find a saved profile by its802-11-wireless.ssidinstead ofconnection.id, so profiles created byother tools or renamed by the user are reused with their stored secret
instead of failing with
MissingPassword. Hotspot (mode = ap) profiles arenot matched.
now deletes the old profile once the new one activates, instead of leaving a
duplicate. If activation fails, the old profile is kept.
(#560)
v3.5.5Compare Source
Fixed
.ovpnfiles that useauth-user-passwithout an inline username nowimport.
OpenVpnBuilder::build()andvalidate_openvpn_config()no longerrequire a username for
PasswordandPasswordTlsauth; an unset usernameis asked for at connect time. A username that is set but blank is still
rejected by
validate_openvpn_config().(#558)
v3.5.4Compare Source
Added
SavedConnection::ipv4andSavedConnection::ipv6expose a profile's IPconfiguration as
IpSettings<Ipv4Addr>/IpSettings<Ipv6Addr>: method,addresses, gateway, name servers, search domains, routes,
never-default,and
ignore-auto-dns, using the new typedIpAddress<A>andIpRoute<A>.Entries NetworkManager stores in a form that does not parse are dropped with
a warning. (#524,
#534)
SavedConnection::get_property()reads anysection.keyof a profile as atyped value (
Property<T>+FromSetting), with named constants undernmrs::models::propertiesfor the sections nmrs already decodes.sections()andhas_section()list what the profile contains. The rawGetSettingsmap is kept privately and shared between clones.(#524)
StateReasonnow covers everyNMDeviceStateReasoncode (0 through 79),including
NoSecrets,ConfigFailed,IpConfigUnavailable, theUnmanaged*family, andNetworkingOff.(#555)
Deprecated
StateReason::UserDisconnected,DeviceDisconnected,ModeSetFailed,ModemConnectionFailed,Carrier, andParentUnreachablehave noNetworkManager counterpart and are never produced any more. They remain
as deprecated variants so existing matches keep compiling; use
UserRequested,CarrierChanged, and theModem*variants instead.(#555)
Fixed
StateReason::from(u32)decoded almost every device reason code to thewrong variant: codes 2 through 65 were shifted or swapped relative to
NetworkManager's
NMDeviceStateReason, so for exampleSSID_NOT_FOUNDcame back as
DeviceRemovedandSUPPLICANT_FAILEDasSupplicantTimeout. The table is rebuilt fromnm-dbus-interface.h, andreason_to_error()maps the corrected variants (NoSecrets,SupplicantDisconnected,SupplicantFailed,GsmPinCheckFailed,SimPinIncorrecttoAuthFailed;SsidNotFoundtoNotFound; DHCP andIP configuration failures to
DhcpFailed). Callers matching on a specificStateReasonorDeviceFailed(..)value will see the variantNetworkManager actually means for the same code.
(#555)
DeviceFailed(None)instead of thereal reason (most visibly
AuthFailedfor a wrong WPA passphrase). Thedevice's
StateReasonproperty was read only after the active connectionhad deactivated, by which point NetworkManager had already moved the
device from
FAILEDtoDISCONNECTEDwith reasonNONE. Activation nowsubscribes to each device's
StateChangedsignal and records the reasongiven on the transition into
FAILED; the property is only consultedwhen no such signal was seen.
(#555)
v3.5.3Compare Source
Added
NetworkManager::set_device_autoconnect()/set_device_managed()providehigh-level control of both writable properties. (#541)
NetworkManager::global_dns_configuration()/set_global_dns_configuration()read and write the managerGlobalDnsConfigurationproperty. An empty value clears theoverride. (#540)
Fixed
preshared-key-flags = 0.NetworkManager defaults new peers to
NOT_REQUIREDand drops not-requiredsecrets when saving the profile, so the preshared key was silently discarded
and the tunnel failed the handshake.
(#550)
wired_connection_lifecyclerestored device autoconnect immediately afterremanaging the veth, which let NetworkManager reactivate the saved profile and
race the disconnect assertions that follow. Autoconnect is now restored once
the profile is deleted, and the test waits for the remanaged device to settle.
(#547)
preshared-key-flags = 0. Peers without one are leftalone so they keep the default.
build_wireguard_connection()delegates tothe builder, so it picks up the same fix. (#551)
v3.5.2Compare Source
Fixed
#[deprecated(since = ...)]onconnect_vpn_by_uuid()anddisconnect_vpn_by_uuid()said3.6.0; corrected to3.5.1, the release that actually deprecated them.(#544)disconnect()no longer fails withorg.freedesktop.NetworkManager.Device.NotActivewhen the device finishes deactivating between the state check and theDisconnectcall. The error is treated as already-disconnected and the call still waits for the device to settle. (#544)get_saved_connection_path(),get_saved_connection_uuid(),has_saved_connection(), and the Wi-Fi/wired/VPN/Bluetooth connect paths built on them) no longer fail when a profile restricted to another user viaconnection.permissionsexists.GetSettingsreturnsSettings.PermissionDeniedfor those; they are now skipped instead of aborting the whole scan, which previously made known networks prompt for a password and then fail to connect. (#545)v3.5.1Compare Source
Fixed
#[deprecated(since = ...)]onconnect_vpn_by_uuid()anddisconnect_vpn_by_uuid()said3.6.0; corrected to3.5.1, the release that actually deprecated them.(#544)disconnect()no longer fails withorg.freedesktop.NetworkManager.Device.NotActivewhen the device finishes deactivating between the state check and theDisconnectcall. The error is treated as already-disconnected and the call still waits for the device to settle. (#544)get_saved_connection_path(),get_saved_connection_uuid(),has_saved_connection(), and the Wi-Fi/wired/VPN/Bluetooth connect paths built on them) no longer fail when a profile restricted to another user viaconnection.permissionsexists.GetSettingsreturnsSettings.PermissionDeniedfor those; they are now skipped instead of aborting the whole scan, which previously made known networks prompt for a password and then fail to connect. (#545)v3.5.0Compare Source
Added
try_build_wifi_connection(),WifiConnectionBuilder::try_wpa_eap(), andWifiConnectionBuilder::try_wpa3_eap_192_bit()report conflicting EAPcertificate path/blob inputs as
ConnectionError::InvalidInput.(#478)
Deprecated
build_wifi_connection(),WifiConnectionBuilder::wpa_eap(), andWifiConnectionBuilder::wpa3_eap_192_bit()in favour of theirtry_counterparts. They keep their existing infallible signatures, so no
existing code breaks. (#478)
Fixed
Supplying an EAP certificate or key as both a path and a blob no longer
panics. The
try_builders returnConnectionError::InvalidInput; thedeprecated infallible builders use the path and log a warning.
(#478)
get_vpn_info()no longer surfaces a raw D-Bus error (e.g. "a VPN interfacedoes not exist") when a VPN is disconnected externally while it is being read.
The active connection and its device can vanish mid-read; missing-object
reads are now treated as the VPN no longer being active (
NoVpnConnection),and the interface/IP details degrade gracefully.
(#523)
v3.4.2Compare Source
Changed
passwords and private keys from debug output, and connection tracing no
longer logs raw settings, without changing public field types. (#508)
OpenVPN and WireGuard builders. (#519)
Fixed
ActiveConnection::Vpneven when NetworkManagerparents it on the physical device it tunnels over, so OpenVPN-style tunnels
over Ethernet are no longer reported as
ActiveConnection::Wired. (#520)instead of assuming the adapter is
hci0. (#501)v3.4.1Compare Source
Added
secret-agent registration, wired DHCP activation, and virtual WPA Wi-Fi
discovery/authentication/reconnection without touching developer profiles. (#505)
monitor lifecycle behavior, secret-agent concurrency, saved-profile decoding,
validation boundaries, OpenVPN parsing, and certificate storage cleanup. (#505)
Changed
D-Bus subscriptions are installed, so a mutation immediately after startup
cannot race the subscription task. (#505)
now applies the fresh credentials; an empty PSK continues to request the
stored secret. (#505)
Fixed
settings when constructing or decoding NetworkManager payloads. (#505)
removing newly created profiles whose fresh authentication fails. (#505)
NetworkManager failure reasons instead of reporting false timeouts. (#505)
enumerated connection object while its properties are being read. (#505)
the documented
Network::devicecontract. (#505)Unavailablestate while a managedWi-Fi radio recovers from a rfkill transition. (#505)
handle concurrent same-key requests, cancellation, closed responders, and
bounded-queue backpressure without false cancellation or hangs. (#505)
NetworkManager veth devices as wired Ethernet for selection and reporting. (#505)
decoding, error reporting, and temporary-file cleanup. (#505)
v3.4.0Compare Source
Added
MonitorHandlereturned bymonitor_network_changesandmonitor_device_changesfor graceful shutdown (#461)NetworkManager::dbus_connection()andnmrs::raw(zbus/zvariantre-exports) for advanced builder workflows (#462)NetworkManager::add_connection()andNetworkManager::add_and_activate_connection()for submitting builder output without custom zbus proxies (#260, #465)add_connection(), andadd_and_activate_connection()(#462)Fixed
monitor_network_changesnow detects hotplugged Wi-Fi devices instead of only monitoring devices present at startup (#461)Ok(())on clean shutdown instead of always returningErr(Stuck(...))(#461)Changed
monitor_network_changesandmonitor_device_changesnow returnResult<MonitorHandle>instead ofResult<()>(#461)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.