diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5bf2d810..6e9a9229 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,6 +7,13 @@ All notable changes to this project will be documented in this file. The format is based on `Keep a Changelog `_, and this project adheres to `Semantic Versioning `_. +`0.19.4`_ (2022-11-06) +====================== + +Fixed +----- +* Fixed ``TypeError`` in WinRT backend introduced in v0.19.3. + `0.19.3`_ (2022-11-06) ====================== @@ -865,7 +872,8 @@ Fixed * Bleak created. -.. _Unreleased: https://github.com/hbldh/bleak/compare/v0.19.3...develop +.. _Unreleased: https://github.com/hbldh/bleak/compare/v0.19.4...develop +.. _0.19.4: https://github.com/hbldh/bleak/compare/v0.19.3...v0.19.4 .. _0.19.3: https://github.com/hbldh/bleak/compare/v0.19.2...v0.19.3 .. _0.19.2: https://github.com/hbldh/bleak/compare/v0.19.1...v0.19.2 .. _0.19.1: https://github.com/hbldh/bleak/compare/v0.19.0...v0.19.1 diff --git a/bleak/backends/winrt/client.py b/bleak/backends/winrt/client.py index 5121756b..496de89b 100644 --- a/bleak/backends/winrt/client.py +++ b/bleak/backends/winrt/client.py @@ -376,7 +376,7 @@ def max_pdu_size_changed_handler(sender: GattSession, args): try: # wait for the session to become active - async with async_timeout(timeout): + async with async_timeout.timeout(timeout): await asyncio.gather(wait_connect_task, wait_get_services_task) finally: diff --git a/pyproject.toml b/pyproject.toml index 89c9de6d..3398e79e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bleak" -version = "0.19.3" +version = "0.19.4" description = "Bluetooth Low Energy platform Agnostic Klient" authors = ["Henrik Blidh "] license = "MIT"