We annotate all changes here, keep in mind that the high version may not be the one you find pypi, but its the one in development.
- add initial support for python 3.7
- added options StandardOutputFile, StandardOutputFileToAppend, StandardErrorFile and StandardErrorFileToAppend to known unit signatures.
- Added type stubs for
pystemd.daemon
- Modify README to show the right systemd min version.
- Added
pystemd.journal
with methodslog
andsendv
. - Added
booted
support inpystemd.daemon
to know if a system was booted with systemd. - allow None (translated to NULL) options in DBUS.match_signal.
- Added
address
option topystemd.run
to support custom dbus addresses. - Added
socket
options to unit_signatures, now we can create transient sockets.
- Improve in-repo docs.
- changed license from BSD to LGPL-2.1+.
- Raise
DBusInterruptedError
instead ofDBusBaseError
when a system call is interrupted. - expose sd_bus_match_signal as Dbus.match_signal for easy monitoring of the bus.
- Drop python 2 support and six requirement.
- Auto convert Path object to bytes so that can be passed to dbus.
- Add service_type to pystemd.run for easy Type selection.
- Many new DBus properties.
- access interface methods and properties directly.
- systemd1.Manager.StartTransientUnit now support extra units, allowing users to also create timer/path transient units.
- pystemd.run now waits for start unit job to finish, before even thinking in tearing down the unit (and closing pty's)
- Add
StandardInputData
,TemporaryFileSystem
,RuntimeMaxSec
,WatchdogUSec
andWatchdogSec
to unit definition, so they can be used withpystemd.run
. pystemd.run
always returns a unit.Delegate
andJoinsNamespaceOf
are also added to unit definition.- Fix memory leak in path_encode, dbus termination and call_method.
- Add raise_on_fail to
pystemd.run
to raise a error when unit exit with non-zero status. - change on error when property provided to
dbus.call_method
is not the right type, still much work to do here. - added pystemd.daemon.notify as interface to sd_notify.
- added pystemd.daemon.listen_fds as interface to sd_listen_fds.
- added pystemd.daemon.watchdog_enabled as interface to sd_watchdog_enabled.
- Allow non cython-defined methods to accept regular string instead of bytes.
- Add CODE_OF_CONDUCT.md .
- first public release