Skip to content

Bump bleak from 0.22.3 to 2.1.1#16

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/bleak-2.1.1
Open

Bump bleak from 0.22.3 to 2.1.1#16
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/bleak-2.1.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 5, 2026

Bumps bleak from 0.22.3 to 2.1.1.

Release notes

Sourced from bleak's releases.

v2.1.1

Changed

  • Changed default connect timeout for BleakClient from 10 to 30 seconds.

Fixed

  • Fixed some cases of BleakError: Could not get GATT services: Unreachable in WinRT backend by adding a retry when getting GATT services.

v2.1.0

Added

  • Added bluez parameter to BleakClient.start_notify() to allow forcing using "StartNotify" instead of "AcquireNotify" on BlueZ backend. Fixes #1885.
  • Added bleak.args.SizedBuffer type for better type hinting of buffer protocol parameters.

Fixed

  • Fixed calling logging.debug() in WinRT backend. Fixes #1882.
  • Fixed calling logging.warning() in BlueZ backend.

v2.0.0

Added

  • Added bleak.backends.get_default_backend() and BleakBackend enum for a centralized backend detection.
  • Added BleakClient().backend_id and BleakScanner().backend_id properties to identify the backend in use.

Changed

  • Use "AcquireNotify" rather than "StartNotify" for Linux backend on supported characteristics
  • Allow multiple calls to disconnect() on Windows to align behavior over all backends.
  • Raise new BleakBluetoothNotAvailableError when Bluetooth is not supported, turned off or permission is denied.

Fixed

  • Fixed potential race condition causing timeout while connecting in WinRT backend.
  • Fixed file handle leak in BlueZ backend when D-Bus connection is lost and re-established.
  • Fixed crash in CoreBluetooth backend if an ObjC delegate callback is called after the asyncio run loop stops.
  • Fixed possible deadlock when starting scanning on Windows when Bluetooth is turned off.
  • Fixed "Bluetooth device is turned off" Exception on macOS, when a Bluetooth permission request popup is shown to the user by the OS.

Removed

  • Removed support for Python 3.9.
  • Removed support for macOS < 10.15.

v1.1.1

... (truncated)

Changelog

Sourced from bleak's changelog.

2.1.1_ (2025-12-31)

Changed

  • Changed default connect timeout for BleakClient from 10 to 30 seconds.

Fixed

  • Fixed some cases of BleakError: Could not get GATT services: Unreachable in WinRT backend by adding a retry when getting GATT services.

2.1.0_ (2025-12-28)

Added

  • Added bluez parameter to BleakClient.start_notify() to allow forcing using "StartNotify" instead of "AcquireNotify" on BlueZ backend. Fixes #1885.
  • Added bleak.args.SizedBuffer type for better type hinting of buffer protocol parameters.

Fixed

  • Fixed calling logging.debug() in WinRT backend. Fixes #1882.
  • Fixed calling logging.warning() in BlueZ backend.

2.0.0_ (2025-11-22)

Added

  • Added bleak.backends.get_default_backend() and BleakBackend enum for a centralized backend detection.
  • Added BleakClient().backend_id and BleakScanner().backend_id properties to identify the backend in use.

Changed

  • Use "AcquireNotify" rather than "StartNotify" for Linux backend on supported characteristics
  • Allow multiple calls to disconnect() on Windows to align behavior over all backends.
  • Raise new BleakBluetoothNotAvailableError when Bluetooth is not supported, turned off or permission is denied.

Fixed

  • Fixed potential race condition causing timeout while connecting in WinRT backend.
  • Fixed file handle leak in BlueZ backend when D-Bus connection is lost and re-established.
  • Fixed crash in CoreBluetooth backend if an ObjC delegate callback is called after the asyncio run loop stops.
  • Fixed possible deadlock when starting scanning on Windows when Bluetooth is turned off.
  • Fixed "Bluetooth device is turned off" Exception on macOS, when a Bluetooth permission request popup is shown to the user by the OS.

Removed

  • Removed support for Python 3.9.
  • Removed support for macOS < 10.15.

... (truncated)

Commits
  • 5d76a62 v2.1.1
  • 1f002b8 backends: clean up client timeout comments
  • b5490e8 tests: add services arg to BleakClient in some tests
  • ba9410f backends/winrt/client: add retry when getting GATT services
  • f14a30d bleak: change default BleakClient timeout to 30 seconds
  • 848b511 backends/corebluetooth: add helper function for call_soon_threadsafe()
  • 6af24ae tests/integration: fix logging.info()
  • 66f0b20 tests: Basic integrationtests for BleakClient
  • 8a40874 tests/integration: remove add_default_services()
  • ede4a03 github: build_and_test if pyproject.toml changes
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jan 5, 2026
@klightspeed
Copy link
Owner

@dependabot recreate

Bumps [bleak](https://github.com/hbldh/bleak) from 0.22.3 to 2.1.1.
- [Release notes](https://github.com/hbldh/bleak/releases)
- [Changelog](https://github.com/hbldh/bleak/blob/develop/CHANGELOG.rst)
- [Commits](hbldh/bleak@v0.22.3...v2.1.1)

---
updated-dependencies:
- dependency-name: bleak
  dependency-version: 2.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/bleak-2.1.1 branch from 4e1a2b2 to e2e2e87 Compare February 22, 2026 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant