Release notes¶
0.4.3¶
The blocking integration now throws
ConnectionResetError
on all systems when the connection was closed from the other end. It would previously hang on some systems.
0.4.2¶
The blocking
DBusConnection
integration class now has a.close()
method, and can be used as a context manager:from jeepney.integrate.blocking import connect_and_authenticate with connect_and_authenticate() as connection: ...
0.4.1¶
Avoid using
asyncio.Future
for the blocking integration.Set the ‘destination’ field on method return and error messages to the ‘sender’ from the parent message.
Thanks to Oscar Caballero and Thomas Grainger for contributing to this release.
0.4¶
Authentication failures now raise a new
AuthenticationError
subclass ofValueError
, so that they can be caught specifically.Fixed logic error when authentication is rejected.
Use effective user ID for authentication instead of real user ID. In typical use cases these are the same, but where they differ, effective uid seems to be the relevant one.
The 64 MiB size limit for an array is now checked when serialising it.
New function
jeepney.auth.make_auth_anonymous()
to prepare an anonymous authentication message. This is not used by the wrappers in Jeepney at the moment, but may be useful for third party code in some situations.New examples for subscribing to D-Bus signals, with blocking I/O and with asyncio.
Various improvements to documentation.
Thanks to Jane Soko and Gitlab user xiretza for contributing to this release.