Debian Codegraph @

NEWS

raw
1 Python wrappers for libsystemd API
2
3 CHANGES WITH 235:
4
5 * Adapt the rename of systemd-activate to systemd-socket-activate
6 performed in systemd 230.
7
8 * Support for sd_listen_fds_with_names added in systemd 227.
9
10 * Support for sd_journal_get_cutoff_realtime_usec added in systemd
11 186.
12
13 * Make the Reader PY_SSIZE_T_CLEAN for py3.10 compatibility.
14
15 * id128: update for systemd-243 compatibility and other fixes.
16
17 * C syntax modernization. A minimum of C99 is assumed.
18
19 * Fix seek_realtime to work with timezone aware date on Python 3.
20
21 * journal: add namespace support.
22
23 * Fixes for memory leaks and documentation.
24
25 * Support for Python 2 will be removed after this release.
26
27 Contributions from: Alexander Olekhnovich, Andrew Stone,
28 Architector #4, Chris Mullins, Dan Bungert, Dominik Prien,
29 Federico Ceratto, Frantisek Sumsal, Glandos, Hendrikto, Khem
30 Raj, Léonard Gérard, Marcel Waldvogel, Marco Paolini, Samuel
31 BF, Tamaki Nishino, Tim Orling, Tomasz Meresiński, Zbigniew
32 Jędrzejewski-Szmek, ytyt-yt
33
34 CHANGES WITH 234:
35
36 * Support for the new sd_is_socket_sockaddr added in systemd 233
37 is added.
38
39 * New id128 constants added in systemd 233 are included.
40
41 * "Extra" fields for the log entry can be passed during
42 LoggerAdapter initialization or for each message separately.
43 Fields specified for the message have higher priority.
44
45 * Small fixes and style tweaks all over.
46
47 Contributions from: Park Jeongsoo, Jimmy Cao, Johannes
48 Weberhofer, Mike Gilbert, Oleksii Shevchuk, Ville Skyttä,
49 Wesley Bowman, Zbigniew Jędrzejewski-Szmek
50
51 CHANGES WITH 233:
52
53 * Tests are fixed and should pass on various old and new
54 systems alike.
55
56 * journal.stream() can be used without arguments and defaults
57 to LOG_LEVEL.
58
59 Contributions from Robert James Hernandez,
60 Zbigniew Jędrzejewski-Szmek
61
62 CHANGES WITH 232:
63
64 * Wrappers for sd_journal_enumerate_unique, has_runtime_files,
65 has_peristent_files.
66
67 * sd_journal_open_directory_fd, sd_journal_open_files_fd can
68 be used by passing file descriptors to the initializer as
69 the path or files arguments.
70
71 SD_JOURNAL_OS_ROOT flag is supported, and various flags may
72 be passed to the constructor in combination with path or
73 files arguments. All flags arguments are now passed through
74 to the underlying libsystemd library functions, so which
75 combinations are supported depends on that library.
76 systemd 232 contains various fixes in this area.
77
78 Contributions from: Benedit Morbach, Michael Biebl,
79 Michael Herold, Mike Gilbert, Nir Soffer, Sebastian,
80 Ville Skyttä, Zbigniew Jędrzejewski-Szmek
81
82 CHANGES WITH 231:
83
84 * Various build fixes and cleanups: documentation can be
85 generated with 'make sphinx-html', pip install works out
86 of the box.
87
88 * Tests that cover most of the python code were added. As a
89 result, a bug in sd_is_mq was fixed in systemd 227.
90
91 * Functions sd_pid_notify and sd_pid_notify_with_fds are now
92 wrapped as optional arguments to notify(), when compiled
93 against a new-enough libsystemd.
94
95 Contributions from: David Strauss, Evgeny Vereshchagin,
96 Jacek Konieczny, Jeroen Dekkers, Zbigniew Jędrzejewski-Szmek
97
98 CHANGES WITH 230:
99
100 * python-systemd is again a separate project, after being part
101 of systemd for many years.
102
103 Contributions from: Dave Reisner, David Strauss,
104 Evgeny Vereshchagin, Greg KH, Harald Hoyer, Jacek Konieczny,
105 Jeroen Dekkers, Kay Sievers, Lennart Poettering, Lukas Nykryn,
106 Marti Raudsepp, Richard Marko, Simon Farnsworth,
107 Steven Hiscocks, Thomas Hindoe Paaboel Andersen, Ville Skyttä,
108 Zbigniew Jędrzejewski-Szmek