v0.6.4 !!Broken!! Do not install
Very much a maintenance release, but with a few important bug fixes.
Thanks to @skrashevich and @itsteddyyo for their much-appreciated contributions via PRs merged into this release, and to those who have generously offered financial support to keep Bermuda improving. As well as the amazing community support these things make it that much more enjoyable to further this thing that I made to scratch my own itches :-)
Most of these changes have been sitting in the main
branch of the repo for about two weeks, so you may already have these changes if you're tracking that branch rather than official releases.
This release sees:
- fixes to the
dump_devices
service call - making sure that changing the Area on a scanner applies properly
- an important fix for devices that are both Private_ble and iBeacon (ie, all Android HA Companion app beacons) that would stop updating after a time
- some tidying / hardening of calculations
- a process that "prunes" stale mac addresses from the in-memory cache to keep only the last 1000 un-tracked devices over the past 3 days. This may offer some CPU usage improvements, after 6 days my server went from 0.004 seconds per update cycle to 0.100s per cycle. Now it remains pretty stable around 0.005. It may improve memory usage but I didn't see much difference there on my machine.
- 🚨 Device names are now filtered for whitespace and binary cruft before and after the name. I have a device that calls itself 'UC96BLE\0\0\0\0' which makes it very unpopular with my long-term stats database :-) Note that you might find some device names may change if they had whitespace or non-alphanum chars in their names previously.
Changes
- (fix) error in dump_devices serialising adverts @agittins (#159)
- fix: Ensure scanner area updates are persisted to config data @agittins (#163)
- Fix comparison error found in issue #167 by @itsteddyyo @agittins (#169)
- fix (performance): Pruning of device states @agittins (#170)
- chore (ide): Update vscode to use debugpy @agittins (#171)
- linting: fix/clean-ups for pylance type checking @agittins (#172)
- Fix for broken sensors on IRK+iBeacon devices (ie, Android Phones) @agittins (#176)
- Add null and non-positive time checks in calculate_data @skrashevich (#181)
- chore: Prevent warning about un-fresh source if it is not yet initialised @agittins (#184)
📦 Dependencies
- chore(deps): bump ruff from 0.3.5 to 0.3.7 @dependabot (#161)
- chore(deps): bump black from 24.3.0 to 24.4.0 in /.github/workflows @dependabot (#166)
- chore(deps): bump black from 24.3.0 to 24.4.0 @dependabot (#165)
- chore(deps): bump ruff from 0.3.7 to 0.4.0 @dependabot (#168)
- chore(deps): bump softprops/action-gh-release from 2.0.4 to 2.0.5 @dependabot (#183)
- chore(deps): bump ruff from 0.4.0 to 0.4.3 @dependabot (#182)
- chore(deps): bump black from 24.4.0 to 24.4.2 @dependabot (#178)
- chore(deps): bump black from 24.4.0 to 24.4.2 in /.github/workflows @dependabot (#177)