Debian Codegraph @

CHANGES.rst

raw
1 0.24.4
2 ======
3 Recommended development release: Fedora 41
4
5 - Add device attributes unset():
6 https://github.com/pyudev/pyudev/pull/525
7
8 - Remove license classifier deprecated by PEP 639:
9 https://github.com/pyudev/pyudev/pull/522
10
11 - Tidies and Maintenance:
12 https://github.com/pyudev/pyudev/pull/529
13 https://github.com/pyudev/pyudev/pull/528
14 https://github.com/pyudev/pyudev/pull/526
15 https://github.com/pyudev/pyudev/pull/524
16 https://github.com/pyudev/pyudev/pull/521
17 https://github.com/pyudev/pyudev/pull/520
18 https://github.com/pyudev/pyudev/pull/518
19 https://github.com/pyudev/pyudev/pull/512
20 https://github.com/pyudev/pyudev/pull/511
21
22 0.24.3
23 ======
24 Recommended development release: Fedora 40
25
26 0.24.2
27 ======
28 Recommended development release: Fedora 40
29
30 - Update release infrastructure:
31 https://github.com/pyudev/pyudev/pull/508
32
33 - Tidies and Maintenance:
34 https://github.com/pyudev/pyudev/pull/507
35 https://github.com/pyudev/pyudev/pull/506
36 https://github.com/pyudev/pyudev/pull/505
37 https://github.com/pyudev/pyudev/pull/503
38 https://github.com/pyudev/pyudev/pull/498
39 https://github.com/pyudev/pyudev/pull/497
40 https://github.com/pyudev/pyudev/pull/492
41 https://github.com/pyudev/pyudev/pull/491
42 https://github.com/pyudev/pyudev/pull/489
43
44
45 0.24.1
46 ======
47 Recommended development release: Fedora 37
48
49 - Add support for PySide6:
50 https://github.com/pyudev/pyudev/pull/487
51
52 - Add missing 'priority' argument for GLib.to_add_watch()
53 https://github.com/pyudev/pyudev/pull/479
54
55 - Tidies and Maintenance:
56 https://github.com/pyudev/pyudev/pull/486
57 https://github.com/pyudev/pyudev/pull/485
58 https://github.com/pyudev/pyudev/pull/484
59 https://github.com/pyudev/pyudev/pull/481
60 https://github.com/pyudev/pyudev/pull/480
61 https://github.com/pyudev/pyudev/pull/477
62 https://github.com/pyudev/pyudev/pull/474
63
64
65 0.24.0
66 ======
67 Recommended development release: Fedora 36
68
69 - Remove a bunch of Python 2 code:
70 https://github.com/pyudev/pyudev/pull/468
71 https://github.com/pyudev/pyudev/pull/460
72 https://github.com/pyudev/pyudev/pull/455
73 https://github.com/pyudev/pyudev/pull/358
74
75 - Tidies and Maintenance:
76 https://github.com/pyudev/pyudev/pull/471
77 https://github.com/pyudev/pyudev/pull/466
78 https://github.com/pyudev/pyudev/pull/465
79 https://github.com/pyudev/pyudev/pull/464
80 https://github.com/pyudev/pyudev/pull/462
81 https://github.com/pyudev/pyudev/pull/461
82 https://github.com/pyudev/pyudev/pull/459
83 https://github.com/pyudev/pyudev/pull/458
84 https://github.com/pyudev/pyudev/pull/456
85 https://github.com/pyudev/pyudev/pull/454
86 https://github.com/pyudev/pyudev/pull/447
87 https://github.com/pyudev/pyudev/pull/445
88
89
90 0.23.2
91 ======
92 Recommended development release: Fedora 35
93
94 - New release: 0.23.2:
95 https://github.com/pyudev/pyudev/pull/444
96
97 - Tidies and Maintenance:
98 https://github.com/pyudev/pyudev/pull/445
99 https://github.com/pyudev/pyudev/pull/443
100 https://github.com/pyudev/pyudev/pull/442
101
102
103 0.23.1
104 ======
105 Recommended development release: Fedora 34
106
107 - Update to version 0.23.1:
108 https://github.com/pyudev/pyudev/pull/440
109
110 - Check for existence of _hasattr attribute in Context.__del__ method:
111 https://github.com/pyudev/pyudev/issues/421
112 https://github.com/pyudev/pyudev/pull/439
113
114 - Tidies and Maintenance:
115 https://github.com/pyudev/pyudev/pull/438
116
117 0.23.0
118 ======
119 Recommended development release: Fedora 34
120
121 - Update to version 0.23.0:
122 https://github.com/pyudev/pyudev/pull/427
123
124 - Officially drop support for Python 2:
125 https://github.com/pyudev/pyudev/pull/414
126
127 - Remove external mock dependency:
128 https://github.com/pyudev/pyudev/pull/409
129
130 - Enable GLib unit tests:
131 https://github.com/pyudev/pyudev/pull/400
132
133 - Switch to new style gi.repository.GLib imports:
134 https://github.com/pyudev/pyudev/pull/399
135
136 - Tidies and Maintenance:
137 https://github.com/pyudev/pyudev/pull/432
138 https://github.com/pyudev/pyudev/pull/430
139 https://github.com/pyudev/pyudev/pull/429
140 https://github.com/pyudev/pyudev/pull/428
141 https://github.com/pyudev/pyudev/pull/424
142 https://github.com/pyudev/pyudev/pull/423
143 https://github.com/pyudev/pyudev/pull/418
144 https://github.com/pyudev/pyudev/pull/415
145 https://github.com/pyudev/pyudev/pull/413
146
147
148 0.22.0 (Jan, 2020)
149 ==================
150
151 - Add a six-enabled move for collections move imports:
152 https://github.com/pyudev/pyudev/pull/386
153 - Fix any newly introduced pylint errors
154 - Numerous improvements or updates to the test infrastructure
155 - A number of test updates
156 - Require yapf 0.21.0 for Python formatting
157 - Various documentation fixes and updates
158
159
160 0.21.0 (July 20, 2016)
161 ======================
162
163 - Deprecate use of Device object as mapping from udev property names to values.
164 - Add a Properties class and a Device.properties() method for udev properties.
165 - Fix places where Device object was incorrectly used in a boolean context.
166 - Return an empty string, not None, if the property value is an empty string.
167 - Exceptions re-raised from libudev calls now have a message string.
168 - Insert a warning about using a Device in a boolean context in docs.
169 - Infrastructure for vagrant tests is removed.
170 - Various internal refactorings.
171 - Extensive test improvements.
172 - Numerous documentation fixes.
173
174 0.20.0 (April 29, 2016)
175 =======================
176
177 - Remove parsing code added in previous release.
178 - No longer do CI for Python 2.6.
179 - Eliminate all wildcard imports and __all__ statements.
180 - No longer use deprecated Device.from_sys_path() method.
181 - Minor pylint induced changes.
182 - Documentation fixes.
183
184 0.19.0 (Feb 3, 2016)
185 ==================
186
187 - Restore raising KeyError by Attributes.as* methods when attribute not found.
188 - Explicitly require six module.
189 - Never raise a DeviceNotFoundError when iterating over a device enumeration.
190 - Device.subsystem() now returns None if device has no subsystem.
191 - Add DeprecationWarnings to deprecated Device methods.
192 - Replace "/" with "!" in Device.from_name() sys_name parameter.
193 - Add some unstable classes for parsing some kinds of values.
194 - Make version info more like Python's including micro numbers and levels.
195 - Refactor some internal modules into subdirectories.
196 - Work on tests and reproducers.
197
198 0.18 (Dec 1, 2015)
199 ===================
200
201 - DeviceNotFoundError is no longer a subtype of LookupError
202 - Added support for pyqt5 monitor observer
203 - Added discover module, which looks up a device on limited information
204 - Attributes class no longer extends Mapping, extends object instead
205 - Attributes class no longer inherits [] operator, Mapping methods
206 - Attributes class objects are no longer iterable
207 - Attributes.available_attributes property added
208 - Attributes.get() method, with usual semantics, defined
209 - Device.from_* methods are deprecated, uses Devices.from_* methods instead
210 - Device.from_device_file() now raises DeviceNotFoundByFileError
211 - Device.from_device_number() now raises DeviceNotFoundByNumberError
212 - Devices.from_interface_index() method added
213 - Devices.from_kernel_device() method added
214 - Numerous testing infrastructure changes
215
216 0.17 (Aug 26, 2015)
217 =====================
218
219 - #52: Remove global libudev object
220 - #57: Really start the monitor on :meth:`pyudev.Monitor.poll()`
221 - #60: Do not use :meth:`select.select` to avoid hitting its file descriptor
222 limit
223 - #58: Force non-blocking IO in :class:`pyudev.Monitor` to avoid blocking on
224 receiving the device
225 - #63: Set proper flags on pipe fds.
226 - #65: Handle irregular polling events properly.
227 - #50: Add :class:`pyudev.wx.MonitorObserver` and deprecate
228 :class:`pyudev.wx.WxUDevMonitorObserver`
229 - #50: Add :class:`pyudev.glib.MonitorObserver` and deprecate
230 :class:`pyudev.glib.GUDevMonitorObserver`
231 - #50: Add :class:`pyudev.pyqt4.MonitorObserver` and deprecate
232 :class:`pyudev.pyqt4.QUDevMonitorObserver`
233 - #50: Add :class:`pyudev.pyside.MonitorObserver` and deprecate
234 :class:`pyudev.pyside.QUDevMonitorObserver`
235 - Add a wrapper function to retry interruptible system calls.
236
237
238 0.16.1 (Aug 02, 2012)
239 =====================
240
241 - #53: Fix source distribution
242 - #54: Fix typo in test
243
244
245 0.16 (Jul 25, 2012)
246 ===================
247
248 - Remove :meth:`pyudev.Monitor.from_socket`.
249 - Deprecate :meth:`pyudev.Device.traverse()` in favor of
250 :attr:`pyudev.Device.ancestors`.
251 - #47: Deprecate :meth:`pyudev.Monitor.receive_device` in favor of
252 :attr:`pyudev.Monitor.poll`.
253 - #47: Deprecate :attr:`pyudev.Monitor.enable_receiving` in favor of
254 :attr:`pyudev.Monitor.start`.
255 - #47: Deprecate :attr:`pyudev.Monitor.__iter__` in favor of explicit looping or
256 :class:`pyudev.MonitorObserver`.
257 - #49: Deprecate ``event_handler`` to :class:`pyudev.MonitorObserver` in favour
258 of ``callback`` argument.
259 - #46: Continuously test pyudev on Travis-CI.
260 - Add :attr:`pyudev.Device.ancestors`.
261 - Add :attr:`pyudev.Device.action`.
262 - #10: Add :attr:`pyudev.Device.sequence_number`.
263 - #47: Add :meth:`pyudev.Monitor.poll`.
264 - #47: Add :attr:`pyudev.Monitor.started`.
265 - #49: Add ``callback`` argument to :class:`pyudev.Monitor`.
266 - :meth:`pyudev.Monitor.start` can be called repeatedly.
267 - #45: Get rid of 2to3
268 - #43: Fix test failures on Python 2.6
269 - Fix signature in declaration of ``udev_monitor_set_receive_buffer_size``.
270 - #44: Test wrapped signatures with help of ``gccxml``.
271 - Fix compatibility with udev 183 and newer in :class:`pyudev.Context`.
272 - :meth:`pyudev.MonitorObserver.stop` can be called from the observer thread.
273
274
275 0.15 (Mar 1, 2012)
276 ==================
277
278 - #20: Add :meth:`~pyudev.Monitor.remove_filter()`.
279 - #40: Add user guide to the documentation.
280 - #39: Add :meth:`pyudev.Device.from_device_file()`.
281 - :data:`errno.EINVAL` from underlying libudev functions causes
282 :exc:`~exceptions.ValueError` instead of :exc:`~exceptions.EnvironmentError`.
283 - :class:`pyudev.MonitorObserver` calls
284 :meth:`pyudev.Monitor.enable_receiving()` when started.
285 - #20: :meth:`pyudev.Monitor.filter_by()` and
286 :meth:`pyudev.Monitor.filter_by_tag()` can be called after
287 :meth:`pyudev.Monitor.enable_receiving()`.
288
289
290 0.14 (Feb 10, 2012)
291 ===================
292
293 - Host documentation at http://pyudev.readthedocs.org (thanks to the
294 readthedocs.org team for this service)
295 - #37: Add :class:`pyudev.wx.WxUDevMonitorObserver` for wxPython (thanks to
296 Tobias Eberle).
297 - Add :class:`pyudev.MonitorObserver`.
298 - Add :attr:`pyudev.glib.GUDevMonitorObserver.enabled`,
299 :attr:`pyudev.pyqt4.QUDevMonitorObserver.enabled` and
300 :attr:`pyudev.pyside.QUDevMonitorObserver.enabled`.
301
302
303 0.13 (Nov 4, 2011)
304 ==================
305
306 - #36: Add :meth:`pyudev.Monitor.set_receive_buffer_size` (thanks to Rémi
307 Rérolle).
308 - Add :meth:`pyudev.Enumerator.match_parent`.
309 - Add ``parent`` keyword argument to :meth:`pyudev.Enumerator.match()`.
310 - #31: Add :meth:`pyudev.Enumerator.match_attribute`.
311 - Add ``nomatch`` argument to :meth:`pyudev.Enumerator.match_subsystem` and
312 :meth:`pyudev.Enumerator.match_attribute`.
313 - Remove :meth:`pyudev.Enumerator.match_children` in favour of
314 :meth:`pyudev.Enumerator.match_parent`.
315 - #34: :class:`pyudev.Device.tags` returns a :class:`pyudev.Tags` object.
316 - :attr:`pyudev.Device.children` requires udev version 172 now
317
318
319 0.12 (Aug 31, 2011)
320 ===================
321
322 - #32: Fix memory leak.
323 - #33: Fix Python 3 support for :mod:`pyudev.glib`.
324 - Fix license header in :mod:`pyudev._compat`.
325
326
327 0.11 (Jun 26, 2011)
328 ===================
329
330 - #30: Add :attr:`pyudev.Device.sys_number`.
331 - #29: Add :meth:`pyudev.Device.from_device_number`
332 - #29: Add :attr:`pyudev.Device.device_number`.
333 - Support PyPy.
334
335
336 0.10 (Apr 20, 2011)
337 ===================
338
339 - Add :attr:`pyudev.__version_info__`
340 - Add :attr:`pyudev.Device.device_type`
341 - :class:`pyudev.Context`, :class:`pyudev.Enumerator`, :class:`pyudev.Device`
342 and :class:`pyudev.Monitor` can directly be passed to
343 :mod:`ctypes`-wrapped functions.
344 - #24: Add :attr:`pyudev.Context.run_path`.
345
346
347 0.9 (Mar 09, 2011)
348 ==================
349
350 - #21: Add :meth:`pyudev.Device.find_parent`.
351 - #22: Add :meth:`pyudev.Monitor.filter_by_tag`.
352 - Add :attr:`pyudev.Context.log_priority`.
353 - Improve error reporting, if libudev is missing.
354
355
356 0.8 (Jan 08, 2011)
357 ==================
358
359 - #16: Add :meth:`pyudev.Enumerator.match`.
360 - Add keyword arguments to :meth:`pyudev.Context.list_devices()`.
361 - #19: Add :meth:`pyudev.Enumerator.match_sys_name`.
362 - #18: Add :func:`pyudev.udev_version()`.
363 - #17: Add :attr:`pyudev.Device.is_initialized`.
364 - #17: Add :attr:`pyudev.Device.time_since_initialized`.
365 - #17: Add :meth:`pyudev.Enumerator.match_is_initialized`
366 - Fix support for earlier releases of udev.
367 - Document minimum udev version for all affected attributes.
368
369
370 0.7 (Nov 15, 2010)
371 ==================
372
373 - #15: Add :mod:`pyudev.glib.GUDevMonitorObserver`.
374
375
376 0.6 (Oct 03, 2010)
377 ==================
378
379 - #8: Add :attr:`pyudev.Device.tags`.
380 - #8: Add :meth:`pyudev.Enumerator.match_tag`.
381 - #11: Add :meth:`pyudev.Device.from_environment`
382 - #5: Add :mod:`pyudev.pyside`
383 - #14: Remove apipkg_ dependency.
384 - #14: Require explicit import of :mod:`pyudev.pyqt4`.
385 - Fix licence headers in source files.
386
387 .. _apipkg: http://pypi.python.org/pypi/apipkg/
388
389
390 0.5 (Sep 06, 2010)
391 ==================
392
393 - Support Python 3.
394 - #6: Add :attr:`pyudev.Device.attributes` (thanks to Daniel Lazzari).
395 - #6: Add :class:`pyudev.Attributes` (thanks to Daniel Lazzari).
396 - #7: :attr:`pyudev.Device.context` and :attr:`pyudev.Monitor.context` are
397 part of the public API.
398 - #9: Add :attr:`pyudev.Device.driver`.
399 - #12: Add :meth:`pyudev.Device.from_name`.
400 - Rename :exc:`pyudev.NoSuchDeviceError` to :exc:`pyudev.DeviceNotFoundError`.
401 - :meth:`pyudev.Device.from_sys_path` raises
402 :exc:`pyudev.DeviceNotFoundAtPathError`.
403 - #13: Fix :exc:`~exceptions.AttributeError` in
404 :attr:`pyudev.Device.device_node`.
405 - Improve and extend documentation.
406 - Add more tests.
407
408
409 0.4 (Aug 23, 2010)
410 ==================
411
412 API changes
413 -----------
414
415 - #3: Rename :mod:`udev` to :mod:`pyudev`.
416 - #3: Rename :mod:`qudev` to :mod:`pyudev.pyqt4`.
417 - Add :meth:`pyudev.Device.from_path`.
418 - :meth:`pyudev.Device.from_sys_path` raises :exc:`pyudev.NoSuchDeviceError`.
419 - :meth:`pyudev.Monitor.receive_device` raises
420 :exc:`~exceptions.EnvironmentError`.
421 - ``errno``, ``strerror`` and ``filename`` attributes of
422 :class:`~exceptions.EnvironmentError` exceptions have meaningful content.
423 - Fix :exc:`~exceptions.NameError` in :meth:`pyudev.Monitor.from_socket`
424 - ``subsystem`` argument to :meth:`pyudev.Monitor.filter_by` is mandatory.
425 - Delete underlying C objects if :class:`pyudev.Device` is garbage-collected.
426 - Fix broken signal emitting in :class:`pyudev.pyqt4.QUDevMonitorObserver`.
427
428
429 0.3 (Jul 28, 2010)
430 ==================
431
432 - #1: Fix documentation to reflect the actual behaviour of the underlying
433 API
434 - Raise :exc:`~exceptions.TypeError` if :class:`udev.Device` are compared with
435 ``>``, ``>=``, ``<`` or ``<=``.
436 - Add :meth:`udev.Enumerator.match_children`.
437 - Add :attr:`udev.Device.children`.
438 - Add :meth:`qudev.QUDevMonitorObserver.deviceChanged`.
439 - Add :meth:`qudev.QUDevMonitorObserver.deviceMoved`.
440
441
442 0.2 (Jun 28, 2010)
443 ==================
444
445 - Add :class:`udev.Monitor`.
446 - Add :meth:`udev.Device.asbool`.
447 - Add :meth:`udev.Device.asint`.
448 - Remove type magic in :meth:`udev.Device.__getitem__`.
449 - Add :mod:`qudev`.
450
451
452 0.1 (May 03, 2010)
453 ==================
454
455 - Initial release.
456 - Add :class:`udev.Context`.
457 - Add :class:`udev.Device`.
458 - Add :class:`udev.Enumerator`.