chore(deps): bump bleak from 0.22.3 to 2.0.0 #2

Merged
dependabot[bot] merged 1 commit from dependabot/pip/bleak-2.0.0 into main 2025-12-11 12:49:48 +01:00
dependabot[bot] commented 2025-12-11 12:46:39 +01:00 (Migrated from github.com)

Bumps bleak from 0.22.3 to 2.0.0.

Release notes

Sourced from bleak's releases.

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

Fixed

  • Fixed D-Bus connection leak on connection failure in BlueZ backend.
  • Fixed characteristic's max write without response size using wrong characteristic's value. Fixes #1820.
  • Fixed AttributeError in Python4Android backend when accessing is_connected before connecting. Fixes #1791.

v1.1.0

Added

  • Added support for Pythonista iOS app backend.
  • Added BleakClient.name property for getting the peripheral's name. Fixes #1802.

Fixed

  • Fixed BleakClient.connect() on Android when service characteristics have descriptors. Fixes #1803.
  • Fixed disconnect callback not called on Windows when Bleak initiates disconnection.

v1.0.1

Changed

... (truncated)

Changelog

Sourced from bleak's changelog.

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.

1.1.1_ (2025-09-07)

Fixed

  • Fixed D-Bus connection leak on connection failure in BlueZ backend.
  • Fixed characteristic's max write without response size using wrong characteristic's value. Fixes #1820.
  • Fixed AttributeError in Python4Android backend when accessing is_connected before connecting. Fixes #1791.

1.1.0_ (2025-08-10)

Added

  • Added support for Pythonista iOS app backend.
  • Added BleakClient.name property for getting the peripheral's name. Fixes #1802.

Fixed

  • Fixed BleakClient.connect() on Android when service characteristics have descriptors. Fixes #1803.
  • Fixed disconnect callback not called on Windows when Bleak initiates disconnection.

1.0.1_ (2025-06-30)

... (truncated)

Commits
  • 718e5d7 v2.0.0
  • 2d18e16 poetry: bump dbus-fast to 3.1.2 in the lock file
  • f16cbf6 backends/winrt/client: fix potential race condition for session status
  • 0df017d backends/bluezdbus/manager: Release resources on bus restart
  • 520bed7 backends: bluez: use AcquireNotify when possible
  • ea5fe45 backends: winrt: allow multiple disconnect() calls
  • a6fea5a backends: Centralize backend detection
  • 5d0593d backends/corebluetooth: avoid crash in delegate callbacks
  • cb06487 docs: add BleakClient.name
  • 67b5371 backends/corebluetooth/CentralManagerDelegate: use weakref.finalize
  • 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)
