Skip to content

Latest commit

 

History

History
352 lines (251 loc) · 23.7 KB

CHANGELOG.md

File metadata and controls

352 lines (251 loc) · 23.7 KB

Changelog

v3.5.0 (2024-04-10)

Feature

  • Add device path to the disconnect debug logging (#111) (8e010b3)

v3.4.0 (2024-01-01)

Feature

  • Add close_stale_connections_by_address (#110) (74de12f)

v3.3.0 (2023-10-25)

Feature

  • Handle services changed during connecting (#108) (1c65413)

v3.2.1 (2023-09-14)

Fix

  • Correct fetching the global bluez manager when its not running (#106) (38c63a9)

v3.2.0 (2023-09-14)

Feature

  • Remove devices on cache clear to cleanup disk cache (#103) (349e0de)

v3.1.3 (2023-09-07)

Fix

v3.1.2 (2023-09-03)

Fix

  • Increase bleak safety timeout to allow for longer disconnect timeout (#101) (39380a7)

v3.1.1 (2023-07-25)

Fix

  • Check more often for a device to reappear after the adapter runs out of slots (#100) (4c9c9c0)

v3.1.0 (2023-07-19)

Feature

  • Decrease backoff times (#97) (37b71c8)
  • Update the out of slots message to be more clear (#95) (9269a82)

v3.0.2 (2023-03-25)

Fix

  • Bluez services cache clear was ineffective (#93) (ec86cb6)

v3.0.1 (2023-03-18)

Fix

v3.0.0 (2023-02-25)

Fix

  • Bump python-semantic-release (#90) (c401988)
  • Lint (#89) (c3b5ff8)
  • Typing for generic BleakClient classes and the retry_bluetooth_connection_error decorator (#86) (8ddf242)

Breaking

  • In preparation for the use of Python 3.10 typing features such as ParamSpec, which is unavailable on Python 3.9. (58f9958)

v2.13.1 (2023-01-12)

Fix

  • Make bluetooth-adapters install Linux only as well (#85) (910f0b7)
  • Only import from bluetooth_adapters when running on linux (#84) (51926f7)

v2.13.0 (2022-12-23)

Feature

  • Remove freshen fallback logic since Home Assistant always provides us the best path to the device now (#83) (0954d2d)

v2.12.1 (2022-12-22)

Fix

  • _on_characteristic_value_changed in BleakSlotManager should accept any arguments (#82) (71cc37e)

v2.12.0 (2022-12-22)

Feature

  • Add utility function to get device_source (#81) (d72ce15)

v2.11.0 (2022-12-22)

Feature

v2.10.2 (2022-12-12)

Fix

  • Stop trying to get devices from bluez if dbus setup times out (#78) (a8da722)

v2.10.1 (2022-12-05)

Fix

  • Optimize IS_LINUX check in restore_discoveries (#77) (f22eb33)

v2.10.0 (2022-12-05)

Feature

  • Add restore_discoveries to fix missing devices (#76) (f4432ac)

v2.9.0 (2022-12-03)

Feature

v2.8.9 (2022-12-02)

Fix

  • Always log the connection attempt number (#74) (3306053)

v2.8.8 (2022-12-02)

Fix

  • Avoid logging connecting and connected since our BLEDevice may be stale (#72) (10e040c)

v2.8.7 (2022-12-02)

Fix

  • Enable service cache by default since esp32s are unreliable without it (#71) (0e90c1c)

v2.8.6 (2022-11-30)

Fix

  • Stop trying to check dbus once the socket is missing (#70) (74bd63b)

v2.8.5 (2022-11-19)

Fix

  • Teach the connector about more esp32 errors and times (#68) (09cb73d)

v2.8.4 (2022-11-11)

Fix

  • Increase backoff when local ble adapter runs out of connection slots (#67) (cac7e57)

v2.8.3 (2022-11-06)

Fix

  • Adjust connect timeout to match macos write timeout (#66) (1396fdc)

v2.8.2 (2022-11-01)

Fix

  • Adjust backoffs for slower esp32 proxies (#64) (702a829)

v2.8.1 (2022-10-31)

Fix

  • Reduce logging as timeouts are expected (#63) (8b91838)

v2.8.0 (2022-10-31)

Feature

  • Mark ESP_GATT_ERROR as a transient error (#62) (6d76ac4)

v2.7.0 (2022-10-30)

Feature

v2.6.0 (2022-10-30)

Feature

  • Teach the connector about transient esp32 errors (#60) (486fbbc)

v2.5.0 (2022-10-29)

Feature

  • Increase timeouts now that bleak has resolved the timeout with service discovery and bluez (#59) (2a65e27)

v2.4.2 (2022-10-24)

Fix

  • Missing backoff execution with esp32 (#58) (3229424)

v2.4.1 (2022-10-24)

Fix

  • Ensure we back off for longer when out of slots (#57) (efeced3)

v2.4.0 (2022-10-24)

Feature

  • Improve handling of out of esp32 proxy connection slots (#56) (982b7ae)

v2.3.2 (2022-10-22)

Fix

  • Ensure client is returned when debug is off (#55) (7ddcac8)

v2.3.1 (2022-10-18)

Fix

  • Do not attempt to disconnect non-bluez bledevices (#54) (54b6c84)

v2.3.0 (2022-10-15)

Feature

  • Add a retry_bluetooth_connection_error decorator (#53) (8bb706d)

v2.2.0 (2022-10-15)

Feature

v2.1.3 (2022-09-26)

Fix

v2.1.2 (2022-09-26)

Fix

  • Adjust stale comment in freshen_ble_device (#50) (6cabc1f)

v2.1.1 (2022-09-26)

Fix

  • Set disconnected_callback in the constructor for newer bleak compat (#49) (e2e25b3)

v2.1.0 (2022-09-26)

Feature

v2.0.2 (2022-09-25)

Fix

  • Republish to fix python-semantic-release detecting the wrong version (#47) (65f3cf2)

v1.17.3 (2022-09-24)

Fix

v1.17.2 (2022-09-23)

Fix

  • Add a guard to freshen_ble_device so it can be called on non-linux (#43) (4558a67)

v1.17.1 (2022-09-15)

Fix

  • Adjust backoff times to reduce race risk (#40) (786b442)

v1.17.0 (2022-09-15)

Feature

  • Provide a BLEAK_RETRY_EXCEPTIONS constant (#39) (55dc2e1)

v1.16.0 (2022-09-14)

Feature

  • Do not disconnect unexpectedly connected devices if bleak supports reusing them (#35) (be603ce)

v1.15.1 (2022-09-13)

Fix

  • Revert requirement for newer bleak (#34) (fe7ec26)

v1.15.0 (2022-09-12)

Feature

v1.14.0 (2022-09-11)

Feature

v1.13.2 (2022-09-11)

Fix

  • Race during disconnect when unexpectedly connected (#30) (2ceef9f)

v1.13.1 (2022-09-11)

Fix

  • Disconnect unexpectedly connected devices on other adapters (#29) (85a3efe)

v1.13.0 (2022-09-10)

Feature

  • Make get_device and close_stale_connections part of all (#27) (4d7edfd)

v1.12.3 (2022-09-10)

Fix

  • Disconnect devices that are unexpectedly connected before connecting (#26) (47b31d3)

v1.12.2 (2022-09-10)

Fix

  • Handle already connected devices with no rssi value (#25) (0dfd3b0)

v1.12.1 (2022-09-10)

Fix

  • Get_device returning no device when already connected (#24) (1063b76)

v1.12.0 (2022-09-10)

Feature

  • Add get_device helper to find already connected devices (#23) (595e6a0)

v1.11.1 (2022-09-10)

Fix

  • Handle Dbus EOFError while connecting (#22) (b0bc92d)

v1.11.0 (2022-08-20)

Feature

  • Handle stale BLEDevices when an adapter goes offline (#21) (012c94c)

v1.10.1 (2022-08-19)

Fix

  • Add workaround for when get_services raises (#20) (1c92f6e)

v1.10.0 (2022-08-19)

Feature

v1.9.0 (2022-08-19)

Feature

  • Add ble_device_callback to get a new BLEDevice between connect attempts (#18) (450268b)

v1.8.0 (2022-08-15)

Feature

  • Add last known rssi to the debug log (#17) (1032317)

v1.7.2 (2022-08-12)

Fix

  • Handle device going in and out of range frequently (#16) (89b8c1b)

v1.7.1 (2022-08-12)

Fix

v1.7.0 (2022-08-11)

Feature

  • Add ble_device_has_changed helper (#13) (0a23bb8)

v1.6.0 (2022-08-11)

Feature

v1.5.0 (2022-08-08)

Feature

  • Rethrow UnknownObject as BleakNotFoundError (#12) (a07c50e)

v1.4.0 (2022-08-05)

Feature

  • Improve error reporting when there is a poor connection (#10) (d022777)

v1.3.0 (2022-08-04)

Feature

  • Improve chance of connecting with poor signal (#9) (f0322e7)

v1.2.0 (2022-08-03)

Feature

  • Handle BrokenPipeError from dbus-next via bleak (#8) (21da55d)

v1.1.1 (2022-08-02)

Fix

  • Add back the bleak overall safety timeout (#7) (f3f8ded)

v1.1.0 (2022-07-24)

Feature

  • Pass additional kwargs to the client class (#6) (808e05b)

v1.0.2 (2022-07-22)

Fix

  • Push a new release now that pypi is working again (#5) (3480e22)

v1.0.1 (2022-07-22)

Fix

v0.1.1 (2022-07-22)

Fix

v0.1.0 (2022-07-22)

Feature