| 1 |
pyxs Changelog |
| 2 |
============== |
| 3 |
|
| 4 |
Here you can see the full list of changes between each pyxs release. |
| 5 |
|
| 6 |
Version 0.4.2-dev |
| 7 |
------------- |
| 8 |
|
| 9 |
- Allowed values to be empty ``b""``. Thanks to Stephen Czetty. See |
| 10 |
PR #13 on GitHub. |
| 11 |
|
| 12 |
Version 0.4.1 |
| 13 |
------------- |
| 14 |
|
| 15 |
Bugfix release, released on May 11th, 2016 |
| 16 |
|
| 17 |
- Fixed a bug in ``XenBusConnection.create_transport`` which failed |
| 18 |
on attribute lookup. See PR #7 on GitHub. |
| 19 |
|
| 20 |
Version 0.4.0 |
| 21 |
------------- |
| 22 |
|
| 23 |
Released on March 6th, 2016 |
| 24 |
|
| 25 |
- Fixed a bug in ``Client.set_permissions`` which coerced permission |
| 26 |
lists (e.g. ``["b0"]``) to repr-strings prior to validation. |
| 27 |
- The API is now based around ``bytes``, which means that all methods |
| 28 |
which used to accept ``str`` (or text) now require ``bytes``. XenStore |
| 29 |
paths and values are specified to be 7-bit ASCII, thus it makes little |
| 30 |
sense to allow any Unicode string as input and then validate if it |
| 31 |
matches the spec. |
| 32 |
- Removed ``transaction`` argument from ``Client`` constructor. The user |
| 33 |
is advised to use the corresponding methods explicitly. |
| 34 |
- Removed ``connection`` argument from ``Client`` constructor. The user |
| 35 |
should now wrap it in a ``Router``. |
| 36 |
- Renamed some of the ``Client`` methods to more human-readable names: |
| 37 |
|
| 38 |
================= =================== |
| 39 |
Old name New name |
| 40 |
================= =================== |
| 41 |
ls list |
| 42 |
rm delete |
| 43 |
get_permissions get_perms |
| 44 |
set_permissions set_perms |
| 45 |
transaction_start transaction |
| 46 |
transaction_end commit and rollback |
| 47 |
================= =================== |
| 48 |
- Removed ``Client.transaction`` context manager, because it didn't provide |
| 49 |
a way to handle possible commit failure. |
| 50 |
- Added ``Client.exists`` for one-line path existence checks. See PR #6 on |
| 51 |
GitHub. Thanks to Sandeep Murthy. |
| 52 |
- Removed implicit reconnection logic from ``FileDescriptorConnection``. |
| 53 |
The user is now expected to connect manually. |
| 54 |
- Changed ``XenBusConnection`` to prefer ``/dev/xen/xenbus`` on Linux |
| 55 |
due to a possible deadlock in XenBus backend. |
| 56 |
- Changed ``UnixSocketConnection`` to use ``socket.socket`` instead of the |
| 57 |
corresponding file descriptor. |
| 58 |
- Disallowed calling ``Client.monitor`` over ``XenBusConnection``. See |
| 59 |
http://lists.xen.org/archives/html/xen-devel/2016-02/msg03816 for |
| 60 |
details. |
| 61 |
|
| 62 |
Version 0.3.1 |
| 63 |
------------- |
| 64 |
|
| 65 |
Released on November 29th 2012 |
| 66 |
|
| 67 |
- Added ``default`` argument to ``Client.read()``, which acts similar to |
| 68 |
``dict.get()``. |
| 69 |
- Fixed a lot of minor quirks so ``pyxs`` can be Debianized. |
| 70 |
|
| 71 |
Version 0.3 |
| 72 |
----------- |
| 73 |
|
| 74 |
Released on September 12th 2011 |
| 75 |
|
| 76 |
- Moved all PUBSUB functionality into a separate ``Monitor`` class, which |
| 77 |
uses a *separate* connection. That way, we'll never have to worry |
| 78 |
about mixing incoming XenStore events and command replies. |
| 79 |
- Fixed a couple of nasty bugs in concurrent use of ``Client.wait()`` |
| 80 |
with other commands (see above). |
| 81 |
|
| 82 |
Version 0.2 |
| 83 |
----------- |
| 84 |
|
| 85 |
Released on August 18th 2011 |
| 86 |
|
| 87 |
- Completely refactored validation -- no more `@spec` magic, everything |
| 88 |
is checked explicitly inside ``Client.execute_command()``. |
| 89 |
- Added a compatibility interface, which mimics `xen.lowlevel.xs` |
| 90 |
behaviour, using ``pyxs`` as a backend, see pyxs/_compat.py. |
| 91 |
- Restricted `SET_TARGET`, `INTRODUCE` and `RELEASE` operations to |
| 92 |
Dom0 only -- ``/proc/xen/capabilities`` is used to check domain |
| 93 |
role. |
| 94 |
- Fixed a bug in ``Client.wait()`` -- queued watch events weren't wrapped |
| 95 |
in ``pyxs._internal.Event`` class, unlike the received ones. |
| 96 |
- Added ``Client.walk()`` method for walking XenStore tree -- similar to |
| 97 |
``os.walk()`` |
| 98 |
|
| 99 |
Version 0.1 |
| 100 |
----------- |
| 101 |
|
| 102 |
Initial release, released on July 16th 2011 |
| 103 |
|
| 104 |
- Added a complete implementation of XenStore protocol, including |
| 105 |
transactions and path watching, see ``pyxs.Client`` for details. |
| 106 |
- Added generic validation helper -- `@spec`, which forces arguments |
| 107 |
to match the scheme from the wire protocol specification. |
| 108 |
- Added two connection backends -- ``XenBusConnection`` for connecting |
| 109 |
from DomU through a block device and ``UnixSocketConnection``, |
| 110 |
communicating with XenStore via a Unix domain socket. |