-
Notifications
You must be signed in to change notification settings - Fork 12
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
Update dependency bleak to ^0.22.0 #61
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #61 +/- ##
==========================================
- Coverage 93.95% 93.79% -0.16%
==========================================
Files 8 8
Lines 1141 1144 +3
==========================================
+ Hits 1072 1073 +1
- Misses 69 71 +2 ☔ View full report in Codecov by Sentry. |
ac101a5
to
e3c143b
Compare
I am receiving "Invalid request parameters" errors from Codecov and have no idea how to fix it. Just created a new post at Community Board of Codecov: (fingers crossed) |
e3c143b
to
61e5e57
Compare
61e5e57
to
5370d46
Compare
5370d46
to
b8e6f5c
Compare
b8e6f5c
to
f7e5b04
Compare
f7e5b04
to
2ae7430
Compare
2ae7430
to
4d7f030
Compare
4d7f030
to
78385fb
Compare
78385fb
to
3bfeac6
Compare
This PR contains the following updates:
^0.14.3
->^0.22.0
Release Notes
hbldh/bleak (bleak)
v0.22.3
Compare Source
======================
Changed
bleak.backends.winrt.util
.v0.22.2
Compare Source
======================
Changed
BleakClientWinRT
from scan response if advertising is None (WinRT).adv
attribute ofbleak.backends.winrt.scanner._RawAdvData
.BleakGATTCharacteristic.max_write_without_response_size
is now dynamic.Fixed
discovered_devices_and_advertisement_data
returning devices that shouldbe filtered out by service UUIDs. Fixes #1576.
Descriptor None was not found!
exception occurring instart_notify()
on Android. Fixes #823.BleakScanner
while running in a Windows GUI app.v0.22.1
Compare Source
======================
Added
bleak.backends.winrt.util.allow_sta()
method to allow integrationwith graphical user interfaces on Windows. Fixes #1565.
v0.22.0
Compare Source
======================
Added
BleakCharacteristicNotFoundError
which is raised if a device does not support a characteristic.pywin32
setting threading model to STA on Windows.Changed
BlueZManager
to remove empty interfaces from_properties
during InterfacesRemoved message.Fixed
Unpack[ExtraArgs]
that were intended to be optional. Fixes #1487.KeyError
in BlueZis_connected()
andget_global_bluez_manager()
when device is not present. Fixes #1507._wait_removed
completion on invalid object path. Fixes #1489.use_bdaddr
. Fixes #1523.tx_power
in Android backend. Fixes #1532.BleakClient.*_gatt_char
methods. Fixes #1498.v0.21.1
Compare Source
======================
Changed
dbus-fast
dependency to include v2.x. Fixes #1412.v0.21.0
Compare Source
======================
Added
bleak.uuids.normalize_uuid_16()
function.bleak.uuids.normalize_uuid_32()
function.advertisement_data()
async iterator method toBleakScanner
. Merged #1361.BleakScanner
class methods.Changed
response
argument inBleakClient.write_gatt_char
.Fixes #909.
BlueZManager
methods to raiseBleakError
when device is not in BlueZ.collections.abc.Buffer
.Fixed
BaseBleakScanner
detection callback._stopped_handler()
in WinRT backend. Fixes #1330."InterfaceRemoved"
when getting services in BlueZ backend.Removed
Dropped support for Python 3.7.
v0.20.2
Compare Source
======================
Fixed
org.bluez.Error.InProgress
in characteristic and descriptor read andwrite methods in BlueZ backend.
OSError: [WinError -2147483629] The object has been closed
whenconnecting on Windows. Fixes #1280.
v0.20.1
Compare Source
======================
Fixed
BleakClient.start_notify()
.BleakScanner(detection_callback=)
.v0.20.0
Compare Source
======================
Added
BLEAK_DBUS_AUTH_UID
environment variable for hardcoding D-Bus UID. Merged #1182.None
to some scanner methods.BleakScanner.find_device_by_name()
class method.bleak.uuids.normalize_uuid_str()
function.services
argument toBleakClient()
to filter services. Merged #654.le-connection-abort-by-local
in BlueZ backend. Fixes #1220.Changed
async-timeout
dependency on Python >= 3.11.BLEDevice.rssi
andBLEDevice.metadata
. Fixes #1025.BLEDevice
now uses__slots__
to reduce memory usage. Merged #1117.BaseBleakClient.services
is nowNone
instead of empty service collectionuntil services are discovered.
BLEAK_LOGGING
output. Merged #1144.Fixed
uuids.uuid16_dict
.AttributeError
in_ensure_success
in WinRT backend.BleakScanner.stop()
can raiseBleakDBusError
withorg.bluez.Error.NotReady
in BlueZ backend.BleakScanner.stop()
hanging in WinRT backend when Bluetooth is disabled.get_services()
is cancelled in WinRT backend.detection_callback
when a device doesnot send a scan response. Fixes #1211.
BLEDevice
name sometimes incorrectlyNone
.CentralManagerDelegate
destructor on macOS. Fixes #1219.disconnected_callback
is notBleakClient
. Fixes #1200.v0.19.5
Compare Source
======================
Fixed
v0.19.4
Compare Source
======================
Fixed
TypeError
in WinRT backend introduced in v0.19.3.v0.19.3
Compare Source
======================
Fixed
TimeoutError
when connecting to certain devices with WinRT backend. Fixes #604.v0.19.2
Compare Source
======================
Fixed
KeyError
crash in BlueZ backend when removing non-existent property. Fixes #1107.v0.19.1
Compare Source
======================
Fixed
AttributeError
crash when scanning on Windows builds < 19041. Fixes #1094.v0.19.0
Compare Source
======================
Added
BleakDeviceNotFoundError
which should is raised if a device can notbe found by
connect
,pair
andunpair
. Merged #1022.rssi
attribute toAdvertisementData
. Merged #1047.BleakScanner.discovered_devices_and_advertisement_data
property. Merged #1047.return_adv
argument toBleakScanner.discover
method. Merged #1047.BleakClient.unpair()
implementation for BlueZ backend. Merged #1067.Changed
AdvertisementData
to a named tuple. Merged #1047.unpack_variants
is now provided by dbus-fast. Merged #1055.Fixed
loops (i.e. multiple pytest-asyncio cases). Merged #1034.
max_pdu_size_changed_handler
in WinRT backend. Fixes #1039.WinError -2147483629
. Fixes #1061.Removed
Removed
bleak.__version__
. Useimportlib.metadata.version('bleak')
instead.v0.18.1
Compare Source
======================
Fixed
v0.18.0
Compare Source
======================
Changed
async-timeout
dependency version to support different installations. Merged #1009.BleakClient.unpair()
in WinRT backend can be called without being connected first. Merged #1012.BleakScanner
andBleakClient
are now concrete classes. Fixes #582.BleakScanner.register_detection_callback()
.BleakScanner.set_scanning_filter()
.BleakClient.set_disconnected_callback()
.BleakClient.get_services()
.BleakClient.start_notify()
.int
toBleakGattCharacteristic
. Fixes #759.Fixed
tx_power
not included inAdvertisementData.__repr__
when 0. Merged #1017.v0.17.0
Compare Source
======================
Added
AdvertisementData
class now has an attributetx_power
. Merged #987.Changed
BleakClient
methods now raiseBleakError
if called when not connected in WinRT backend. Merged #973.To use the cache, call
connect
andget_services
with thedangerous_use_bleak_cache
argument to avoid services being resolved again. Merged #923.
dbus-fast
package instead ofdbus-next
which significantly improves performance. Merged #988.BleakClientWinRT
. #1000.discover()
method. Merged #1005.Fixed
AttributeError
when enabling notifications for battery service in BlueZ backend. Merged #976.properties
anddescriptors
properties ofBleakGATTCharacteristic
. Merged #989.GetManagedObjects
returns in BlueZ backend. Fixes #996.max_pdu_size_changed_handler
in WinRT backend. Fixes #998.Removed
BLEDeviceCoreBluetooth
type from CoreBluetooth backend. Merged #977.v0.16.0
Compare Source
======================
Added
BleakGattCharacteristic.max_write_without_response_size
property. Fixes #738.Fixed
were still listed in
BleakScanner.discovered_devices
. Fixes #942.Changed
async_timeout
instead ofasyncio.wait_for for performance
. Merged #916.BlueZManager.get_services()
. Fixes #927.Removed
BleakScanner
detection callbacks on BlueZ backend. Merged #964.v0.15.1
Compare Source
======================
Fixed
the connection process which presented as
Failed to cancel connection
. Merged #919.read_gatt_char()
with CoreBluetooth to 20s. Fixes #926.v0.15.0
Compare Source
======================
Added
assigned_numbers
module andAdvertisementDataType
enum.bluez
kwarg toBleakScanner
in BlueZ backend.PendingDeprecationWarning
to use ofaddress_type
as keyword argument. It will be moved into thewinrt
keyword instead according to #623.Changed
py.typed
file so mypy discovers Bleak's type annotations.asyncio.get_event_loop()
in Android backend.read_gatt_char()
with CoreBluetooth to 10s. Merged #891.BleakScanner()
argsdetection_callback
andservice_uuids
are no longer keyword-only.BleakScanner()
argscanning_mode
is no longer Windows-only and is no longer keyword-only.BleakScanner()
instances in BlueZ backend now use common D-Bus object manager.filters
kwarg inBleakScanner
in BlueZ backend.Fixed
BleakScanner
scans orBleakClient
is connected. Fixes #500.BleakClient
in BlueZ backend. Fixes #882.Removed
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.