Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 12, 2025

Updated MQTTnet from 4.3.1.873 to 5.0.1.1416.

Release notes

Sourced from MQTTnet's releases.

5.0.1

! Read the migration guide (https://github.com/dotnet/MQTTnet/wiki/Upgrading-guide) before migrating to version 5!

Changes

  • Memory usage optimizations (thanks to @​mregen)
  • Performance optimizations (thanks to @​mregen)
  • Removal of no longer supported .NET Frameworks (BREAKING CHANGE)
  • Changed code signing and nuget certificate
  • Namespace changes (BREAKING CHANGE)
  • Removal of Managed Client (BREAKING CHANGE)
  • Fixed missing release notes in nuget packages.
  • Client: MQTT 5.0.0 is now the default version when connecting with a server (BREAKING CHANGE)
  • Client: Fixed enhanced authentication.
  • Client: Exposed WebSocket compression options in MQTT client options (thanks to @​victornor, #​2127)
  • Server: Fixed enhanced authentication.
  • Server: Set default for "MaxPendingMessagesPerClient" to 1000 (BREAKING CHANGE)
  • Server: Set SSL version to "None" which will let the OS choose the version (BREAKING CHANGE)
  • Server: Added API for getting a single session (thanks to @​AntonSmolkov, #​2131)
  • Server: Fixed "TryPrivate" (Mosquitto feature) handling (thanks to @​victornor, #​2125) (BREAKING CHANGE)
  • Server: Fixed dead lock when awaiting a packet transmission but the packet gets dropped due to quotas (#​2117, thanks to @​AntonSmolkov)

5.0.0

! Read the migration guide (https://github.com/dotnet/MQTTnet/wiki/Upgrading-guide) before migrating to version 5!

Changes

  • Memory usage optimizations (thanks to @​mregen)
  • Performance optimizations (thanks to @​mregen)
  • Removal of no longer supported .NET Frameworks (BREAKING CHANGE)
  • Changed code signing and nuget certificate
  • Namespace changes (BREAKING CHANGE)
  • Removal of Managed Client (BREAKING CHANGE)
  • Client: MQTT 5.0.0 is now the default version when connecting with a server (BREAKING CHANGE)
  • Client: Fixed enhanced authentication.
  • Client: Exposed WebSocket compression options in MQTT client options (thanks to @​victornor, #​2127)
  • Server: Set default for "MaxPendingMessagesPerClient" to 1000 (BREAKING CHANGE)
  • Server: Set SSL version to "None" which will let the OS choose the version (BREAKING CHANGE)
  • Server: Fixed enhanced authentication.
  • Server: Set default for "MaxPendingMessagesPerClient" to 1000 (BREAKING CHANGE)
  • Server: Set SSL version to "None" which will let the OS choose the version (BREAKING CHANGE)
  • Server: Added API for getting a single session (thanks to @​AntonSmolkov, #​2131)
  • Server: Fixed "TryPrivate" (Mosquitto feature) handling (thanks to @​victornor, #​2125) (BREAKING CHANGE)

5.0.0-rc1

! Read the migration guide (https://github.com/dotnet/MQTTnet/wiki/Upgrading-guide) before migrating to version 5!

Changes

  • Memory usage optimizations (thanks to @​mregen)
  • Performance optimizations (thanks to @​mregen)
  • Removal of no longer supported .NET Frameworks (BREAKING CHANGE)
  • Changed code signing and nuget certificate
  • Namespace changes (BREAKING CHANGE)
  • Removal of Managed Client (BREAKING CHANGE)
  • Client: MQTT 5.0.0 is now the default version when connecting with a server (BREAKING CHANGE)

4.3.7.1207

  • Core: Fixed issue when parsing AUTH packet with 0 length body (#​2039).
  • nuget: Changed code signing and nuget certificate (BREAKING CHANGE).
  • TopicTemplates: Updated samples, parameter validation (#​2022).
  • ManagedClient: Switch SubscribeAsync/UnsubscribeAsync to IEnumerable (#​2026).
  • Server: Fix LoadingRetainedMessageAsync not executed (#​2025).

4.3.6.1152

  • [Client] Restored Server and Port behavior of client options (#​2005).

4.3.5.1141

  • [Client] Fix None of the discovered or specified addresses match the socket address family. (#​1997).
  • [Client] Remove the obsolete attribute from the WithConnectionUri methods (#​1979).

4.3.4.1084

  • [Core] Optimized packet serialization of PUBACK and PUBREC packets for protocol version 5.0.0 (#​1939, thanks to @​Y-Sindo).
  • [Core] The package inspector is now fully async (#​1941).
  • [Client] Added a dedicated exception when the client is not connected (#​1954, thanks to @​marcpiulachs).
  • [Client] The client will now throw a MqttClientUnexpectedDisconnectReceivedException when publishing a QoS 0 message which leads to a server disconnect (BREAKING CHANGE!, #​1974, thanks to @​fazho).
  • [Client] Exposed the certificate selection event handler in client options (#​1984).
  • [Server] The server will no longer send NoMatchingSubscribers when the actual subscription was non success (#​1965, BREAKING CHANGE!).
  • [Server] Fixed broken support for null in AddServer method in ASP.NET integration (#​1981).
  • [ManagedClient] Added a new event (SubscriptionsChangedAsync) which is fired when a subscription or unsubscription was made (#​1894, thanks to @​pdufrene).
  • [ManagedClient] Fixed race condition when server shuts down while subscribing (#​1987, thanks to @​marve).
  • [TopicTemplate] Added new extension which provides a template engine for topics (#​1932, thanks to @​simonthum).

4.3.3.952

  • [Server] Added new events for delivered and dropped messages (#​1866, thanks to @​kallayj).
  • [Server] The server will no longer treat a client which is receiving a large payload as alive. The packet must be received completely within the keep alive boundaries (BREAKING CHANGE!, #​1883).
  • [Server] Fixed "service not registered" exception in ASP.NET integration (#​1889).

4.3.2.930

  • [Client] Added support for custom CA chain validation (#​1851, thanks to @​rido-min).
  • [Client] Fixed handling of unobserved tasks exceptions (#​1871).
  • [Client] Fixed not specified ReasonCode when using SendExtendedAuthenticationExchangeDataAsync (#​1882, thanks to @​rido-min).
  • [Server] Fixed not working UpdateRetainedMessageAsync public api (#​1858, thanks to @​kimdiego2098).
  • [Server] Added support for custom DISCONNECT packets when stopping the server or disconnect a client (BREAKING CHANGE!, #​1846).
  • [Server] Added new property to stop the server from accepting new connections even if it is running (#​1846).

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: MQTTnet
  dependency-version: 5.0.1.1416
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/nuget/future/MQTTnet-5.0.1.1416 branch from 47cb069 to 5f0c04a Compare September 18, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants