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.
- adding coverage information
- changes tests to pystes
- adding support for pyproject.toml
- adding extra properties for unit
- initial support for pystemd.futures
- native support for stop_cmd, (pre|post)_start_cmd and post_stop_cmd in pystemd.run.
- adding lxml as a dependency.
- drop support for python 3.4 and 3.5 (yey welcome f-strings)
- change using select.select to use DefaultSelector in pystemd.run
- support for interactive auth.
- add initial support for Python 3.9
- include .pxd and .pxi files in the source distribution
- add initial support for python 3.7 and 3.8
- added options StandardOutputFile, StandardOutputFileToAppend, StandardErrorFile and StandardErrorFileToAppend to known unit signatures.
- Added type stubs for
pystemd.daemon
,pystemd.dbuslib
,pystemd.systemd1.Unit
andpystemd.systemd1.Manager
because we still "support python 3.4. - fix issue when char is unsigned, and <char *> -1 returns 255.
- added
slice_
option to pystemd.run to specify the cgroup where the unit is created.
- 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