1 D-Bus Python Bindings 0.82.4 (2007-12-10)
2 =========================================
6 * supplying reply_handler but not error_handler raises
7 MissingReplyHandlerException instead of MissingErrorHandlerException,
8 and vice versa (fd.o #12304, patch from René Neumann)
9 * Using non-recursive make for dbus/ directory should fix builds in some
10 environments (fd.o #12741)
14 * Everything is now under the same MIT/X11 license used for Collabora code in
16 * Added copyright headers to some files that were still missing them
18 D-Bus Python Bindings 0.82.3 (2007-09-27)
19 =========================================
23 * Out-of-tree builds with an absolute $(srcdir) can now build docs and run tests
24 * Closing private dbus.Bus no longer raises KeyError (fd.o #12096)
25 * async_err_cb(MyException()) now works (fd.o #12403)
26 * dbus.service.Object.remove_from_connection no longer claims that multiple
27 exports aren't possible (fd.o #12432)
28 * Setting _dbus_error_name as a class attribute of DBusException subclasses
33 * dbus.Bus(private=True) (use dbus.bus.BusConnection in new code, dbus.Bus
34 basically just adds the shared-connection behaviour)
38 * Code for which Collabora is the only copyright holder is now under the
39 same permissive MIT/X11 license under which dbus core is being relicensed
40 (this allows everything the old license would have allowed, and more)
42 D-Bus Python Bindings 0.82.2 (2007-08-01)
43 =========================================
45 Incompatibility with 0.82.1:
47 * If you pass the timeout argument to call_async or an asynchronous proxy
48 method call and expect it to be in milliseconds, you should change the
49 argument to be in seconds, and require dbus-python >= 0.82.2.
51 This feature didn't work at all in versions prior to 0.82.1, so any code
52 that works with 0.82.0 or earlier is unaffected.
56 * @dbus.service.method supports a rel_path_keyword argument for the benefit
57 of fallback objects, which provides the method implementation with the path
58 of the object within the exported subtree. For instance, if you have a
59 fallback object exported at /Fallback, and you call a method that has
60 rel_path_keyword='rel_path' on /Fallback and on /Fallback/Some/Where, the
61 method implementation will be called with rel_path='/' and with
62 rel_path='/Some/Where' respectively. (fd.o #11623)
64 * If you have epydoc version 3 (currently in beta), API documention is now
69 * As mentioned under "Incompatibilities" above, Connection.call_async()
70 measures timeouts in seconds, as was always intended.
71 This means that calls through a proxy object with a reply_handler and
72 error_handler will measure the timeout in seconds too.
74 * Introspect() now works on objects exported in more than one location.
77 * Building against Python 2.4 on non-Debian-derived distributions, or a
78 non-default Python version on Gentoo, should work again (revenge
79 of fd.o #11282, thanks Eyal Ben David).
81 D-Bus Python Bindings 0.82.1 (2007-07-11)
82 =========================================
84 The "double precision" release.
88 * Parse the timeout correctly in send_message_with_reply() and
89 send_message_with_reply_and_block(), fixing the use of non-default timeouts
91 * The tutorial no longer uses interactive-Python syntax, as it confused users.
93 * When making a call via a proxy object with ignore_reply=True, also get the
94 necessary introspection data asynchronously. This can avoid deadlocks in
95 some cases, such as calling methods in the same process (though this is not
96 recommended, for efficiency and sanity reasons).
97 * dbus.lowlevel exposes enough constants to write correct filter functions.
98 * We don't use dbus_watch_get_fd() (deprecated in libdbus) unless our libdbus
99 is too old to have the modern replacement, dbus_watch_get_unix_fd().
103 * Omitting the bus argument in the BusName constructor is deprecated.
104 The fact that it uses the globally shared connection to the session bus by
105 default is uncomfortably subtle.
107 D-Bus Python Bindings 0.82.0 (2007-06-19)
108 =========================================
112 * dbus.service.Object can start off with no Connection or object path, and
113 become exported later. If suitable class attributes are set, objects can
114 even be exported on multiple connections, or with multiple object-paths,
117 * dbus.service.FallbackObject implements a whole subtree of object-path space
120 * ``@method`` accepts a parameter ``connection_keyword`` so methods can find
121 out which connection to use for any follow-up actions.
123 * ``@signal`` has a new parameter ``rel_path_keyword`` which gets the path at
124 which to emit the signal, relative to the path of the FallbackObject.
125 ``path_keyword`` is now deprecated, and will raise an exception if used
126 on an object with ``SUPPORTS_MULTIPLE_OBJECT_PATHS``, including any
131 * In watch_name_owner, only the desired name is watched!
133 * When cleaning up signal matches, errors are ignored. This avoids using up
134 scarce pending-call allowance on dbus-daemon < 1.1, and emitting error
135 messages if we get disconnected.
137 * Signal handlers which are bound to a unique name are automatically
138 disconnected when the unique name goes away, reducing the likelihood that
139 applications will leak signal matches.
141 * Some corrections were made to the tutorial (@service and @method take a
142 parameter dbus_interface, not just interface; fd.o #11209).
144 * ${PYTHON}-config is used to get the Python include path (patch from
145 Sebastien Bacher/Ubuntu, fd.o #11282).
147 D-Bus Python Bindings 0.81.1 (4 June 2007)
148 ==========================================
152 * When an Error message on the bus is represented as a DBusException, the
153 error name is copied into the exception and can be retrieved by
154 get_dbus_name(). Exception handlers should use this instead of looking at
155 the stringified form of the exception, unless backwards compatibility
157 * DBusException objects now get all arguments from the Error message, not
158 just the first (although there will usually only be one). Use the 'args'
159 attribute if you need to retrieve them.
160 * The Connection, BusConnection and Bus classes have a method
161 list_exported_child_objects(path: str) -> list of str, which wraps
162 dbus_connection_list_registered()
163 * You can remove objects from D-Bus before they become unreferenced, by
164 using dbus.service.Object.remove_from_connection()
165 (https://bugs.freedesktop.org/show_bug.cgi?id=10457)
169 * Don't deadlock when removing a signal match that tracks name-owner changes.
170 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426412)
171 * Include child nodes in introspection using list_exported_child_objects()
173 D-Bus Python Bindings 0.81.0 (9 May 2007)
174 =========================================
176 The 'series of tubes' release
177 -----------------------------
179 This is a feature release with support for non-bus-daemon connections
180 and improved GObject integration.
184 * Bus has a superclass dbus.bus.BusConnection (a connection to a bus daemon,
185 but without the shared-connection semantics or any deprecated API)
186 for the benefit of those wanting to subclass bus daemon connections
188 * BusConnection has a superclass dbus.connection.Connection (a
189 connection without a bus daemon) for use in peer-to-peer situations,
190 or distributed pseudo-bus situations without a bus daemon such as
191 Telepathy's Tubes API
193 * dbus.gobject_service.ExportedGObject is like dbus.service.Object, but
194 is also a subclass of GObject (with the necessary metaclass magic to
195 make this work). Until someone has verified that the GObject side of
196 things works as expected too, I consider this API to be potentially
199 * Connection and BusConnection have gained a number of useful methods,
200 including watch_name_owner (track name owner changes asynchronously,
201 avoiding race conditions), call_blocking and call_async (blocking and
202 asynchronous method calls without going via a proxy - note that these
203 are semi-low-level interfaces which don't do introspection), and
204 list_names, list_activatable_names and get_name_owner which are
205 simple wrappers for the corresponding org.freedesktop.DBus methods
207 * dbus.Interface (now also available at dbus.proxies.Interface)
208 and dbus.proxies.ProxyObject now have some reasonably obvious properties.
212 * All keyword arguments called named_service are deprecated in favour of an
213 argument called bus_name (to be compatible with both older and newer
214 dbus-python, you should pass these positional arguments).
216 * The bus keyword argument to dbus.proxies.ProxyObject is deprecated in
217 favour of an argument called conn, because proxies will work on non-bus
218 connections now (again, for maximum compatibility you should use a
219 positional argument for this).
221 * No warning is raised for this, but I consider calling any remote method
222 on a ProxyObject or Interface whose name is either alllowercase or
223 lower_case_with_underscores to be deprecated, and reserve the right
224 to add properties or methods of this form in future releases - use
225 ProxyObject.get_dbus_method if you must call a remote method named in
226 this way. Methods named following TheUsualDBusConvention or
227 theJavaConvention are safe.
231 * Exceptions in signal handlers print a stack trace to stderr (this can
232 be redirected elsewhere with Python's logging framework). Partially
233 addresses fd.o #9980.
235 * The reserved local interface and object path are properly checked for.
237 * When you return a tuple that is not a Struct from a method with no
238 out_signature, it's interpreted as multiple return values, not a
239 single Struct (closes fd.o #10174).
241 * If send_with_reply() returns TRUE but with pending call NULL, dbus-python
242 no longer crashes. This can happen when unexpectedly disconnected.
244 * Arguments are not examined for functions declared METH_NOARGS (this is
245 unnecessary and can cause a crash).
247 Other notable changes:
249 * dbus-python uses the standard Python logging framework throughout.
250 The first time a WARNING or ERROR is generated, it will configure the
251 logging framework to output to stderr, unless you have already
252 configured logging in your application.
254 * The tutorial now advocates the use of add_signal_receiver if all you
255 want to do is listen for signals: this avoids undesired activation,
256 e.g. of Listen or Rhythmbox (!). Addresses fd.o #10743, fd.o #10568.
258 D-Bus Python Bindings 0.80.2 (13 February 2007)
259 ===============================================
260 - Fix numerous memory and reference leaks
261 - Only use -Werror if the user specifically asks for it
262 - Audit tp_dealloc callbacks to make sure they correctly preserve the
264 - Relicense files solely owned by Collabora Ltd. more permissively (LGPL/AFL
265 rather than GPL/AFL) - this includes the tutorial and all the C code
267 D-Bus Python Bindings 0.80.1 (24 January 2007)
268 ==============================================
270 - Install dbus/_version.py, so dbus.__version__ exists again
272 D-Bus Python Bindings 0.80.0 (24 January 2007)
273 ==============================================
274 - The "everything changes" release
275 - Rewrite dbus_bindings (Pyrex) as _dbus_bindings (C) - API changes!
276 - Define what's public API
277 - Move low-level but still public API to dbus.lowlevel
278 - Remove Variant class, add variant_level property on all D-Bus types
279 - Make signal matching keep working as expected when name ownership changes
280 - Use unambiguous D-Bus types when transferring from D-Bus to Python
281 - Follow well-defined rules when transferring from Python to D-Bus
282 - Add utf8_strings and byte_arrays options in various places, so a user
283 can tweak the calling conventions to be more efficient
284 - Raise RuntimeError if user tries to use a connection with no main loop
285 to do something that won't work without one
286 - Make asynchronous method calls actually asynchronous when made before
287 introspection results come back
288 - Redo main loop machinery so we can add pure-Python main loops later without
290 - Allow construction of a dbus.service.Object if you don't have a BusName
292 - Port introspection XML parser from libxml2 (external package) to expat
293 (included with Python)
294 - Port build system from distutils to autoconf/automake/libtool
295 - Install a header file for third-party main loop integration
296 - Make compatible with Python 2.5, including on 64-bit platforms
297 - Add docstrings throughout
298 - Add more tests and examples
299 - Add interoperability tests (which interoperate with Java)
300 - Add copyright notices!
302 D-Bus Python Bindings 0.71 (24 July 2006)
303 ==============================================================
304 - Binary modules are now installed in the correct directory
305 - Distutils exports the dbus and dbus-glib cflags
307 D-Bus Python Bindings 0.70 (17 July 2006)
308 ==============================================================
309 - First release of bindings split
310 - Move to a distutils build enviornment
311 - It is possible to now specify sender_keyword="foo", path_keyword="bar" when
312 adding a signal listener