Skip to content

Bump Tmds.DBus.Protocol from 0.21.3 to 0.94.1#45

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/Tmds.DBus.Protocol-0.94.1
Open

Bump Tmds.DBus.Protocol from 0.21.3 to 0.94.1#45
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/Tmds.DBus.Protocol-0.94.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 30, 2026

Copy link
Copy Markdown
Contributor

Updated Tmds.DBus.Protocol from 0.21.3 to 0.94.1.

Release notes

Sourced from Tmds.DBus.Protocol's releases.

0.94.1

Tmds.DBus.Generator

  • Fixed DBusHandler code only being generated for the last interface when generating handler types for multiple interfaces (#​445).

0.94.0

Tmds.DBus.Protocol

  • Func<ValueTask> handler overloads added to avoid async void in user code (#​440).

Tmds.DBus.Generator

  • [Breaking] IReadableXxxProperties has been replaced with a unified IXxxProperties interface. Write-only properties are uncommon and the separate interface made explicit interface implementations more verbose (#​441).
  • Fix code generation for single-field D-Bus structs (#​439).
  • DBusHandler.ParseInterface now ignores missing interface string on Properties requests (#​442).

Documentation

  • Documentation rewritten into a single guide (#​443).

0.93.0

0.93.0

Tmds.DBus.Protocol

  • [Breaking] Previously obsoleted types and APIs have been removed (#​426):
    • Connection - use DBusConnection instead.
    • ConnectionOptions - use DBusConnectionOptions instead.
    • ClientConnectionOptions - use DBusConnectionOptions instead.
    • ClientSetupResult - use DBusConnectionOptions.SetupResult instead.
    • Address - use DBusAddress instead.
    • ActionException - use ObserverHandler instead.
    • IMethodHandler - use IPathMethodHandler instead.
    • DBusException - use DBusErrorReplyException instead.
    • DisconnectedException - use DBusConnectionClosedException instead.
    • ConnectException - use DBusConnectFailedException instead.
    • ProtocolException - use DBusUnexpectedValueException instead.
    • MethodContext.Connection - use MethodContext.DBusConnection instead.
  • AddMatchAsync overloads that accept Action<Exception?, T, object?, object?> are marked Obsolete. Use the new Action<Notification<T>> overloads instead (#​427).
  • Notification<T> / Notification / NotificationType: new callback API for signal observers, replacing the Action<Exception?, T, ...> pattern. Notifications distinguish between value, owner change, and completion events (#​427).
  • NameOwnerWatcher: tracks name ownership changes when calling methods and watching signals, enabling detection of service restarts. A DBusOwnerChangedException
    is thrown when a method call targets an owner identifier from NameOwnerWatcher and the owner has changed (#​425).
  • OnException handler on DBusConnectionOptions: provides exception reporting and disconnect control via the new ExceptionContext / ExceptionSource types (#​431).

Tmds.DBus.Generator

  • The generator can now produce handler (server-side) types for implementing D-Bus interfaces. To generate handlers, set the DBusGeneratorMode property to Handler, to generate proxies set it to Proxy. (#​429, #​433)
  • [Breaking] Instead of a single action overload that accepts Action<Exception?, T>, the generator generates a simple overload that accepts Action<T> for users that are not interested in completion notifications, and an Action<Notification<T>> overload to be notified of completions. (#​427)
  • [Breaking] To enable handler code to generate an IXxxProperties interface, the generated proxy code changed as follows:
    • The GetPropertiesAsync method now returns the concrete XxxProperties class. When trying to get properties that were not set the get accessor throws. Alternatively, users can call GetNullablePropertiesAsync which returns an INullableXxxProperties interface which returns null for properties that are not set.
    • The WatchPropertiesChanged methods use a new IChangedXxxProperties interface.

0.92.0

This release addresses vulnerabilities from malicious senders in Tmds.DBus and Tmds.DBus.Protocol:

  • Check the signal sender is the owner of the well-known name (fb41b95, b429873)
  • Prevent spilling of unix fds to the next message and limit the number to 16 per message (4800917, f90642d)
  • Prevent unhandled exceptions on SynchronizationContext due to a malformed body sent by a malicious sender. (f0d9d0b, a64b8b9)

Advisory: GHSA-xrw6-gwf8-vvr9

0.91.1

Tmds.DBus.Generator/Tmds.DBus.Tool:

0.91.0

Changes:

Bug fixes/improvements:

0.90.3

0.90.2

Tmds.DBus.Generator/Tmds.DBus.Tool:

0.90.1

Tmds.DBus.Generator:

0.90.0

Tmds.DBus.Protocol

This release does some refactoring which requires changes from the user. The version is binary compatible with the previous version. Obsolete attributes indicate what changes a user should make.

  • These types have been renamed to be less generic:
`Connection` -> `DBusConnection` (https://github.com/tmds/Tmds.DBus/pull/373)
`Address` -> `DBusAddress` (https://github.com/tmds/Tmds.DBus/pull/372)
`ActionException` -> `ObserverHandler` (https://github.com/tmds/Tmds.DBus/pull/371)

When you have code that requires the Connection type, you can call DBusConnection.AsConnection().

DBusExceptionBase
├── DBusConnectionException
│   ├── DBusConnectionClosedException
│   │   └── DisconnectedException (obsolete -> DBusConnectionClosedException)
│   └── DBusConnectFailedException
│       └── ConnectException (obsolete -> DBusConnectFailedException)
└── DBusMessageException
    ├── DBusReadException
    ├── DBusErrorReplyException
    │   └── DBusException (obsolete -> DBusErrorReplyException)
    └── DBusUnexpectedValueException
        └── ProtocolException (obsolete -> DBusUnexpectedValueException)

Behavioral changes:

New APIs:

Tmds.DBus.Generator

Documentation

... (truncated)

0.23.0

Tmds.DBus.Protocol:

  • Protocol: add hierarchical path support and improved async handling for method handling. (#​360)
  • Protocol: use non-blocking SynchronizationContext.Post instead of Send for callbacks. (#​361)

0.22.0

Tmds.DBus:

Tmds.DBus.Protocol:

Tmds.DBus.Tool:

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 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: Tmds.DBus.Protocol
  dependency-version: 0.94.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants