Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump bleak from 0.20.2 to 0.21.0 #68

Merged
merged 1 commit into from
Sep 4, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 4, 2023

Bumps bleak from 0.20.2 to 0.21.0.

Release notes

Sourced from bleak's releases.

v0.21.0

Added

  • Added bleak.uuids.normalize_uuid_16() function.
  • Added bleak.uuids.normalize_uuid_32() function.
  • Added advertisement_data() async iterator method to BleakScanner. Merged #1361.
  • Added type hints for kwargs on BleakScanner class methods.
  • Added support for Python 3.12.

Changed

  • Improved error messages when failing to get services in WinRT backend.
  • Improved error messages with enum values in WinRT backend. Fixes #1284.
  • Scanner backends modified to allow multiple advertisement callbacks. Merged #1367.
  • Changed default handling of the response argument in BleakClient.write_gatt_char. Fixes #909.
  • Bleak recipe now automatically installs bleak from GitHub release in Kivy example.
  • Changed BlueZManager methods to raise BleakError when device is not in BlueZ.
  • Optimized BlueZ backend device watchers and condition callbacks to avoid linear searches.
  • Changed type hint for buffer protocol to collections.abc.Buffer.

Fixed

  • Fixed handling all access denied errors when enumerating characteristics on Windows. Fixes #1291.
  • Added support for 32bit UUIDs. Fixes #1314.
  • Fixed typing for BaseBleakScanner detection callback.
  • Fixed possible crash in _stopped_handler() in WinRT backend. Fixes #1330.
  • Reduced expensive logging in the BlueZ backend. Merged #1376.
  • Fixed race condition with "InterfaceRemoved" when getting services in BlueZ backend.
  • Fixed missing permissions and requirements in android Kivy example. Fixes #1184.
  • Fixed WinRT backend sometimes hanging forever when a device goes out of range during connection. Fixes #1359.
Changelog

Sourced from bleak's changelog.

0.21.0_ (2023-09-02)

Added

  • Added bleak.uuids.normalize_uuid_16() function.
  • Added bleak.uuids.normalize_uuid_32() function.
  • Added advertisement_data() async iterator method to BleakScanner. Merged #1361.
  • Added type hints for kwargs on BleakScanner class methods.
  • Added support for Python 3.12.

Changed

  • Improved error messages when failing to get services in WinRT backend.
  • Improved error messages with enum values in WinRT backend. Fixes #1284.
  • Scanner backends modified to allow multiple advertisement callbacks. Merged #1367.
  • Changed default handling of the response argument in BleakClient.write_gatt_char. Fixes #909.
  • Bleak recipe now automatically installs bleak from GitHub release in Kivy example.
  • Changed BlueZManager methods to raise BleakError when device is not in BlueZ.
  • Optimized BlueZ backend device watchers and condition callbacks to avoid linear searches.
  • Changed type hint for buffer protocol to collections.abc.Buffer.

Fixed

  • Fixed handling all access denied errors when enumerating characteristics on Windows. Fixes #1291.
  • Added support for 32bit UUIDs. Fixes #1314.
  • Fixed typing for BaseBleakScanner detection callback.
  • Fixed possible crash in _stopped_handler() in WinRT backend. Fixes #1330.
  • Reduced expensive logging in the BlueZ backend. Merged #1376.
  • Fixed race condition with "InterfaceRemoved" when getting services in BlueZ backend.
  • Fixed missing permissions and requirements in android Kivy example. Fixes #1184.
  • Fixed WinRT backend sometimes hanging forever when a device goes out of range during connection. Fixes #1359.

Removed

Dropped support for Python 3.7.

Commits
  • a00f76a v0.21.0
  • 8dd12fa docs: mock typing_extensions
  • 82f4b71 backends/winrt: start migration away from bleak_winrt
  • ed4e8b5 implement PEP 692 type hints for BleakScanner kwargs
  • 9fb8723 update PyObjC version to 9.2
  • 33d1880 drop support for Python 3.7
  • 3c1fac9 use PEP 688 collections.abc.Buffer for type hints
  • a8affc8 backends/winrt/client.py: drop use of pythonapi (#1407)
  • b25ec46 backends/winrt/client.py: Add delay before closing services. (#1406)
  • 435e7c3 vsocde: add config files
  • 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.20.2 to 0.21.0.
- [Release notes](https://github.com/hbldh/bleak/releases)
- [Changelog](https://github.com/hbldh/bleak/blob/develop/CHANGELOG.rst)
- [Commits](hbldh/bleak@v0.20.2...v0.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 4, 2023
@dknowles2 dknowles2 merged commit 2ec2455 into main Sep 4, 2023
1 check passed
@dependabot dependabot bot deleted the dependabot/pip/bleak-0.21.0 branch September 4, 2023 02:58
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