1 D-Bus Python Bindings 0.82.2 (2007-08-01)
2 =========================================
4 Incompatibility with 0.82.1:
6 * If you pass the timeout argument to call_async or an asynchronous proxy
7 method call and expect it to be in milliseconds, you should change the
8 argument to be in seconds, and require dbus-python >= 0.82.2.
10 This feature didn't work at all in versions prior to 0.82.1, so any code
11 that works with 0.82.0 or earlier is unaffected.
15 * @dbus.service.method supports a rel_path_keyword argument for the benefit
16 of fallback objects, which provides the method implementation with the path
17 of the object within the exported subtree. For instance, if you have a
18 fallback object exported at /Fallback, and you call a method that has
19 rel_path_keyword='rel_path' on /Fallback and on /Fallback/Some/Where, the
20 method implementation will be called with rel_path='/' and with
21 rel_path='/Some/Where' respectively. (fd.o #11623)
23 * If you have epydoc version 3 (currently in beta), API documention is now
28 * As mentioned under "Incompatibilities" above, Connection.call_async()
29 measures timeouts in seconds, as was always intended.
30 This means that calls through a proxy object with a reply_handler and
31 error_handler will measure the timeout in seconds too.
33 * Introspect() now works on objects exported in more than one location.
36 * Building against Python 2.4 on non-Debian-derived distributions, or a
37 non-default Python version on Gentoo, should work again (revenge
38 of fd.o #11282, thanks Eyal Ben David).
40 D-Bus Python Bindings 0.82.1 (2007-07-11)
41 =========================================
43 The "double precision" release.
47 * Parse the timeout correctly in send_message_with_reply() and
48 send_message_with_reply_and_block(), fixing the use of non-default timeouts
50 * The tutorial no longer uses interactive-Python syntax, as it confused users.
52 * When making a call via a proxy object with ignore_reply=True, also get the
53 necessary introspection data asynchronously. This can avoid deadlocks in
54 some cases, such as calling methods in the same process (though this is not
55 recommended, for efficiency and sanity reasons).
56 * dbus.lowlevel exposes enough constants to write correct filter functions.
57 * We don't use dbus_watch_get_fd() (deprecated in libdbus) unless our libdbus
58 is too old to have the modern replacement, dbus_watch_get_unix_fd().
62 * Omitting the bus argument in the BusName constructor is deprecated.
63 The fact that it uses the globally shared connection to the session bus by
64 default is uncomfortably subtle.
66 D-Bus Python Bindings 0.82.0 (2007-06-19)
67 =========================================
71 * dbus.service.Object can start off with no Connection or object path, and
72 become exported later. If suitable class attributes are set, objects can
73 even be exported on multiple connections, or with multiple object-paths,
76 * dbus.service.FallbackObject implements a whole subtree of object-path space
79 * ``@method`` accepts a parameter ``connection_keyword`` so methods can find
80 out which connection to use for any follow-up actions.
82 * ``@signal`` has a new parameter ``rel_path_keyword`` which gets the path at
83 which to emit the signal, relative to the path of the FallbackObject.
84 ``path_keyword`` is now deprecated, and will raise an exception if used
85 on an object with ``SUPPORTS_MULTIPLE_OBJECT_PATHS``, including any
90 * In watch_name_owner, only the desired name is watched!
92 * When cleaning up signal matches, errors are ignored. This avoids using up
93 scarce pending-call allowance on dbus-daemon < 1.1, and emitting error
94 messages if we get disconnected.
96 * Signal handlers which are bound to a unique name are automatically
97 disconnected when the unique name goes away, reducing the likelihood that
98 applications will leak signal matches.
100 * Some corrections were made to the tutorial (@service and @method take a
101 parameter dbus_interface, not just interface; fd.o #11209).
103 * ${PYTHON}-config is used to get the Python include path (patch from
104 Sebastien Bacher/Ubuntu, fd.o #11282).
106 D-Bus Python Bindings 0.81.1 (4 June 2007)
107 ==========================================
111 * When an Error message on the bus is represented as a DBusException, the
112 error name is copied into the exception and can be retrieved by
113 get_dbus_name(). Exception handlers should use this instead of looking at
114 the stringified form of the exception, unless backwards compatibility
116 * DBusException objects now get all arguments from the Error message, not
117 just the first (although there will usually only be one). Use the 'args'
118 attribute if you need to retrieve them.
119 * The Connection, BusConnection and Bus classes have a method
120 list_exported_child_objects(path: str) -> list of str, which wraps
121 dbus_connection_list_registered()
122 * You can remove objects from D-Bus before they become unreferenced, by
123 using dbus.service.Object.remove_from_connection()
124 (https://bugs.freedesktop.org/show_bug.cgi?id=10457)
128 * Don't deadlock when removing a signal match that tracks name-owner changes.
129 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426412)
130 * Include child nodes in introspection using list_exported_child_objects()
132 D-Bus Python Bindings 0.81.0 (9 May 2007)
133 =========================================
135 The 'series of tubes' release
136 -----------------------------
138 This is a feature release with support for non-bus-daemon connections
139 and improved GObject integration.
143 * Bus has a superclass dbus.bus.BusConnection (a connection to a bus daemon,
144 but without the shared-connection semantics or any deprecated API)
145 for the benefit of those wanting to subclass bus daemon connections
147 * BusConnection has a superclass dbus.connection.Connection (a
148 connection without a bus daemon) for use in peer-to-peer situations,
149 or distributed pseudo-bus situations without a bus daemon such as
150 Telepathy's Tubes API
152 * dbus.gobject_service.ExportedGObject is like dbus.service.Object, but
153 is also a subclass of GObject (with the necessary metaclass magic to
154 make this work). Until someone has verified that the GObject side of
155 things works as expected too, I consider this API to be potentially
158 * Connection and BusConnection have gained a number of useful methods,
159 including watch_name_owner (track name owner changes asynchronously,
160 avoiding race conditions), call_blocking and call_async (blocking and
161 asynchronous method calls without going via a proxy - note that these
162 are semi-low-level interfaces which don't do introspection), and
163 list_names, list_activatable_names and get_name_owner which are
164 simple wrappers for the corresponding org.freedesktop.DBus methods
166 * dbus.Interface (now also available at dbus.proxies.Interface)
167 and dbus.proxies.ProxyObject now have some reasonably obvious properties.
171 * All keyword arguments called named_service are deprecated in favour of an
172 argument called bus_name (to be compatible with both older and newer
173 dbus-python, you should pass these positional arguments).
175 * The bus keyword argument to dbus.proxies.ProxyObject is deprecated in
176 favour of an argument called conn, because proxies will work on non-bus
177 connections now (again, for maximum compatibility you should use a
178 positional argument for this).
180 * No warning is raised for this, but I consider calling any remote method
181 on a ProxyObject or Interface whose name is either alllowercase or
182 lower_case_with_underscores to be deprecated, and reserve the right
183 to add properties or methods of this form in future releases - use
184 ProxyObject.get_dbus_method if you must call a remote method named in
185 this way. Methods named following TheUsualDBusConvention or
186 theJavaConvention are safe.
190 * Exceptions in signal handlers print a stack trace to stderr (this can
191 be redirected elsewhere with Python's logging framework). Partially
192 addresses fd.o #9980.
194 * The reserved local interface and object path are properly checked for.
196 * When you return a tuple that is not a Struct from a method with no
197 out_signature, it's interpreted as multiple return values, not a
198 single Struct (closes fd.o #10174).
200 * If send_with_reply() returns TRUE but with pending call NULL, dbus-python
201 no longer crashes. This can happen when unexpectedly disconnected.
203 * Arguments are not examined for functions declared METH_NOARGS (this is
204 unnecessary and can cause a crash).
206 Other notable changes:
208 * dbus-python uses the standard Python logging framework throughout.
209 The first time a WARNING or ERROR is generated, it will configure the
210 logging framework to output to stderr, unless you have already
211 configured logging in your application.
213 * The tutorial now advocates the use of add_signal_receiver if all you
214 want to do is listen for signals: this avoids undesired activation,
215 e.g. of Listen or Rhythmbox (!). Addresses fd.o #10743, fd.o #10568.
217 D-Bus Python Bindings 0.80.2 (13 February 2007)
218 ===============================================
219 - Fix numerous memory and reference leaks
220 - Only use -Werror if the user specifically asks for it
221 - Audit tp_dealloc callbacks to make sure they correctly preserve the
223 - Relicense files solely owned by Collabora Ltd. more permissively (LGPL/AFL
224 rather than GPL/AFL) - this includes the tutorial and all the C code
226 D-Bus Python Bindings 0.80.1 (24 January 2007)
227 ==============================================
229 - Install dbus/_version.py, so dbus.__version__ exists again
231 D-Bus Python Bindings 0.80.0 (24 January 2007)
232 ==============================================
233 - The "everything changes" release
234 - Rewrite dbus_bindings (Pyrex) as _dbus_bindings (C) - API changes!
235 - Define what's public API
236 - Move low-level but still public API to dbus.lowlevel
237 - Remove Variant class, add variant_level property on all D-Bus types
238 - Make signal matching keep working as expected when name ownership changes
239 - Use unambiguous D-Bus types when transferring from D-Bus to Python
240 - Follow well-defined rules when transferring from Python to D-Bus
241 - Add utf8_strings and byte_arrays options in various places, so a user
242 can tweak the calling conventions to be more efficient
243 - Raise RuntimeError if user tries to use a connection with no main loop
244 to do something that won't work without one
245 - Make asynchronous method calls actually asynchronous when made before
246 introspection results come back
247 - Redo main loop machinery so we can add pure-Python main loops later without
249 - Allow construction of a dbus.service.Object if you don't have a BusName
251 - Port introspection XML parser from libxml2 (external package) to expat
252 (included with Python)
253 - Port build system from distutils to autoconf/automake/libtool
254 - Install a header file for third-party main loop integration
255 - Make compatible with Python 2.5, including on 64-bit platforms
256 - Add docstrings throughout
257 - Add more tests and examples
258 - Add interoperability tests (which interoperate with Java)
259 - Add copyright notices!
261 D-Bus Python Bindings 0.71 (24 July 2006)
262 ==============================================================
263 - Binary modules are now installed in the correct directory
264 - Distutils exports the dbus and dbus-glib cflags
266 D-Bus Python Bindings 0.70 (17 July 2006)
267 ==============================================================
268 - First release of bindings split
269 - Move to a distutils build enviornment
270 - It is possible to now specify sender_keyword="foo", path_keyword="bar" when
271 adding a signal listener