hbldh/bleak (bleak)
### [`v0.22.2`](https://togithub.com/hbldh/bleak/blob/HEAD/CHANGELOG.rst#0222-2024-06-01)
[Compare Source](https://togithub.com/hbldh/bleak/compare/v0.22.1...v0.22.2)
\======================
## Changed
- Retrieve the BLE address required by `BleakClientWinRT` from scan response if advertising is None (WinRT).
- Changed type hint for `adv` attribute of `bleak.backends.winrt.scanner._RawAdvData`.
- `BleakGATTCharacteristic.max_write_without_response_size` is now dynamic.
## Fixed
- Fixed `discovered_devices_and_advertisement_data` returning devices that should
be filtered out by service UUIDs. Fixes [#1576](https://togithub.com/hbldh/bleak/issues/1576).
- Fixed a `Descriptor None was not found!` exception occurring in `start_notify()` on Android. Fixes [#823](https://togithub.com/hbldh/bleak/issues/823).
- Fixed exception raised when starting `BleakScanner` while running in a Windows GUI app.
### [`v0.22.1`](https://togithub.com/hbldh/bleak/blob/HEAD/CHANGELOG.rst#0221-2024-05-07)
[Compare Source](https://togithub.com/hbldh/bleak/compare/v0.22.0...v0.22.1)
\======================
## Added
- Added `bleak.backends.winrt.util.allow_sta()` method to allow integration
with graphical user interfaces on Windows. Fixes [#1565](https://togithub.com/hbldh/bleak/issues/1565).
### [`v0.22.0`](https://togithub.com/hbldh/bleak/blob/HEAD/CHANGELOG.rst#0220-2024-05-04)
[Compare Source](https://togithub.com/hbldh/bleak/compare/v0.21.1...v0.22.0)
\======================
## Added
- Added `BleakCharacteristicNotFoundError` which is raised if a device does not support a characteristic.
- Added utility function to work around `pywin32` setting threading model to STA on Windows.
## Changed
- Updated PyObjC dependency on macOS to v10.x.
- Updated missing Bluetooth SIG characteristics and service UUIDs.
- Updated `BlueZManager` to remove empty interfaces from `_properties` during InterfacesRemoved message.
- Updated PyWinRT dependency to v2. Fixes [#1529](https://togithub.com/hbldh/bleak/issues/1529).
- Raise exception when trying to scan while in a single-treaded apartment (STA) on Windows. Fixes [#1132](https://togithub.com/hbldh/bleak/issues/1132).
## Fixed
- Fixed BlueZ version in passive scanning error message. Fixes [#1433](https://togithub.com/hbldh/bleak/issues/1433).
- Fixed mypy requiring `Unpack[ExtraArgs]` that were intended to be optional. Fixes [#1487](https://togithub.com/hbldh/bleak/issues/1487).
- Fixed `KeyError` in BlueZ `is_connected()` and `get_global_bluez_manager()` when device is not present. Fixes [#1507](https://togithub.com/hbldh/bleak/issues/1507).
- Fixed BlueZ `_wait_removed` completion on invalid object path. Fixes [#1489](https://togithub.com/hbldh/bleak/issues/1489).
- Fixed rare unhandled exception when scanning on macOS when using `use_bdaddr`. Fixes [#1523](https://togithub.com/hbldh/bleak/issues/1523).
- Fixed scanning silently failing on Windows when Bluetooth is off. Fixes [#1535](https://togithub.com/hbldh/bleak/issues/1535).
- Fixed using wrong value for `tx_power` in Android backend. Fixes [#1532](https://togithub.com/hbldh/bleak/issues/1532).
- Fixed 4-character UUIDs not working on `BleakClient.*_gatt_char` methods. Fixes [#1498](https://togithub.com/hbldh/bleak/issues/1498).
- Fixed race condition with getting max PDU size on Windows. Fixes [#1497](https://togithub.com/hbldh/bleak/issues/1497). \[REVERTED in v0.22.2]
- Fixed filtering advertisement data by service UUID when multiple apps are scanning. Fixes [#1534](https://togithub.com/hbldh/bleak/issues/1534).
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^0.21.1
->^0.22.0
Release Notes
hbldh/bleak (bleak)
### [`v0.22.2`](https://togithub.com/hbldh/bleak/blob/HEAD/CHANGELOG.rst#0222-2024-06-01) [Compare Source](https://togithub.com/hbldh/bleak/compare/v0.22.1...v0.22.2) \====================== ## Changed - Retrieve the BLE address required by `BleakClientWinRT` from scan response if advertising is None (WinRT). - Changed type hint for `adv` attribute of `bleak.backends.winrt.scanner._RawAdvData`. - `BleakGATTCharacteristic.max_write_without_response_size` is now dynamic. ## Fixed - Fixed `discovered_devices_and_advertisement_data` returning devices that should be filtered out by service UUIDs. Fixes [#1576](https://togithub.com/hbldh/bleak/issues/1576). - Fixed a `Descriptor None was not found!` exception occurring in `start_notify()` on Android. Fixes [#823](https://togithub.com/hbldh/bleak/issues/823). - Fixed exception raised when starting `BleakScanner` while running in a Windows GUI app. ### [`v0.22.1`](https://togithub.com/hbldh/bleak/blob/HEAD/CHANGELOG.rst#0221-2024-05-07) [Compare Source](https://togithub.com/hbldh/bleak/compare/v0.22.0...v0.22.1) \====================== ## Added - Added `bleak.backends.winrt.util.allow_sta()` method to allow integration with graphical user interfaces on Windows. Fixes [#1565](https://togithub.com/hbldh/bleak/issues/1565). ### [`v0.22.0`](https://togithub.com/hbldh/bleak/blob/HEAD/CHANGELOG.rst#0220-2024-05-04) [Compare Source](https://togithub.com/hbldh/bleak/compare/v0.21.1...v0.22.0) \====================== ## Added - Added `BleakCharacteristicNotFoundError` which is raised if a device does not support a characteristic. - Added utility function to work around `pywin32` setting threading model to STA on Windows. ## Changed - Updated PyObjC dependency on macOS to v10.x. - Updated missing Bluetooth SIG characteristics and service UUIDs. - Updated `BlueZManager` to remove empty interfaces from `_properties` during InterfacesRemoved message. - Updated PyWinRT dependency to v2. Fixes [#1529](https://togithub.com/hbldh/bleak/issues/1529). - Raise exception when trying to scan while in a single-treaded apartment (STA) on Windows. Fixes [#1132](https://togithub.com/hbldh/bleak/issues/1132). ## Fixed - Fixed BlueZ version in passive scanning error message. Fixes [#1433](https://togithub.com/hbldh/bleak/issues/1433). - Fixed mypy requiring `Unpack[ExtraArgs]` that were intended to be optional. Fixes [#1487](https://togithub.com/hbldh/bleak/issues/1487). - Fixed `KeyError` in BlueZ `is_connected()` and `get_global_bluez_manager()` when device is not present. Fixes [#1507](https://togithub.com/hbldh/bleak/issues/1507). - Fixed BlueZ `_wait_removed` completion on invalid object path. Fixes [#1489](https://togithub.com/hbldh/bleak/issues/1489). - Fixed rare unhandled exception when scanning on macOS when using `use_bdaddr`. Fixes [#1523](https://togithub.com/hbldh/bleak/issues/1523). - Fixed scanning silently failing on Windows when Bluetooth is off. Fixes [#1535](https://togithub.com/hbldh/bleak/issues/1535). - Fixed using wrong value for `tx_power` in Android backend. Fixes [#1532](https://togithub.com/hbldh/bleak/issues/1532). - Fixed 4-character UUIDs not working on `BleakClient.*_gatt_char` methods. Fixes [#1498](https://togithub.com/hbldh/bleak/issues/1498). - Fixed race condition with getting max PDU size on Windows. Fixes [#1497](https://togithub.com/hbldh/bleak/issues/1497). \[REVERTED in v0.22.2] - Fixed filtering advertisement data by service UUID when multiple apps are scanning. Fixes [#1534](https://togithub.com/hbldh/bleak/issues/1534).Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.