Bumps [bleak](https://github.com/hbldh/bleak) from 0.22.3 to 2.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hbldh/bleak/releases">bleak's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <h2>Added</h2> <ul> <li>Added <code>bleak.backends.get_default_backend()</code> and <code>BleakBackend</code> enum for a centralized backend detection.</li> <li>Added <code>BleakClient().backend_id</code> and <code>BleakScanner().backend_id</code> properties to identify the backend in use.</li> </ul> <h2>Changed</h2> <ul> <li>Use <code>&quot;AcquireNotify&quot;</code> rather than <code>&quot;StartNotify&quot;</code> for Linux backend on supported characteristics</li> <li>Allow multiple calls to <code>disconnect()</code> on Windows to align behavior over all backends.</li> <li>Raise new <code>BleakBluetoothNotAvailableError</code> when Bluetooth is not supported, turned off or permission is denied.</li> </ul> <h2>Fixed</h2> <ul> <li>Fixed potential race condition causing timeout while connecting in WinRT backend.</li> <li>Fixed file handle leak in BlueZ backend when D-Bus connection is lost and re-established.</li> <li>Fixed crash in CoreBluetooth backend if an ObjC delegate callback is called after the asyncio run loop stops.</li> <li>Fixed possible deadlock when starting scanning on Windows when Bluetooth is turned off.</li> <li>Fixed &quot;Bluetooth device is turned off&quot; Exception on macOS, when a Bluetooth permission request popup is shown to the user by the OS.</li> </ul> <h2>Removed</h2> <ul> <li>Removed support for Python 3.9.</li> <li>Removed support for macOS &lt; 10.15.</li> </ul> <h2>v1.1.1</h2> <h2>Fixed</h2> <ul> <li>Fixed D-Bus connection leak on connection failure in BlueZ backend.</li> <li>Fixed characteristic's max write without response size using wrong characteristic's value. Fixes <a href="https://redirect.github.com/hbldh/bleak/issues/1820">#1820</a>.</li> <li>Fixed <code>AttributeError</code> in Python4Android backend when accessing <code>is_connected</code> before connecting. Fixes <a href="https://redirect.github.com/hbldh/bleak/issues/1791">#1791</a>.</li> </ul> <h2>v1.1.0</h2> <h2>Added</h2> <ul> <li>Added support for Pythonista iOS app backend.</li> <li>Added <code>BleakClient.name</code> property for getting the peripheral's name. Fixes <a href="https://redirect.github.com/hbldh/bleak/issues/1802">#1802</a>.</li> </ul> <h2>Fixed</h2> <ul> <li>Fixed <code>BleakClient.connect()</code> on Android when service characteristics have descriptors. Fixes <a href="https://redirect.github.com/hbldh/bleak/issues/1803">#1803</a>.</li> <li>Fixed disconnect callback not called on Windows when Bleak initiates disconnection.</li> </ul> <h2>v1.0.1</h2> <h2>Changed</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hbldh/bleak/blob/develop/CHANGELOG.rst">bleak's changelog</a>.</em></p> <blockquote> <h1><code>2.0.0</code>_ (2025-11-22)</h1> <h2>Added</h2> <ul> <li>Added <code>bleak.backends.get_default_backend()</code> and <code>BleakBackend</code> enum for a centralized backend detection.</li> <li>Added <code>BleakClient().backend_id</code> and <code>BleakScanner().backend_id</code> properties to identify the backend in use.</li> </ul> <h2>Changed</h2> <ul> <li>Use <code>&quot;AcquireNotify&quot;</code> rather than <code>&quot;StartNotify&quot;</code> for Linux backend on supported characteristics</li> <li>Allow multiple calls to <code>disconnect()</code> on Windows to align behavior over all backends.</li> <li>Raise new <code>BleakBluetoothNotAvailableError</code> when Bluetooth is not supported, turned off or permission is denied.</li> </ul> <h2>Fixed</h2> <ul> <li>Fixed potential race condition causing timeout while connecting in WinRT backend.</li> <li>Fixed file handle leak in BlueZ backend when D-Bus connection is lost and re-established.</li> <li>Fixed crash in CoreBluetooth backend if an ObjC delegate callback is called after the asyncio run loop stops.</li> <li>Fixed possible deadlock when starting scanning on Windows when Bluetooth is turned off.</li> <li>Fixed &quot;Bluetooth device is turned off&quot; Exception on macOS, when a Bluetooth permission request popup is shown to the user by the OS.</li> </ul> <h2>Removed</h2> <ul> <li>Removed support for Python 3.9.</li> <li>Removed support for macOS &lt; 10.15.</li> </ul> <h1><code>1.1.1</code>_ (2025-09-07)</h1> <h2>Fixed</h2> <ul> <li>Fixed D-Bus connection leak on connection failure in BlueZ backend.</li> <li>Fixed characteristic's max write without response size using wrong characteristic's value. Fixes <a href="https://redirect.github.com/hbldh/bleak/issues/1820">#1820</a>.</li> <li>Fixed <code>AttributeError</code> in Python4Android backend when accessing <code>is_connected</code> before connecting. Fixes <a href="https://redirect.github.com/hbldh/bleak/issues/1791">#1791</a>.</li> </ul> <h1><code>1.1.0</code>_ (2025-08-10)</h1> <h2>Added</h2> <ul> <li>Added support for Pythonista iOS app backend.</li> <li>Added <code>BleakClient.name</code> property for getting the peripheral's name. Fixes <a href="https://redirect.github.com/hbldh/bleak/issues/1802">#1802</a>.</li> </ul> <h2>Fixed</h2> <ul> <li>Fixed <code>BleakClient.connect()</code> on Android when service characteristics have descriptors. Fixes <a href="https://redirect.github.com/hbldh/bleak/issues/1803">#1803</a>.</li> <li>Fixed disconnect callback not called on Windows when Bleak initiates disconnection.</li> </ul> <p><code>1.0.1</code>_ (2025-06-30)</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hbldh/bleak/commit/718e5d76cd051910a9d5266266af632c2529c03c"><code>718e5d7</code></a> v2.0.0</li> <li><a href="https://github.com/hbldh/bleak/commit/2d18e16cce160510f812d46b7709aa645d7bf028"><code>2d18e16</code></a> poetry: bump dbus-fast to 3.1.2 in the lock file</li> <li><a href="https://github.com/hbldh/bleak/commit/f16cbf6ca0277a59087b0bfc7e10502d03cc04af"><code>f16cbf6</code></a> backends/winrt/client: fix potential race condition for session status</li> <li><a href="https://github.com/hbldh/bleak/commit/0df017d824aa3c68b18cdd07efbb9c7f3cb17b2b"><code>0df017d</code></a> backends/bluezdbus/manager: Release resources on bus restart</li> <li><a href="https://github.com/hbldh/bleak/commit/520bed7203ecb375152284164e82a3af01ee98fa"><code>520bed7</code></a> backends: bluez: use AcquireNotify when possible</li> <li><a href="https://github.com/hbldh/bleak/commit/ea5fe451b85cfb75b6873ce22668aa0eafef1025"><code>ea5fe45</code></a> backends: winrt: allow multiple <code>disconnect()</code> calls</li> <li><a href="https://github.com/hbldh/bleak/commit/a6fea5a5636d3a64401334d60197cdead6c2ad48"><code>a6fea5a</code></a> backends: Centralize backend detection</li> <li><a href="https://github.com/hbldh/bleak/commit/5d0593d8ed07f7a666cd27597f27d8f0a019ccf4"><code>5d0593d</code></a> backends/corebluetooth: avoid crash in delegate callbacks</li> <li><a href="https://github.com/hbldh/bleak/commit/cb06487e189ac5a325f2752d67241ff70f13388b"><code>cb06487</code></a> docs: add BleakClient.name</li> <li><a href="https://github.com/hbldh/bleak/commit/67b5371819902b948c11ac3756763569bed26e54"><code>67b5371</code></a> backends/corebluetooth/CentralManagerDelegate: use weakref.finalize</li> <li>Additional commits viewable in <a href="https://github.com/hbldh/bleak/compare/v0.22.3...v2.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=bleak&package-manager=pip&previous-version=0.22.3&new-version=2.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
dependabot[bot] commented 2025-12-11 12:46:40 +01:00 (Migrated from github.com)

Labels

The following labels could not be found: dependencies, python. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

### Labels The following labels could not be found: `dependencies`, `python`. Please create them before Dependabot can add them to a pull request. Please fix the above issues or remove invalid values from `dependabot.yml`.
Sign in to join this conversation.
No description provided.