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

Release/0.14.3 #818

Merged
merged 24 commits into from
Apr 29, 2022
Merged

Release/0.14.3 #818

merged 24 commits into from
Apr 29, 2022

Conversation

dlech
Copy link
Collaborator

@dlech dlech commented Apr 29, 2022

Changed

Fixed

dlech and others added 24 commits January 10, 2022 14:26
If bleak is running in a .app (e.g. created with py2app), then scanning
in macOS 12 works as it did in previous versions, so we don't need to
log the error. We can determine this by checking the bundle id since
Python itself is a .app and has a bundle id.

Related: #720
bytearray(val) will create a zero-filled instance of length val.
bytearray([val]) will create a bytearray containing val.
bluezdbus: Return the battery percentage in an array
Skip logging CoreBlueooth scanner error if running as .app
Apple has fixed the bug in macOS that caused Bleak to be treated as
a background app and not return scan results unless a service UUID
was provided.
black finally has a stable release, so we shouldn't expect breaking changes for a year
Black is stable now, so we shouldn't have to do this again for a whole year.
Local device info object for pair/unpair
* Add a Multiple Device Troubleshooting Sections

- Add information / tips to help with:
  - Connection issues to multiple devices
  - Pass more parameters to notify callback function

Fixes #754
This fixes a leak of the future passed to _disconnect_futures in
CentralManagerDelegate.disconnect(). As with other methods, this future
is only valid for the duration of the method call.

This was probably just a typo since _disconnect_callbacks also starts
with _disconnect.
This removes the disconnect callback from self._disconnect_callbacks
when a device disconnects. This ensures that the callback is not called
more than once and that objects referenced by the callback are not leaked
if the remote device initiates the disconnection and the disconnect method
is never called.
This documents a couple of common macOS issues.

Fixes #768
corebluetooth: suppress error message in macOS 12.3
docs/troubleshooting: common macOS issues
…ered the filters to match the bluez documentation.
…filters-bluez

Adds filters Discoverable and Pattern to the Bluezdbus scanner.
@dlech dlech merged commit 0361ba4 into master Apr 29, 2022
@dlech dlech deleted the release/0.14.3 branch April 29, 2022 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants