Skip to content

Bump Tmds.DBus from 0.14.0 to 0.95.1 - #54

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/Tmds.DBus-0.95.1
Closed

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 7, 2026

Copy link
Copy Markdown

Updated Tmds.DBus from 0.14.0 to 0.95.1.

Release notes

Sourced from Tmds.DBus's releases.

0.95.1

Tmds.DBus.Protocol:

0.95.0

Tmds.DBus.Generator

  • Use fully-qualified names to avoid conflicts with generated types (#​451).
  • Add Visibility attribute to control access modifiers of generated types (#​452).

0.94.2

Tmds.DBus.Generator

  • Support interfaces with more than 64 readable properties (#​447).

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:

0.21.3

This release backports the fixes from 0.92.0 to Tmds.DBus.Protocol.

Advisory: GHSA-xrw6-gwf8-vvr9

0.21.2

Tmds.DBus.Protocol:

0.21.1

Removes public API that was added in 0.21.0:

0.21.0

Tmds.DBus.Protocol

In v0.17.0 support for NativeAOT safe variant handling was enabled through two types: VariantValue for reading variants,
and Variant for writing variants. The focus on this release is to support both reading and writing using the VariantValue type.
This enables writing back variants that were previously read.

The Variant type has been marked obsolete. Users should now be able to use the VariantValue type as a direct replacement.
Note that the Dict/Array/Struct types are not obsolete. They can be used for creating composite VariantValues.

The VariantValue type now behaves different for variants that hold other variants. Such variants are not common because
usually a variant will directly hold an actual (that is: non-variant) value. Variants that hold other variants are represented
as their own VariantValue instance with a Type of Variant. The nested variant value can be obtained by calling GetVariantValue.

There are some additional breaking API changes which shouldn't affect most users because involve low-level APIs for D-Bus marshalling and signature handling.

  • The Utf8Span type has been removed. APIs use ReadOnlySpan<byte> instead.
  • VariantValue.GetSignature returns a Signature (instead of a string).
  • VariantValue.GetArray<T> requires a T of Signature (instead of a string) for getting arrays of signature.
  • Reader.ReadSignature returns Signature instead of Utf8Span. ReadSignatureAsSignature has been removed. The new ReadSignatureAsSpan returns ReadOnlySpan<byte>.

Tmds.DBus.Tool

The following fixes have been made to the codegen command for the protocol API (in tmds/Tmds.DBus#307):

  • Generate writable properties for Set-methods only.
  • PropertyChanges: invalidated and changed are swapped.

0.20.0

Tmds.DBus.Protocol:

Tmds.DBus:

0.19.0

Tmds.DBus.Protocol:

0.18.0

Tmds.DBus.Protocol:

Tmds.DBus:

0.17.0

Main feature:
The focus of this release is improve trimming/NativeAOT support in the protocol library. Non-compatible members have been annotated and obsoleted. The library adds AOT-friendly types for reading and writing variants: VariantValue and Variant.

Other changes:

0.16.0

0.15.0

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
  dependency-version: 0.95.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 Sep 7, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 24, 2026

Copy link
Copy Markdown
Author

Superseded by #64.

@dependabot dependabot Bot closed this Oct 24, 2026
@dependabot
dependabot Bot deleted the dependabot/nuget/Tmds.DBus-0.95.1 branch October 24, 2026 17:51
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