|
| 1 | +## 0.14.0 |
| 2 | + |
| 3 | +### Minimum requirements raised |
| 4 | + |
| 5 | +* Python 3.9 or higher. |
| 6 | + |
| 7 | +For binary PyPI wheel: |
| 8 | + |
| 9 | +* glibc 2.28 or higher. (Debian 10+, Ubuntu 18.10+, CentOS/RHEL 8+) |
| 10 | +* pip 20.3 or higher. |
| 11 | +* Added 32 bit ARM (`armv7l`) architecture wheel. |
| 12 | + |
| 13 | +### Default bus changes |
| 14 | + |
| 15 | +Previously the default bus always used the context-local variables |
| 16 | +to store the reference to the current default bus. As it turned out |
| 17 | +the context tends to be changed a lot which resulted in new buses being |
| 18 | +opened multiple times. (reported by @wes8ty) |
| 19 | + |
| 20 | +To avoid this the default bus was changed to be thread-local. |
| 21 | +`set_default_bus` will now set the thread-local default bus. |
| 22 | +A new function `set_context_default_bus` was added to set the context-local |
| 23 | +bus. The `get_default_bus` will return the context-local bus if set or |
| 24 | +thread-local otherwise. If no default bus has been set a new thread-local |
| 25 | +bus will be initialized and set. |
| 26 | + |
| 27 | +### Code generator |
| 28 | + |
| 29 | +* Code generator will now add manual D-Bus member name override where |
| 30 | + automatic snake_case to CamelCase does not result in the original member name. |
| 31 | + This applies to when member renaming options were used. (reported by @nicomuns) |
| 32 | +* Generated code will now use Python 3.9 built-in collections type hints. |
| 33 | + (`typing.List[str]` -> `list[str]`) |
| 34 | +* Fixed blocking generated code adding unexpected `result_args_names` keyword. |
| 35 | + (reported by @christophehenry) |
| 36 | + |
| 37 | +### Features |
| 38 | + |
| 39 | +* All `sdbus.utils.parse` functions can now accept the blocking interfaces. |
| 40 | + (requested by @christophehenry) |
| 41 | +* Added boolean `use_interface_subsets` option to `sdbus.utils.parse` functions. |
| 42 | + When enabled the subset of interfaces will be considered a valid match. |
| 43 | + (requested by @christophehenry) |
| 44 | + |
| 45 | +### Fixes |
| 46 | + |
| 47 | +* Fixed exceptions mapped by `map_exception_to_dbus_error` not being translated |
| 48 | + from Python to D-Bus errors. This means the Python built-in exceptions will |
| 49 | + now be properly returned as D-Bus errors when raised in exported object callback. |
| 50 | + The built-in exceptions translating as added back in version 0.10.0 but probably |
| 51 | + never worked correctly. (reported by @arkq) |
| 52 | +* Fixed not being able to export interfaces with no implemented D-Bus members. |
| 53 | + This also means `export_to_dbus` will only access D-Bus related attributes |
| 54 | + avoiding triggering unrelated `@property` methods. |
| 55 | +* Renamed certain internal classes from `Binded` to `Bound` and |
| 56 | + from `DbusSomething` to `DbusMember`. (reported by @souliane, |
| 57 | + implemented by @dragomirecky) |
| 58 | + |
1 | 59 | ## 0.13.0 |
2 | 60 |
|
3 | 61 | ### Code generator improvements |
|
0 commit comments