PackageTrack
Sign in Get early access

dbus

A native Dart implementation of the D-Bus message bus client. This package allows Dart applications to directly access services on the Linux desktop.

0.7.15 5.8M downloads/mo #131 most downloaded on pub.dev canonical/dbus.dart

What this package is like to depend on

Last release 4 days ago

20 Aug 2026

Release timing varies

gaps range from 2 weeks to 1.2 years

Nearly every release is documented

notes for 49 of 49 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

62 releases · first in 2020

4 releases in the last 12 months

see the full history below

Release timeline

62 releases · Aug 2020 to Aug 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 62
  1. 0.7.15 20 Aug 2026
    Release notes
    • Support both XML 6.x and 7.x
    Open source →
  2. 0.7.14 04 Jun 2026
    Release notes
    • Drop xml dependency to 6.6.1, which is the version that Flutter is using.
    Open source →
  3. 0.7.13 22 May 2026
    Release notes
    • Make able to work on Windows by not supporting control messages there (they are not supported).
    • Depend on xml 7.x.
    Open source →
  4. 0.7.12 05 Feb 2026
    Release notes
    • Fix removed objects remaining in memory.
    • Throw an explicit Dart error when running on non-Linux systems.
    • Update SDK constraint to allow Dart 3.0
    Open source →
  5. 0.7.11 19 Jan 2025
    Release notes
    • Work around a dbus-broker bug with path_namespace='/' match rules.
    • Optionally pass auth client to dbus client.
    Open source →
  6. 0.7.10 16 Nov 2023
    Release notes
    • Fix generated code that uses DBusObjectPath.
    • Add further fix for generated DBusStruct code.
    • Import dart:io in generated code, required for file descriptors.
    Open source →
  7. 0.7.9 16 Nov 2023
    Release notes
    • Support unix fds in code generator.
    • Support using D-Bus without a D-Bus message bus (i.e. point to point).
    • Fix generated code that uses DBusStruct.
    Open source →
  8. 0.7.8 22 Aug 2022
    Release notes
    • Add helper methods for unix fd arrays.
    Open source →
  9. 0.7.7 20 Jul 2022
    Release notes
    • Use contents of DBusStruct/Array/Dict for hash codes.
    Open source →
  10. 0.7.6 27 Jun 2022
    Release notes
    • Add helper methods to DBusValue to reduce casting.
    • Add helper methods for boolean arrays.
    Open source →
  11. 0.7.5 30 May 2022
    Release notes
    • depends on ffi 2.x
    Open source →
  12. 0.7.4 26 May 2022
    Release notes
    • Depend on xml 6.x
    Open source →
  13. 0.7.3 28 Mar 2022
    Release notes
    • Add missing cast in generated array code.
    • Use const constructors for integer value types.
    • Add DBusObjectPath.root constant.
    Open source →
  14. 0.7.2 21 Mar 2022
    Release notes
    • Add helper methods to map DBusArray and DBusDict.
    • Add some convenience for working with D-Bus signatures.
    • Use Object.hash for hashCode calculations.
    Open source →
  15. 0.7.1 07 Feb 2022
    Release notes
    • Only list as supporting Linux and Windows.
    • Make a DBusArray.signature constructor.
    • Fix type in generated code for D-Bus signatures.
    Open source →
  16. 0.7.0 01 Feb 2022
    Release notes
    • DBusSignalStream is now broadcast.
    • Add support for sending/receiving unix file descriptors.
    • Ensure a signal stream doesn't get recorded multiple times if listen() is called more than once.
    Open source →
  17. 0.6.8 13 Jan 2022
    Release notes
    • Fix missing semicolon on generated server property code.
    • Fix generated server getAllProperties code.
    Open source →
  18. 0.6.7 13 Jan 2022
    Release notes
    • Fix exception when closing clients that have signals subscribed.
    • Fix arrays of signatures not being correctly aligned.
    • Fix invalid TimedOut exception name, and fix confusion with Timeout exception.
    • Use DBusDict.stringVariant constructor in generated code.
    • Don't generate empty methods in generated server code.
    • Fix DBusMethodErrorResponse.toString typo.
    • Improve match rule validation.
    • Fix documentation for DBusBusName.isUnique.
    • Test improvements.
    Open source →
  19. 0.6.6 19 Nov 2021
    Release notes
    • Remove unawaited calls that were making a depdendency on dart:async 2.14. This occurred after dropping pedantic in 0.6.4
    Open source →
  20. 0.6.5 17 Nov 2021
    Release notes
    • Fix invalid introspection generation for annotations.
    Open source →
  21. 0.6.4 15 Nov 2021
    Release notes
    • Fix generated code not using named constructor args.
    • Make generated signal streams broadcast.
    • Fix README.md example to use current API.
    • Drop dependency on deprecated pedantic plugin.
    Open source →
  22. 0.6.3 09 Sep 2021
    Release notes
    • Fix ObjectManager still reporting unregistered objects.
    • Fix incorrect introspection data for ObjectManager.
    • Use FormatException for DBusAddress invalid format strings.
    • Improvements to DBus address string escaping.
    • Fix wrong ID returned from getId in DBusServer.
    Open source →
  23. 0.6.2 08 Sep 2021
    Release notes
    • Make classes for standard D-Bus exceptions.
    • Handle exceptions on socket read/writes.
    • Add DBusClient.nameOwnerChanged signal stream.
    • D-Bus server now cleans up when clients disconnect from it.
    • Fix wrong error returned from D-Bus server when accessing unknown service.
    Open source →
  24. 0.6.1 02 Sep 2021
    Release notes
    • Fix not everything being cleaned up when calling DBusServer.close().
    • Correctly clean up in tests.
    Open source →
  25. 0.6.0 23 Aug 2021
    Release notes
    • Make emitSignal async, fixing an issue where signals from a method call may be handled after the call completes.
    • Use named parameters in object constructors.
    Open source →
  26. 0.5.6 17 Aug 2021
    Release notes
    • Fix default system bus address - it is /var/run, not /run.
    Open source →
  27. 0.5.5 16 Aug 2021
    Release notes
    • Fix JS compilation due to large integer literals.
    • Fix D-Bus message serial numbers being mixed up on connection, which was causing apps to fail inside Flatpaks.
    • Implement D-Bus authentication on Windows.
    Open source →
  28. 0.5.4 14 Jul 2021
    Release notes
    • Fix validation of maybe type.
    • Use type specific constructors in DBusArray.toString() and DBusDict.toString().
    Open source →
  29. 0.5.3 13 Jul 2021
    Release notes
    • Improve efficiency of DBusReadBuffer.
    • Add DBusMaybe type (not used in D-Bus, but used in other code that used GVariant).
    • Move DBusDict key checks to D-Bus en/decoding - GVariant code that uses dicts is allowed more key types.
    Open source →
  30. 0.5.2 08 Jun 2021
    Release notes
    • Support abstract unix domain addresses (requires Dart >= 2.14.0-170.0.dev).
    • Fix message type not being written in DBusMessage.toString().
    Open source →
  31. 0.5.1 26 May 2021
    Release notes
    • Replace Iterable with List for children in DBusArray, DBusStruct.
    • Add a signature check to DBusSignalStream/DBusRemoteSignalStream.
    • Validate signatures of DBusDict and DBusArray.
    • Send no reply flag in generated code with the org.freedesktop.DBus.Method.NoReply annotation.
    • Add noAutoStart and allowInteractiveAuthorization flags to generated method calls.
    Open source →
  32. 0.5.0 17 May 2021
    Release notes
    • Make callMethod always return success and throw an exception on error.
    • Add a response signature check parameter to method calls and getting properties.
    • Fix equality operators for DBusStruct, DBusArray and DBusDict.
    • Use DBusStruct class in generated code.
    • Replace simple exceptions with ArgumentError/FormatException where appropiate.
    • Validate D-Bus integer values.
    • Add more validation for DBusSignature, DBusObjectPath.
    • Validate more introspection XML.
    • Break out code generation from dart-dbus to classes.
    • Allow dart-dbus to read introspection XML from stdin.
    • Rename test file so can just run 'dart test'.
    • Add test for basic DBus types.
    • Add tests for generted code.
    • Add test for introspection XML parsing.
    Open source →
  33. 0.4.3 23 Apr 2021
    Release notes
    • Fix a race unsubscribing from signals which could trigger an exception if a DBusClient was closed very soon after creation or signal subscription.
    Open source →
  34. 0.4.2 22 Apr 2021
    Release notes
    • Add DBusArray factories for object paths and variants.
    • Add DBusDict factory for the common string→variant mapping.
    Open source →
  35. 0.4.1 22 Apr 2021
    Release notes
    • Add DBusArray factories to create common simple arrays.
    Open source →
  36. 0.4.0 13 Apr 2021
    Release notes
    • Change DBusObject.path from a property to a constructor.
    • Replaced DBusClient.subscribeSignals/DBusRemoteObject.subscribeSignal with new DBusSignalStream and DBusRemoteObjectSignalStream classes.
    • Added DBusRemoteObjectManager class for easier use of D-Bus ObjectManager API.
    • Fixed error messages in code generated by dart-dbus.
    • Make able to disable introspection on exported objects.
    • Fixed PropertiesChanged signal detection broken in 0.3.0.
    Open source →
  37. 0.3.3 29 Mar 2021
    Release notes
    • Fix DBusServer matching signals subscriptions with owned names
    Open source →
  38. 0.3.2 28 Mar 2021
    Release notes
    • Support building in Flutter web applications by conditionally importing dart:ffi.
    Open source →
  39. 0.3.1 26 Mar 2021
    Release notes
    • server: Fix messages not being forwarded to clients with owned names.
    • Convert some inputs from List to Iterable
    Open source →
  40. 0.3.0 26 Mar 2021
    Release notes
    • DBusClient.registerObject now connects to the bus if it was disconnected.
    • Add DBusMethodCall object to use when processing incoming method calls.
    • Add signature checking on incoming method calls.
    • Improve validation of D-Bus messages.
    • Support messages received in big endian format
    • Make DBusServer able to launch services by name.
    • Support getting credentials of connections.
    • Add flags (no reply, no autostart, allow interactive authorization) to method calls.
    • Don't reply to requests if no reply was requested.
    • Use DBusAddress class for addresses.
    • Support connecting over TCP/IP.
    • Fix invalid unique bus names assigned by DBusServer.
    • Implement name queuing in DBusServer.
    • Make ping() and getMachineId() contact the server by default.
    • Add regression tests.
    Open source →
  41. 0.2.5 15 Mar 2021
    Release notes
    • Fixed namespace matching not working for the root namespace, could cause signals to be incorrectly subscribed.
    • Added DBusServer.
    Open source →
  42. 0.2.4 11 Mar 2021
    Release notes
    • Fix regression subcribing to signals introduced in 0.2.1.
    Open source →
  43. 0.2.3 10 Mar 2021
    Release notes
    • Fix DBusClient blocking when cancelling signal streams.
    Open source →
  44. 0.2.2 10 Mar 2021
    Release notes
    • Fix regression in matching signals using pathNamespace, which affects ObjectManager usage.
    • Code tidy ups to pass dart analyze in 1.12 final release.
    Open source →
  45. 0.2.1 23 Feb 2021
    Release notes
    • Use a meta version that works with the Dart 1.12 SDK.
    Open source →
  46. 0.2.0 18 Feb 2021
    Release notes
    • Add null safety support
    Open source →
  47. 0.1.2 18 Feb 2021
    Release notes
    • Ensure generated classes don't collide method/arg names.
    • Add API to get owned names and subscribe to changes.
    • Allow the class name to be provided for generated code.
    • Generate a required parameter if D-Bus introspection doesn't contain a path.
    • Implement DBusCkient.listQueuedOwners().
    Open source →
  48. 0.1.1 10 Feb 2021
    Release notes
    • Fix DBusClient blocking on close
    Open source →
  49. 0.1.0 29 Oct 2020
    Release notes
    • Initial release
    Open source →
  50. 0.0.0-dev.23 28 Oct 2020 pre-release

    Nothing published for this version

  51. 0.0.0-dev.22 20 Oct 2020 pre-release

    Nothing published for this version

  52. 0.0.0-dev.21 05 Oct 2020 pre-release

    Nothing published for this version

  53. 0.0.0-dev.20 14 Sep 2020 pre-release

    Nothing published for this version

  54. 0.0.0-dev.19 31 Aug 2020 pre-release

    Nothing published for this version

  55. 0.0.0-dev.18 27 Aug 2020 pre-release

    Nothing published for this version

  56. 0.0.0-dev.17 27 Aug 2020 pre-release

    Nothing published for this version

  57. 0.0.0-dev.16 27 Aug 2020 pre-release

    Nothing published for this version

  58. 0.0.0-dev.15 21 Aug 2020 pre-release

    Nothing published for this version

  59. 0.0.0-dev.14 20 Aug 2020 pre-release

    Nothing published for this version

  60. 0.0.0-dev.13 19 Aug 2020 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive