Revision history for Perl module Protocol::DBus
0.15
- BREAKING CHANGE: This module now expects and returns strings as
character-decoded. (Previously it did no encoding nor decoding.)
- BREAKING CHANGE: The “send_*” methods of Peer.pm and
EventMessenger.pm now all return promises.
- BREAKING CHANGE: send_call() no longer throws exceptions; all failure cases
are communicated as rejections of the returned promise.
- Add on_failure callback to event loop modules.
- Document “flags” parameter to send_call().
0.14 Wed 25 Mar 2020
- Clarify UTF-8 encoding requirement in documentation. (No code changes.)
0.13 Thu 12 Dec 2019
- Mojo connector now uses Mojo::Promise rather than Promise::ES6 and
exposes “*_p” aliases for initialize() and send_call().
0.12 Tue 20 Nov 2019
- Fix POD typo that misidentifies Mojo connector.
0.11 Mon 19 Nov 2019
- BUG FIX: initialize() now returns 1 after initial truthy return.
- Implement non-blocking connect().
- Add AnyEvent and IO::Async wrapper modules.
- Improve Peer.pm documentation.
0.10 Thu 16 May 2019
- Switch from Module::Load to Module::Runtime.
0.09 Sat 2 Mar 2019
- BREAKING CHANGE: send_call() no longer accepts “on_return”. Instead,
the method returns an instance of Promise::ES6. This affords more
flexibility than “on_return” and relieves callers of the responsibility
to determine whether the response succeeded or failed.
- Rename get_connection_name() to get_unique_bus_name(). (The former
name is retained as an alias.)
- Parser.pm now detects prematurely shut-down connections.
0.08 Wed 9 Jan 2019
- Document the send_return(), send_error(), and send_signal() methods.
- Switch to native byte order as default rather than little-endian.
0.07 Thu 20 Dec 2018
- Rename do_authn() to initialize(), and make it return falsy until the
“Hello” response arrives back. This removes the workflow state where
authn is done but the connection name is not yet established. I don’t
believe this should break anything since get_message() never actually
returned the “Hello” response.
- Rename authn_pending_send() to init_pending_send().
- Added DBUS_COOKIE_SHA1 authentication support.
- Implement fallback when server indicates authn mechanisms
besides EXTERNAL.
- EXTERNAL authn now attempts to auto-load Socket::MsgHdr except on
OSes (e.g., Linux, Cygwin) where it’s known not to make a difference.
- Fix parsing of DBus addresses
0.06 Sat 1 Dec 2018
- Socket::MsgHdr is no longer required.
- BREAKING CHANGE: Socket::MsgHdr must now be loaded prior to D-Bus
authentication in order for UNIX FD passing to work.
0.05 Thu 15 Nov 2018
- Add proper UNIX_FD support and an example of its use.
- Add preserve_variant_signatures() mode.
- Add send_signal() method.
- Update documentation, add README.md.
0.04 Wed 14 Nov 2018
- Fix DICT unmarshaling alignment.
- Add receive.pl example and two contributed ones.
0.03 Sun 11 Nov 2018
- Disable UNIX_FD stuff until it can be made to work.
0.02 Sun 11 Nov 2018
- Fix some examples, remove broken example script
0.01 Tue 2 Oct 2018
- Initial release