- 
                Notifications
    
You must be signed in to change notification settings  - Fork 12
 
Update dependency bleak to ^0.22.0 #61
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
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.0Release Notes
hbldh/bleak (bleak)
v0.22.3Compare Source
======================
Changed
bleak.backends.winrt.util.v0.22.2Compare Source
======================
Changed
BleakClientWinRTfrom scan response if advertising is None (WinRT).advattribute ofbleak.backends.winrt.scanner._RawAdvData.BleakGATTCharacteristic.max_write_without_response_sizeis now dynamic.Fixed
discovered_devices_and_advertisement_datareturning devices that shouldbe filtered out by service UUIDs. Fixes #1576.
Descriptor None was not found!exception occurring instart_notify()on Android. Fixes #823.BleakScannerwhile running in a Windows GUI app.v0.22.1Compare Source
======================
Added
bleak.backends.winrt.util.allow_sta()method to allow integrationwith graphical user interfaces on Windows. Fixes #1565.
v0.22.0Compare Source
======================
Added
BleakCharacteristicNotFoundErrorwhich is raised if a device does not support a characteristic.pywin32setting threading model to STA on Windows.Changed
BlueZManagerto remove empty interfaces from_propertiesduring InterfacesRemoved message.Fixed
Unpack[ExtraArgs]that were intended to be optional. Fixes #1487.KeyErrorin BlueZis_connected()andget_global_bluez_manager()when device is not present. Fixes #1507._wait_removedcompletion on invalid object path. Fixes #1489.use_bdaddr. Fixes #1523.tx_powerin Android backend. Fixes #1532.BleakClient.*_gatt_charmethods. Fixes #1498.v0.21.1Compare Source
======================
Changed
dbus-fastdependency to include v2.x. Fixes #1412.v0.21.0Compare Source
======================
Added
bleak.uuids.normalize_uuid_16()function.bleak.uuids.normalize_uuid_32()function.advertisement_data()async iterator method toBleakScanner. Merged #1361.BleakScannerclass methods.Changed
responseargument inBleakClient.write_gatt_char.Fixes #909.
BlueZManagermethods to raiseBleakErrorwhen device is not in BlueZ.collections.abc.Buffer.Fixed
BaseBleakScannerdetection callback._stopped_handler()in WinRT backend. Fixes #1330."InterfaceRemoved"when getting services in BlueZ backend.Removed
Dropped support for Python 3.7.
v0.20.2Compare Source
======================
Fixed
org.bluez.Error.InProgressin characteristic and descriptor read andwrite methods in BlueZ backend.
OSError: [WinError -2147483629] The object has been closedwhenconnecting on Windows. Fixes #1280.
v0.20.1Compare Source
======================
Fixed
BleakClient.start_notify().BleakScanner(detection_callback=).v0.20.0Compare Source
======================
Added
BLEAK_DBUS_AUTH_UIDenvironment variable for hardcoding D-Bus UID. Merged #1182.Noneto some scanner methods.BleakScanner.find_device_by_name()class method.bleak.uuids.normalize_uuid_str()function.servicesargument toBleakClient()to filter services. Merged #654.le-connection-abort-by-localin BlueZ backend. Fixes #1220.Changed
async-timeoutdependency on Python >= 3.11.BLEDevice.rssiandBLEDevice.metadata. Fixes #1025.BLEDevicenow uses__slots__to reduce memory usage. Merged #1117.BaseBleakClient.servicesis nowNoneinstead of empty service collectionuntil services are discovered.
BLEAK_LOGGINGoutput. Merged #1144.Fixed
uuids.uuid16_dict.AttributeErrorin_ensure_successin WinRT backend.BleakScanner.stop()can raiseBleakDBusErrorwithorg.bluez.Error.NotReadyin BlueZ backend.BleakScanner.stop()hanging in WinRT backend when Bluetooth is disabled.get_services()is cancelled in WinRT backend.detection_callbackwhen a device doesnot send a scan response. Fixes #1211.
BLEDevicename sometimes incorrectlyNone.CentralManagerDelegatedestructor on macOS. Fixes #1219.disconnected_callbackis notBleakClient. Fixes #1200.v0.19.5Compare Source
======================
Fixed
v0.19.4Compare Source
======================
Fixed
TypeErrorin WinRT backend introduced in v0.19.3.v0.19.3Compare Source
======================
Fixed
TimeoutErrorwhen connecting to certain devices with WinRT backend. Fixes #604.v0.19.2Compare Source
======================
Fixed
KeyErrorcrash in BlueZ backend when removing non-existent property. Fixes #1107.v0.19.1Compare Source
======================
Fixed
AttributeErrorcrash when scanning on Windows builds < 19041. Fixes #1094.v0.19.0Compare Source
======================
Added
BleakDeviceNotFoundErrorwhich should is raised if a device can notbe found by
connect,pairandunpair. Merged #1022.rssiattribute toAdvertisementData. Merged #1047.BleakScanner.discovered_devices_and_advertisement_dataproperty. Merged #1047.return_advargument toBleakScanner.discovermethod. Merged #1047.BleakClient.unpair()implementation for BlueZ backend. Merged #1067.Changed
AdvertisementDatato a named tuple. Merged #1047.unpack_variantsis now provided by dbus-fast. Merged #1055.Fixed
loops (i.e. multiple pytest-asyncio cases). Merged #1034.
max_pdu_size_changed_handlerin WinRT backend. Fixes #1039.WinError -2147483629. Fixes #1061.Removed
Removed
bleak.__version__. Useimportlib.metadata.version('bleak')instead.v0.18.1Compare Source
======================
Fixed
v0.18.0Compare Source
======================
Changed
async-timeoutdependency version to support different installations. Merged #1009.BleakClient.unpair()in WinRT backend can be called without being connected first. Merged #1012.BleakScannerandBleakClientare now concrete classes. Fixes #582.BleakScanner.register_detection_callback().BleakScanner.set_scanning_filter().BleakClient.set_disconnected_callback().BleakClient.get_services().BleakClient.start_notify().inttoBleakGattCharacteristic. Fixes #759.Fixed
tx_powernot included inAdvertisementData.__repr__when 0. Merged #1017.v0.17.0Compare Source
======================
Added
AdvertisementDataclass now has an attributetx_power. Merged #987.Changed
BleakClientmethods now raiseBleakErrorif called when not connected in WinRT backend. Merged #973.To use the cache, call
connectandget_serviceswith thedangerous_use_bleak_cacheargument to avoid services being resolved again. Merged #923.
dbus-fastpackage instead ofdbus-nextwhich significantly improves performance. Merged #988.BleakClientWinRT. #1000.discover()method. Merged #1005.Fixed
AttributeErrorwhen enabling notifications for battery service in BlueZ backend. Merged #976.propertiesanddescriptorsproperties ofBleakGATTCharacteristic. Merged #989.GetManagedObjectsreturns in BlueZ backend. Fixes #996.max_pdu_size_changed_handlerin WinRT backend. Fixes #998.Removed
BLEDeviceCoreBluetoothtype from CoreBluetooth backend. Merged #977.v0.16.0Compare Source
======================
Added
BleakGattCharacteristic.max_write_without_response_sizeproperty. Fixes #738.Fixed
were still listed in
BleakScanner.discovered_devices. Fixes #942.Changed
async_timeoutinstead ofasyncio.wait_for for performance. Merged #916.BlueZManager.get_services(). Fixes #927.Removed
BleakScannerdetection callbacks on BlueZ backend. Merged #964.v0.15.1Compare 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.0Compare Source
======================
Added
assigned_numbersmodule andAdvertisementDataTypeenum.bluezkwarg toBleakScannerin BlueZ backend.PendingDeprecationWarningto use ofaddress_typeas keyword argument. It will be moved into thewinrtkeyword instead according to #623.Changed
py.typedfile 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_callbackandservice_uuidsare no longer keyword-only.BleakScanner()argscanning_modeis no longer Windows-only and is no longer keyword-only.BleakScanner()instances in BlueZ backend now use common D-Bus object manager.filterskwarg inBleakScannerin BlueZ backend.Fixed
BleakScannerscans orBleakClientis connected. Fixes #500.BleakClientin 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.