Refactored common code in BleakClient.start_notify().
(BREAKING) Changed notification callback argument from int to BleakGattCharacteristic. Fixes #759.
Fixed
Fixed tx_power not included in AdvertisementData.__repr__ when 0. Merged #1017.
0.17.0_ (2022-09-12)
Added
AdvertisementData class now has an attribute tx_power. Merged #987.
Changed
BleakClient methods now raise BleakError if called when not connected in WinRT backend. Merged #973.
Extended disconnect timeout to 120 seconds in WinRT backend. Fixes #807.
Changed version check for BlueZ battery workaround to exclude versions >= 5.55. Merged #976.
Use Poetry for build system and dependencies. Merged #978.
The BlueZ D-Bus backend implements a services cache between connections to significancy improve reconnect performance.
To use the cache, call connect and get_services with the dangerous_use_bleak_cache
argument to avoid services being resolved again. Merged #923.
The BlueZ D-Bus backend now uses dbus-fast package instead of dbus-next which significantly improves performance. Merged #988.
The BlueZ D-Bus backend will not avoid trying to connect to devices that are already connected. Fixes #992.
Updated logging to lazy version and replaced format by f-string for BleakClientWinRT. #1000.
Added deprecation warning to discover() method. Merged #1005.
BlueZ adapter is chosen dynamically if not provided, instead of using hardcoded "hci0". Fixes #513.
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
b173cff
v0.18.1e0cb89f
revert breaking name changes655498c
Merge pull request #1027 from hbldh/release/0.18.0e2f2dd7
v0.18.079701d9
BleakClient: fix missing mtu_size propertybe97338
BREAKING: change notification callback argument548166f
backends: refactor BleakClient.start_notifybdb37b2
bleak: fix backend kwarg type hint04bf102
backends: fix implicit scanning when connectingd01fa05
docs: fix build when async_timeout not installedDependabot 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)