Skip to content

v0.19.0

Compare
Choose a tag to compare
@dlech dlech released this 14 Oct 17:47

Added

  • Added support for Python 3.11. Merged #990.
  • Added better error message for Bluetooth not authorized on macOS. Merged #1033.
  • Added BleakDeviceNotFoundError which should is raised if a device can not
    be found by connect, pair and unpair. Merged #1022.
  • Added rssi attribute to AdvertisementData. Merged #1047.
  • Added BleakScanner.discovered_devices_and_advertisement_data property. Merged #1047.
  • Added return_adv argument to BleakScanner.discover method. Merged #1047.
  • Added BleakClient.unpair() implementation for BlueZ backend. Merged #1067.

Changed

  • Changed AdvertisementData to a named tuple. Merged #1047.
  • A faster unpack_variants is now provided by dbus-fast. Merged #1055.

Fixed

  • On BlueZ, support creating additional instances running on a different event
    loops (i.e. multiple pytest-asyncio cases). Merged #1034.
  • Fixed unhandled exception in max_pdu_size_changed_handler in WinRT backend. Fixes #1039.
  • Fixed stale services in WinRT backend causing WinError -2147483629. Fixes #1061.

Removed

Removed bleak.__version__. Use importlib.metadata.version('bleak') instead.