The global BlueZ manager now disconnects correctly on exception. Merged #918.
Handle the race in the BlueZ D-Bus backend where the device disconnects during
the connection process which presented as Failed to cancel connection. Merged #919.
Ensure the BlueZ D-Bus scanner can reconnect after DBus disconnection. Merged #920.
The global BlueZ manager now disconnects correctly on exception. Merged #918.
Handle the race in the BlueZ D-Bus backend where the device disconnects during
the connection process which presented as Failed to cancel connection. Merged #919.
Ensure the BlueZ D-Bus scanner can reconnect after DBus disconnection. Merged #920.
0.15.0_ (2022-07-29)
Added
Added new assigned_numbers module and AdvertisementDataType enum.
Added new bluez kwarg to BleakScanner in BlueZ backend.
Added support for passive scanning in the BlueZ backend. Fixes #606.
Added option to use cached services, characteristics and descriptors in WinRT backend. Fixes #686.
Added PendingDeprecationWarning to use of address_type as keyword argument. It will be moved into the
winrt keyword instead according to #623.
Added better error message when adapter is not present in BlueZ backend. Fixes #889.
Changed
Add py.typed file so mypy discovers Bleak's type annotations.
UUID descriptions updated to 2022-03-16 assigned numbers document.
Replace use of deprecated asyncio.get_event_loop() in Android backend.
Adjust default timeout for read_gatt_char() with CoreBluetooth to 10s. Merged #891.
BleakScanner() args detection_callback and service_uuids are no longer keyword-only.
BleakScanner() arg scanning_mode is no longer Windows-only and is no longer keyword-only.
All BleakScanner() instances in BlueZ backend now use common D-Bus object manager.
Deprecated filters kwarg in BleakScanner in BlueZ backend.
BlueZ version is now checked on first connection instead of import to avoid import side effects. Merged #907.
Fixed
Documentation fixes.
On empty characteristic description from WinRT, use the lookup table instead of returning empty string.
Fixed detection of first advertisement in BlueZ backend. Merged #903.
Fixed performance issues in BlueZ backend caused by calling "GetManagedObjects" each time a
BleakScanner scans or BleakClient is connected. Fixes #500.
Fixed not handling "InterfacesRemoved" in BleakClient in BlueZ backend. Fixes #882.
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 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)
Updates the requirements on bleak to permit the latest version.
Release notes
Sourced from bleak's releases.
Changelog
Sourced from bleak's changelog.
... (truncated)
Commits
ac17549
CHANGELOG: fix commit range in linka52f283
v0.15.166dffab
Avoid reusing the MessageBus in the managerf97f1a4
Handle the race in the BlueZ D-Bus backend where the device disconnects durin...84abfa2
Fix disconnect in the global BlueZ manager8d3ff00
Merge pull request #911 from hbldh/release/v0.15.0a5b98c7
v0.15.035fd612
Merge pull request #907 from bdraco/asyncio_create_subprocess_exec_bluetoothctl1ac732a
Check the bluetoothctl version with asyncio.create_subprocess_exec1d47339
Merge pull request #902 from hbldh/bluez-client-use-global-propsDependabot 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 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)