Skip to content

Commit

Permalink
v0.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dlech committed Sep 2, 2023
1 parent 8dd12fa commit a00f76a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0
`Unreleased`_
=============

`0.21.0`_ (2023-09-02)
======================

Added
-----
* Added ``bleak.uuids.normalize_uuid_16()`` function.
* Added ``bleak.uuids.normalize_uuid_32()`` function.
* Added ``advertisement_data()`` async iterator method to ``BleakScanner``. Merged #1361.
* Added type hints for kwargs on ``BleakScanner`` class methods.
* Added support for Python 3.12.

Changed
-------
Expand All @@ -24,9 +28,9 @@ Changed
* Scanner backends modified to allow multiple advertisement callbacks. Merged #1367.
* Changed default handling of the ``response`` argument in ``BleakClient.write_gatt_char``.
Fixes #909.
* Added missing permissions and requirements in android kivy example. Fixes #1184.
* Bleak recipe now automatically installs bleak from github release.
* Bleak recipe now automatically installs bleak from GitHub release in Kivy example.
* Changed `BlueZManager` methods to raise `BleakError` when device is not in BlueZ.
* Optimized BlueZ backend device watchers and condition callbacks to avoid linear searches.
* Changed type hint for buffer protocol to ``collections.abc.Buffer``.

Fixed
Expand All @@ -37,7 +41,7 @@ Fixed
* Fixed possible crash in ``_stopped_handler()`` in WinRT backend. Fixes #1330.
* Reduced expensive logging in the BlueZ backend. Merged #1376.
* Fixed race condition with ``"InterfaceRemoved"`` when getting services in BlueZ backend.
* Optimize BlueZ backend device watchers and condition callbacks to avoid linear searches
* Fixed missing permissions and requirements in android Kivy example. Fixes #1184.
* Fixed WinRT backend sometimes hanging forever when a device goes out of range during connection. Fixes #1359.

Removed
Expand Down Expand Up @@ -974,7 +978,8 @@ Fixed
* Bleak created.


.. _Unreleased: https://github.com/hbldh/bleak/compare/v0.20.2...develop
.. _Unreleased: https://github.com/hbldh/bleak/compare/v0.21.0...develop
.. _0.21.0: https://github.com/hbldh/bleak/compare/v0.20.2...v0.21.0
.. _0.20.2: https://github.com/hbldh/bleak/compare/v0.20.1...v0.20.2
.. _0.20.1: https://github.com/hbldh/bleak/compare/v0.20.0...v0.20.1
.. _0.20.0: https://github.com/hbldh/bleak/compare/v0.19.5...v0.20.0
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "bleak"
version = "0.21.0a1"
version = "0.21.0"
description = "Bluetooth Low Energy platform Agnostic Klient"
authors = ["Henrik Blidh <henrik.blidh@nedomkull.com>"]
license = "MIT"
Expand Down

0 comments on commit a00f76a

Please sign in to comment.