Skip to content

v4.6.1

Latest

Choose a tag to compare

@github-actions github-actions released this 21 May 21:28
· 7 commits to main since this release

v4.6.1 (2026-05-21)

This release is published under the MIT License.

Bug Fixes

  • Prevent get_device exceptions escaping clear_cache (#281, 6a48758)

Chores

  • Replace isort and black with ruff (#246, 8b4052f)

  • ci: Bump codecov/codecov-action from 5 to 6 in the github-actions group (#243, 83389fb)

  • deps: Bump dbus-fast from 4.0.0 to 4.3.0 (#272, a15f6c0)

  • deps-dev: Bump idna from 3.10 to 3.15 (#274, baf999a)

  • deps-dev: Bump pygments from 2.19.2 to 2.20.0 (#250, 4b7bf41)

  • deps-dev: Bump pytest from 9.0.2 to 9.0.3 (#249, 75f08f8)

  • deps-dev: Bump pytest-cov from 7.0.0 to 7.1.0 (#271, 2154c69)

  • deps-dev: Bump requests from 2.32.5 to 2.33.0 (#247, 617032c)

  • deps-dev: Bump urllib3 from 2.6.3 to 2.7.0 (#248, 85995bd)

  • pre-commit.ci: Pre-commit autoupdate (#269, d30b967)

  • pre-commit.ci: Pre-commit autoupdate (#242, 0fb6e5d)

Continuous Integration

Documentation

  • Add extension methods documentation (#239, a842ae3)

  • Cover remaining undocumented public APIs (#251, 00cfa18)

  • Document undocumented public APIs (#245, 8efbdc0)

  • Export BleakConnectionError and BleakOutOfConnectionSlotsError in all (#278, cf2f9a3)

  • Fix copy-paste docstring on BleakConnectionError (#279, f882c56)

  • Replace black code-style badge with ruff (#252, 7466b3d)

Refactoring

  • Drop dead rssi variable from establish_connection debug logs (#280, 5add034)

  • Import DISCONNECT_TIMEOUT from const instead of redefining (#282, 7888a3d)

Testing

  • Cover init.py fallback paths (87% → 95%) (#267, 0f5c10e)

  • Cover bleak_manager DBus socket cache paths (#260, 8d2dd75)

  • Cover clear_cache early returns and RemoveDevice send path (#265, bd29b78)

  • Cover dbus.disconnect_devices (#261, 4804bd2)

  • Cover EOFError reconnect path in establish_connection (#263, 0d16a08)

  • Cover establish_connection branches with debug logging off (#276, 4fa03f4)

  • Cover get_bluez_device, get_device_by_adapter and get_connected_devices (#264, 2d02ba3)

  • Cover missing branches in calculate_backoff_time (#259, 5570aed)

  • Cover restore_discoveries early-return branches (#275, 0130731)

  • Cover wait_for_device_to_reappear no-debug branches and _get_services_cache (#270, 51b5434)

  • Cover wait_for_disconnect and reappear debug logging (#262, 373806d)

  • Drop deprecated BLEDevice kwargs from test fixtures (#257, d037fae)

  • Integrate blockbuster to catch blocking calls in async tests (#256, f1b8c6e)

  • Make sync tests async to silence pytest-asyncio warnings (#258, d4e8377)

  • Stop _prime_dbus_coverage from leaking an event loop (#277, 6324ada)


Detailed Changes: v4.6.0...v4.6.1