npm / dbus-native
dbus-native
What changed in dbus-native 0.13 to 0.16, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-10.
10 breaking10 new APIs and options1 performance3 behavior and defaults8 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initdbus-native 0.165 changes
New APIs and options 1
Bun gains a Unix transport that carries file descriptors.
Performance 1
Introspection XML loads with the first proxy rather than when the package loads.
Fixes and other changes 3
A failed Hello now closes the connection instead of crashing the process.
Calling unref() on a Bun transport connection lets the process exit.
Polling retries EINTR without limit, so a d-bus connection survives a GC-heavy script.
dbus-native 0.155 changes
Breaking changes 1
unixexec: addresses now read argv1, argv2, ... instead of arg1, arg2, ...; old spellings pass no arguments, while spec-conformant addresses now work.
Fixes and other changes 4
defineInterface refuses positional in/out rather than indexing them.
A message that cannot be written now settles its call once, preventing repeated settlement.
A bus keeps the options it was given and cannot be crashed by a path.
Exported signals follow the export and stop when it ends.
dbus-native 0.149 changes
Breaking changes 9
Use this command in place of the removed
dbus2jsbinary.The binary is removed; use
dbus-native typesinstead.The file is removed because it required a package that was never a dependency and threw on require.
The package is no longer a dependency; Long values are still accepted on input.
Node.js 22.12.0 or newer is required, up from 20.8.0.
Defaults to true, so variants read as their value and string-keyed dicts as plain objects.
Defaults to true, so
xandtvalues read as bigint; pass false for a lossy number.ReturnLongjs now throws instead of being ignored; pass returnBigInt: false for a lossy number.
Calls now reject with a TimeoutError after 25 seconds by default; set timeout to 0 to restore the old behavior or raise it for longer methods.
dbus-native 0.1313 changes
New APIs and options 9
Provides a live view of a service's object tree.
Exposes the remote object as an object.
Declares a service without positional arrays.
The library can serve org.freedesktop.DBus.ObjectManager.
Adds bounded proxy signals.
Adds bounded proxy watching.
Opt-in reconnect restores names and match rules.
UNIX_FD can be carried over a transport supplied by the caller.
The 'wrap' variant lets a variant carry its type without the tree.
Behavior and default changes 3
bus.close() is disposable.
bus.ownName() is disposable.
bus.watch() is disposable.
Fixes and other changes 1
The library no longer answers a method call addressed to someone else.