Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
dlech committed May 4, 2024
2 parents ea199f1 + 93d88e0 commit cafc6f9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0
`Unreleased`_
=============

`0.22.0`_ (2024-04-04)
======================

Added
-----
* Added ``BleakCharacteristicNotFoundError`` which is raised if a device does not support a characteristic.
Expand Down Expand Up @@ -1011,7 +1014,8 @@ Fixed
* Bleak created.


.. _Unreleased: https://github.com/hbldh/bleak/compare/v0.21.1...develop
.. _Unreleased: https://github.com/hbldh/bleak/compare/v0.22.0...develop
.. _0.22.0: https://github.com/hbldh/bleak/compare/v0.21.1...v0.22.0
.. _0.21.1: https://github.com/hbldh/bleak/compare/v0.21.0...v0.21.1
.. _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
Expand Down
4 changes: 2 additions & 2 deletions bleak/backends/winrt/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def assert_mta() -> None:
Raises:
BleakError: If the current apartment type is not MTA.
.. versionadded:: unreleased
.. versionadded:: 0.22
"""
try:
apt_type, _ = _get_apartment_type()
Expand All @@ -92,7 +92,7 @@ def uninitialize_sta():
It should be called as early as possible in your application after the
offending package has been imported.
.. versionadded:: unreleased
.. versionadded:: 0.22
"""
try:
assert_mta()
Expand Down
4 changes: 2 additions & 2 deletions docs/backends/windows.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Windows backend
===============

The Windows backend of bleak is written using the `Bleak WinRT <https://github.com/dlech/bleak-winrt>`_
package to provide bindings for the Windows Runtime (WinRT).
The Windows backend of bleak is written using `PyWinRT <https://github.com/pywinrt/pywinrt>`_
to provide bindings for the Windows Runtime (WinRT).

The Windows backend implements a ``BleakClient`` in the module ``bleak.backends.winrt.client``, a ``BleakScanner``
method in the ``bleak.backends.winrt.scanner`` module. There are also backend-specific implementations of the
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.1"
version = "0.22.0"
description = "Bluetooth Low Energy platform Agnostic Klient"
authors = ["Henrik Blidh <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit cafc6f9

Please sign in to comment.