Skip to content

Releases: dbusjs/node-dbus-next

Version 0.10.2

10 Oct 00:49
Compare
Choose a tag to compare

This is a hotfix release for a bug in the system message bus.

  • Add default parameters object to system message bus constructor (#90)
  • Add missing flags to TypeScript definitions (#91)
  • Add parameters object to system bus TypeScript definitions (#92)

Version 0.10.1

19 Sep 19:10
Compare
Choose a tag to compare

This release includes bugfixes and new features.

  • Support negotiating Unix FDs (#67, #89)
  • Add noReply to MethodOptions interface in Type Definitions (#70)
  • Fix compatibility with buffer@4 (#71)
  • Init signals on ProxyObject creation (#86)

Version 0.9.2

21 Mar 15:28
Compare
Choose a tag to compare

This release includes two bugfixes.

  • service: Fix duplicate paths in xml introspection (#62)
  • client: Fix a bug where signal handlers were run multiple times (#64)

Version 0.9.1

18 Aug 21:50
Compare
Choose a tag to compare

This release includes some bug fixes, new features, and a semi-breaking change.

  • (semi-breaking) Make type ay a buffer. This is different from previous behavior, but it is in line with the documentation from the beginning of the project. (#57)
  • service: Add support for no reply methods (#50)
  • fix syntax for tcp addresses (#51)
  • Add typescript bindings for bus events (#58)
  • bug: property getter executed when using configureMembers (#60)
  • Improve code generators (#52)
  • Avoid JSBI code paths when BigInt compatibility mode is not on (this should help a bit in webpack environments) (f1e2b4a)

Version 0.8.2

07 Feb 15:24
Compare
Choose a tag to compare

This release includes some bug fixes.

  • Include the TypeScript typings file in the package (#44)
  • Add some fixes for TypeScript types (#45, #46, #47)
  • Support unmarshalling messages in big endian (#36, #48)

Version 0.8.1

29 Nov 18:26
Compare
Choose a tag to compare

This release contains bugfixes and new features.

  • Update repository url to dbusjs org.
  • Fix memory leak for high level client signal match rules. (#39, #40)
  • Init proxy objects from xml string to avoid extra introspection. (4518825)
  • Add configureMembers to service interface as an alternative to decorators. (#32)
  • Allow async methods in the service interface. (#33)
  • Add TypeScript typings. (#28, #34)
  • Bugfix: correctly unmarshal unix socket 'h' type. (#35)
  • Support DBus monitor clients. (#41, #42)

Version 0.7.1

02 Jun 13:32
Compare
Choose a tag to compare

This release contains breaking changes, bugfixes, and features.

  • Fix bus name validator for ProxyObject (#27)
  • Move all constants to enum classes (breaking)
  • Remove the Name class (breaking) (#22)
  • Remove the NameExistsError (breaking)
  • Enable TCP support (#26)
  • Use nornagons put fork

Version 0.6.1

12 Apr 14:23
Compare
Choose a tag to compare

This release contains new major features.

  • Redesign, expose, and add tests for the low-level api (#20)
  • Add reply info to DBusError for the client (#21)
  • Add the dbus-next-send.js script to demonstrate the low-level api.

For more information on the low-level api, see the documentation for the new
classes and members.

  • Message class - Represents a DBus message for sending or receiving messages on the bus.
  • MessageBus#call() - Send a method call message on the bus and wait for a reply.
  • MessageBus#send() - Send a message on the bus.
  • MessageBus#newSerial() - Get a serial for sending the message.
  • MessageBus#addMethodHandler() - Add a custom method handler for messages.
  • MessageBus#removeMethodHandler() - Remove a method handler.

The MessageBus has gained the following events:

  • connect - Emitted after the bus has connected.
  • message - Emitted when a message is received on the bus.

Version 0.5.1

04 Apr 15:11
Compare
Choose a tag to compare

This release contains some import bugfixes, features, and breaking changes. The
service interface has been upgraded to "somewhat stable".

  • Use an ES2015 class for the MessageBus.
  • Make the low level interface private for now. (breaking, ref #20).
  • Document the public api and make everything not documented private (breaking, #10).
  • Remove tcp message bus support (breaking).
  • Forward connection errors to the MessageBus.
  • Make interfaces member of the ProxyObject a map from interface names to ProxyInterfaces (breaking).
  • ProxyObject#getInterface now throws an error if the interface is not found (breaking).

Version 0.4.2

30 Mar 16:48
Compare
Choose a tag to compare

This release contains some important bugfixes and features.

  • Gracefully handle user errors in services by returning the error to the client. (#11)
  • Remove the old high-level interfaces. (#15)
  • Implement org.freedesktop.DBus.Peer for clients. (#16)
  • Cache name owners and discriminate signals on owner (fixes a lot of mpris-service test errors).
  • Clean up a lot of dead code.