diff --git a/CHANGELOG.md b/CHANGELOG.md index 0acd62c..3d024f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,16 @@ # Changelog +## v3.21.1 (2025-02-04) + +### Bug fixes + + +- Update poetry to v2 (#147) ([`aefe36e`](https://github.com/Bluetooth-Devices/habluetooth/commit/aefe36e2507566224267f371511c1f1c748a37a9)) + + ## v3.21.0 (2025-02-01) -### Feature +### Features - Reduce remote scanner adv processing overhead (#140) ([`7bf302b`](https://github.com/Bluetooth-Devices/habluetooth/commit/7bf302bac3855cf7e229dd2744acce513b2e2ee4)) @@ -10,7 +18,7 @@ ## v3.20.1 (2025-02-01) -### Fix +### Bug fixes - Remove unused centralbluetoothmanager in models (#138) ([`7466034`](https://github.com/Bluetooth-Devices/habluetooth/commit/74660343b30fec50b927fdddd92e72eacb4da6cf)) @@ -21,7 +29,7 @@ ## v3.20.0 (2025-02-01) -### Feature +### Features - Reduce adv tracker overhead (#137) ([`69168a6`](https://github.com/Bluetooth-Devices/habluetooth/commit/69168a64572ab3fba696d2afedeb015953afb0cc)) @@ -29,7 +37,7 @@ ## v3.19.0 (2025-02-01) -### Feature +### Features - Reduce overhead to convert non-connectable bluetoothserviceinfobleak to connectable (#135) ([`37fc839`](https://github.com/Bluetooth-Devices/habluetooth/commit/37fc839d5fc73ff6f784ec8041606be82d58322b)) @@ -37,7 +45,7 @@ ## v3.18.0 (2025-02-01) -### Feature +### Features - Refactor scanner_adv_received to reduce ref counting (#134) ([`a1945ce`](https://github.com/Bluetooth-Devices/habluetooth/commit/a1945cedc2373082814e8f4b4426a50c79788305)) @@ -45,7 +53,7 @@ ## v3.17.1 (2025-01-31) -### Fix +### Bug fixes - Ensure allocations are available if the adapter never makes any connections (#131) ([`b3dfa48`](https://github.com/Bluetooth-Devices/habluetooth/commit/b3dfa48dba2482c16f61fceaf9a0f58ea55df982)) @@ -53,7 +61,7 @@ ## v3.17.0 (2025-01-31) -### Feature +### Features - Remove the need to call set_manager to set up (#130) ([`1312bf7`](https://github.com/Bluetooth-Devices/habluetooth/commit/1312bf7d978ff585e66d99bde766e85773fce006)) @@ -61,7 +69,7 @@ ## v3.16.0 (2025-01-31) -### Feature +### Features - Allow bluetoothmanager to be created with defaults (#129) ([`70b2f69`](https://github.com/Bluetooth-Devices/habluetooth/commit/70b2f6952fbd3ecd499a4c66ec305869158a428e)) @@ -69,7 +77,7 @@ ## v3.15.0 (2025-01-31) -### Feature +### Features - Include findmy packets in wanted adverts (#127) ([`5217850`](https://github.com/Bluetooth-Devices/habluetooth/commit/5217850934bfed5d8e70f8b43c84cd97cf53cdac)) @@ -77,7 +85,7 @@ ## v3.14.0 (2025-01-29) -### Feature +### Features - Add allocations to diagnostics (#126) ([`aa41088`](https://github.com/Bluetooth-Devices/habluetooth/commit/aa4108872478720ab4cbcf52c5add015441fe72d)) @@ -85,7 +93,7 @@ ## v3.13.0 (2025-01-28) -### Feature +### Features - Add async_register_scanner_registration_callback and async_current_scanners to the manager (#125) ([`99fcb46`](https://github.com/Bluetooth-Devices/habluetooth/commit/99fcb46a73ea6cb8f01817263d01a342365be78f)) @@ -93,7 +101,7 @@ ## v3.12.0 (2025-01-22) -### Feature +### Features - Add support for connection allocations for non-connectable scanners (#120) ([`d76b7c9`](https://github.com/Bluetooth-Devices/habluetooth/commit/d76b7c9624b6c4e6beedc1bd56dd1a3c0df70eec)) @@ -101,7 +109,7 @@ ## v3.11.2 (2025-01-22) -### Fix +### Bug fixes - Re-release again for failed arm runners (#119) ([`af2bb50`](https://github.com/Bluetooth-Devices/habluetooth/commit/af2bb50879713378a32339e490a57b56083a4fa7)) @@ -109,7 +117,7 @@ ## v3.11.1 (2025-01-22) -### Fix +### Bug fixes - Re-release due to failed github action (#118) ([`90e2192`](https://github.com/Bluetooth-Devices/habluetooth/commit/90e2192ff75c13ccf610fd06a61e64d60dfd1a18)) @@ -117,7 +125,7 @@ ## v3.11.0 (2025-01-22) -### Feature +### Features - Add api for getting current slot allocations (#116) ([`0a9bef9`](https://github.com/Bluetooth-Devices/habluetooth/commit/0a9bef927c5f29c3e724fb60aa06706b6d896f82)) @@ -125,7 +133,7 @@ ## v3.10.0 (2025-01-21) -### Feature +### Features - Add support for getting callbacks when adapter allocations change (#115) ([`c6fd2ba`](https://github.com/Bluetooth-Devices/habluetooth/commit/c6fd2babf0c6438ff85220edef95df3d3b4fae9c)) @@ -133,7 +141,7 @@ ## v3.9.2 (2025-01-20) -### Fix +### Bug fixes - Increase rssi switch value to 16 (#111) ([`db367db`](https://github.com/Bluetooth-Devices/habluetooth/commit/db367dbef3fa883348a72cf17e29d9c26a09de53)) @@ -141,7 +149,7 @@ ## v3.9.1 (2025-01-20) -### Fix +### Bug fixes - Increase rssi switch threshold for advertisements (#110) ([`297c269`](https://github.com/Bluetooth-Devices/habluetooth/commit/297c2693f9a2c007f0e70175c24416c8bb7da099)) @@ -149,7 +157,7 @@ ## v3.9.0 (2025-01-17) -### Feature +### Features - Switch to native arm runners for wheel builds (#106) ([`bf7e98b`](https://github.com/Bluetooth-Devices/habluetooth/commit/bf7e98b099597916bb7566eb03472023f8acef97)) @@ -157,7 +165,7 @@ ## v3.8.0 (2025-01-10) -### Feature +### Features - Add async_register_disappeared_callback (#102) ([`ec1d445`](https://github.com/Bluetooth-Devices/habluetooth/commit/ec1d4456ca15c6fca3248f2e5d73fcb1ba9d36c6)) @@ -165,13 +173,13 @@ ## v3.7.0 (2025-01-05) -### Fix +### Bug fixes - Publish workflow (#99) ([`341c8a4`](https://github.com/Bluetooth-Devices/habluetooth/commit/341c8a4b72fb2818a3bed44632048d8570fc3b67)) -### Feature +### Features - Start building wheels for python 3.13 (#97) ([`26dd831`](https://github.com/Bluetooth-Devices/habluetooth/commit/26dd831c28f3c0dfe0745769749e795e7937c7df)) @@ -186,7 +194,7 @@ ## v3.6.0 (2024-10-20) -### Feature +### Features - Speed up creation of advertisementdata namedtuple (#75) ([`28f7e60`](https://github.com/Bluetooth-Devices/habluetooth/commit/28f7e6093c3985da16e537bc9d989d839ad80c56)) @@ -194,7 +202,7 @@ ## v3.5.0 (2024-10-05) -### Feature +### Features - Add support for python 3.13 (#71) ([`b8a4783`](https://github.com/Bluetooth-Devices/habluetooth/commit/b8a4783a43f6e771321974d2c085e5e0dda9e195)) @@ -202,7 +210,7 @@ ## v3.4.1 (2024-09-22) -### Fix +### Bug fixes - Ensure build system required cython 3 (#69) ([`dc85d2f`](https://github.com/Bluetooth-Devices/habluetooth/commit/dc85d2fd1b8c8e4d8eb4515aa60af06782fc8722)) @@ -210,7 +218,7 @@ ## v3.4.0 (2024-09-02) -### Feature +### Features - Add a fast cython init path for bluetoothserviceinfobleak (#48) ([`f532ed2`](https://github.com/Bluetooth-Devices/habluetooth/commit/f532ed215b429f0bbd14dacc30f87c53f22af245)) @@ -218,7 +226,7 @@ ## v3.3.2 (2024-08-20) -### Fix +### Bug fixes - Disable 3.13 wheels (#64) ([`9e8bbff`](https://github.com/Bluetooth-Devices/habluetooth/commit/9e8bbff6179e08bd6e05341ff48fff3adc5c6157)) @@ -226,7 +234,7 @@ ## v3.3.1 (2024-08-20) -### Fix +### Bug fixes - Bump cibuildwheel to fix wheel builds (#63) ([`68d838a`](https://github.com/Bluetooth-Devices/habluetooth/commit/68d838a1d2adab9efe1fb5eba65e81b5dcc9a351)) @@ -234,13 +242,13 @@ ## v3.3.0 (2024-08-20) -### Fix +### Bug fixes - Cleanup advertisementmonitor mapper (#61) ([`7d3483d`](https://github.com/Bluetooth-Devices/habluetooth/commit/7d3483d87d3e03c19cf528a1838acce5b194533e)) -### Feature +### Features - Override devicefound and devicelost for passive monitoring (#60) ([`a802859`](https://github.com/Bluetooth-Devices/habluetooth/commit/a8028596bf3576a35750ae8575f173c75f918f28)) @@ -248,7 +256,7 @@ ## v3.2.0 (2024-07-27) -### Feature +### Features - Small speed ups to scanner detection callback (#55) ([`7a5129a`](https://github.com/Bluetooth-Devices/habluetooth/commit/7a5129a40a12382c089453880210c41bb0f28a32)) @@ -256,7 +264,7 @@ ## v3.1.3 (2024-06-24) -### Fix +### Bug fixes - Wheel builds (#50) ([`b9a8eec`](https://github.com/Bluetooth-Devices/habluetooth/commit/b9a8eec4f79c2098c0ec318b6b1ff7e3376febf2)) @@ -264,7 +272,7 @@ ## v3.1.2 (2024-06-24) -### Fix +### Bug fixes - Fix license classifier (#49) ([`04aaaa1`](https://github.com/Bluetooth-Devices/habluetooth/commit/04aaaa186c755b869c8d75678f563f6a9c089829)) @@ -272,7 +280,7 @@ ## v3.1.1 (2024-05-23) -### Fix +### Bug fixes - Missing classmethod decorator on find_device_by_address (#47) ([`aa08b13`](https://github.com/Bluetooth-Devices/habluetooth/commit/aa08b136660cddea7c356274c21f20b6d0eef1fa)) @@ -280,7 +288,7 @@ ## v3.1.0 (2024-05-22) -### Feature +### Features - Speed up dispatching bleak callbacks (#46) ([`cbc8b26`](https://github.com/Bluetooth-Devices/habluetooth/commit/cbc8b26f90b9ea4f2a8569c0625b527dd37ef180)) @@ -288,7 +296,7 @@ ## v3.0.1 (2024-05-03) -### Fix +### Bug fixes - Ensure lazy advertisement uses none when name is not present (#44) ([`c300f73`](https://github.com/Bluetooth-Devices/habluetooth/commit/c300f73ba82d3549ea4c156ef11023e9478c8b6c)) @@ -296,7 +304,7 @@ ## v3.0.0 (2024-05-02) -### Breaking +### Features - Make generation of advertisementdata lazy (#42) ([`25f8437`](https://github.com/Bluetooth-Devices/habluetooth/commit/25f843795927ad663a1d5ef1fa9472ec366b9da5)) @@ -304,7 +312,7 @@ ## v2.8.1 (2024-05-02) -### Fix +### Bug fixes - Add missing find_device_by_address mapping (#43) ([`cc8e57e`](https://github.com/Bluetooth-Devices/habluetooth/commit/cc8e57eef7b97a6f2a30488a64d156cb5023c6c6)) @@ -312,7 +320,7 @@ ## v2.8.0 (2024-04-17) -### Feature +### Features - Add support for recovering failed adapters after reboot (#40) ([`04948c3`](https://github.com/Bluetooth-Devices/habluetooth/commit/04948c337adf0f7b291e4e33618a7eae6dc4ebc2)) @@ -320,7 +328,7 @@ ## v2.7.0 (2024-04-17) -### Feature +### Features - Improve fallback to passive mode when active mode fails (#39) ([`17ecc01`](https://github.com/Bluetooth-Devices/habluetooth/commit/17ecc012e096bec0113efea9ceb6a21bb50023fe)) @@ -328,7 +336,7 @@ ## v2.6.0 (2024-04-17) -### Feature +### Features - Speed up stopping the scanner when its stuck setting up (#37) ([`bba8b51`](https://github.com/Bluetooth-Devices/habluetooth/commit/bba8b514490d98dca1020bbfefd9dc1e6a79af5f)) @@ -336,7 +344,7 @@ ## v2.5.3 (2024-04-17) -### Fix +### Bug fixes - Ensure scanner is stopped on cancellation (#36) ([`a21d70a`](https://github.com/Bluetooth-Devices/habluetooth/commit/a21d70a1ac88135eade61c0abc8912c5b04a6b8b)) @@ -344,7 +352,7 @@ ## v2.5.2 (2024-04-16) -### Fix +### Bug fixes - Ensure discovered_devices returns an empty list for offline scanners (#35) ([`2350543`](https://github.com/Bluetooth-Devices/habluetooth/commit/23505437c98529f692ab2dc0f5c3bdb5c9b7e3bd)) @@ -352,7 +360,7 @@ ## v2.5.1 (2024-04-16) -### Fix +### Bug fixes - Wheel builds (#34) ([`5bd671a`](https://github.com/Bluetooth-Devices/habluetooth/commit/5bd671a159292dffe30a69639411926d0bc28123)) @@ -360,7 +368,7 @@ ## v2.5.0 (2024-04-16) -### Feature +### Features - Fallback to passive scanning if active cannot start (#33) ([`3fae981`](https://github.com/Bluetooth-Devices/habluetooth/commit/3fae98162e6b0279375823a3b6e60ee51b87c1bb)) @@ -368,7 +376,7 @@ ## v2.4.2 (2024-02-29) -### Fix +### Bug fixes - Android beacons in passive mode with flags 0x02 (#31) ([`8330e18`](https://github.com/Bluetooth-Devices/habluetooth/commit/8330e187550ec00ed415d3650a2c231921fb8ae7)) @@ -376,7 +384,7 @@ ## v2.4.1 (2024-02-23) -### Fix +### Bug fixes - Avoid concurrent refreshes of adapters (#30) ([`d355b17`](https://github.com/Bluetooth-Devices/habluetooth/commit/d355b1768705706dec7062ad5d6267089d87a88e)) @@ -384,7 +392,7 @@ ## v2.4.0 (2024-01-22) -### Feature +### Features - Improve error reporting resolution suggestions (#29) ([`afff5ba`](https://github.com/Bluetooth-Devices/habluetooth/commit/afff5ba4dfd8a5582174b367ae5ed9c9953b81e9)) @@ -392,7 +400,7 @@ ## v2.3.1 (2024-01-22) -### Fix +### Bug fixes - Ensure unavailable callbacks can be removed from fired callbacks (#28) ([`65e7706`](https://github.com/Bluetooth-Devices/habluetooth/commit/65e7706ef4cdb99f9df5a00f666ab1d30e92e3b1)) @@ -400,7 +408,7 @@ ## v2.3.0 (2024-01-22) -### Feature +### Features - Reduce overhead to remove callbacks by using sets to store callbacks (#27) ([`05ceb85`](https://github.com/Bluetooth-Devices/habluetooth/commit/05ceb85901b17f72988068997c7f39bc0179dca2)) @@ -408,7 +416,7 @@ ## v2.2.0 (2024-01-14) -### Feature +### Features - Improve remote scanner performance (#26) ([`c549b1c`](https://github.com/Bluetooth-Devices/habluetooth/commit/c549b1cf9bbbda0c39dfce92d2888d5b990211da)) @@ -416,7 +424,7 @@ ## v2.1.0 (2024-01-10) -### Feature +### Features - Add support for windows (#25) ([`788dd77`](https://github.com/Bluetooth-Devices/habluetooth/commit/788dd77ffac6664083821d5ba8b264725a3baaff)) @@ -424,7 +432,7 @@ ## v2.0.2 (2024-01-04) -### Fix +### Bug fixes - Handle subclassed str in the client wrapper (#24) ([`f18a30e`](https://github.com/Bluetooth-Devices/habluetooth/commit/f18a30e48fe064993dc64f3af01c5d64b676a82f)) @@ -432,7 +440,7 @@ ## v2.0.1 (2023-12-31) -### Fix +### Bug fixes - Switching scanners too quickly (#23) ([`bd53685`](https://github.com/Bluetooth-Devices/habluetooth/commit/bd536854457bd8b27f9e91921965b88b0ff798c3)) @@ -440,7 +448,7 @@ ## v2.0.0 (2023-12-21) -### Breaking +### Features - Simplify async_register_scanner by removing connectable argument (#22) ([`10ac6da`](https://github.com/Bluetooth-Devices/habluetooth/commit/10ac6da0672c121b5f0246ed688e98111adc7339)) @@ -448,7 +456,7 @@ ## v1.0.0 (2023-12-12) -### Breaking +### Features - Eliminate the need to pass the new_info_callback (#21) ([`65c54a6`](https://github.com/Bluetooth-Devices/habluetooth/commit/65c54a68500be6053677511ffd21ce3dca4b6991)) @@ -456,7 +464,7 @@ ## v0.11.1 (2023-12-11) -### Fix +### Bug fixes - Do not schedule an expire when restoring devices (#20) ([`144cf15`](https://github.com/Bluetooth-Devices/habluetooth/commit/144cf15050a68cca66e7a2e24a5ddc7b87c32e41)) @@ -464,7 +472,7 @@ ## v0.11.0 (2023-12-11) -### Feature +### Features - Relocate bluetoothserviceinfobleak (#18) ([`4f4f32d`](https://github.com/Bluetooth-Devices/habluetooth/commit/4f4f32d78d6abe21e28171f54ff5f3b17c8fb702)) @@ -472,7 +480,7 @@ ## v0.10.0 (2023-12-07) -### Feature +### Features - Small speed ups to base_scanner (#17) ([`e1ff7e9`](https://github.com/Bluetooth-Devices/habluetooth/commit/e1ff7e9fb91a274b1a4bf6943a26e2a3f19780e7)) @@ -480,7 +488,7 @@ ## v0.9.0 (2023-12-06) -### Feature +### Features - Speed up processing incoming service infos (#16) ([`55f6522`](https://github.com/Bluetooth-Devices/habluetooth/commit/55f6522ffc2adaf7e203ff4d2c1b13adc5d8c6a2)) @@ -488,7 +496,7 @@ ## v0.8.0 (2023-12-06) -### Feature +### Features - Auto build the cythonized manager (#15) ([`c3441e5`](https://github.com/Bluetooth-Devices/habluetooth/commit/c3441e5095d62e6e70c2c879c4b5c109a87f463c)) @@ -499,7 +507,7 @@ ## v0.7.0 (2023-12-05) -### Feature +### Features - Port bluetooth manager from ha (#13) ([`757640a`](https://github.com/Bluetooth-Devices/habluetooth/commit/757640a7b7f60072588168501148ba750316f170)) @@ -507,7 +515,7 @@ ## v0.6.1 (2023-12-04) -### Fix +### Bug fixes - Add missing cythonize for the adv tracker (#12) ([`8140195`](https://github.com/Bluetooth-Devices/habluetooth/commit/8140195a27ef83ea89ca643a5899d80839e574ae)) @@ -515,7 +523,7 @@ ## v0.6.0 (2023-12-04) -### Feature +### Features - Port advertisement_tracker (#11) ([`378667b`](https://github.com/Bluetooth-Devices/habluetooth/commit/378667bce851b5076ee79ff223a72501c5575325)) @@ -523,7 +531,7 @@ ## v0.5.1 (2023-12-04) -### Fix +### Bug fixes - Remove slots to keep hascanner patchable (#10) ([`d068f48`](https://github.com/Bluetooth-Devices/habluetooth/commit/d068f480d292619a1fc49a1256be98bdc6efadd6)) @@ -531,7 +539,7 @@ ## v0.5.0 (2023-12-03) -### Feature +### Features - Port local scanner support from ha (#9) ([`1b1d0e4`](https://github.com/Bluetooth-Devices/habluetooth/commit/1b1d0e4bc17a44a1b20382da6ae28ea8e50e80b7)) @@ -539,7 +547,7 @@ ## v0.4.0 (2023-12-03) -### Feature +### Features - Add more typing for incoming bluetooth data (#8) ([`de590e5`](https://github.com/Bluetooth-Devices/habluetooth/commit/de590e5c886801ff4a87f99c118be8855f337bd0)) @@ -547,7 +555,7 @@ ## v0.3.0 (2023-12-03) -### Feature +### Features - Refactor to be able to use __pyx_pyobject_fastcall (#7) ([`e15074b`](https://github.com/Bluetooth-Devices/habluetooth/commit/e15074b172242f44f641e5232ebdf6297537a2b8)) @@ -558,7 +566,7 @@ ## v0.2.0 (2023-12-03) -### Feature +### Features - Add cython pxd for base_scanner (#5) ([`0195710`](https://github.com/Bluetooth-Devices/habluetooth/commit/0195710bc25c8c3cc68b17a8f31cf281494fdc22)) @@ -566,7 +574,7 @@ ## v0.1.0 (2023-12-03) -### Feature +### Features - Port base scanner from ha (#2) ([`e01a57b`](https://github.com/Bluetooth-Devices/habluetooth/commit/e01a57b6e0003ea8fe64b8e6e11ce09a35c1ada2)) @@ -574,8 +582,7 @@ ## v0.0.1 (2023-12-02) -### Fix +### Bug fixes - Reserve name (#1) ([`5493984`](https://github.com/Bluetooth-Devices/habluetooth/commit/5493984483902039ca396498122e6094524bbae6)) - diff --git a/docs/conf.py b/docs/conf.py index 1263111..69052b9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -7,7 +7,7 @@ project = "habluetooth" copyright = "2023, J. Nick Koston" author = "J. Nick Koston" -release = "3.21.0" +release = "3.21.1" # General configuration extensions = [ diff --git a/pyproject.toml b/pyproject.toml index a979b6b..e2a862e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "habluetooth" -version = "3.21.0" +version = "3.21.1" license.text = "Apache-2.0" description = "High availability Bluetooth" authors = [{ name = "J. Nick Koston", email = "bluetooth@koston.org" }] diff --git a/src/habluetooth/__init__.py b/src/habluetooth/__init__.py index fb2a166..0df3043 100644 --- a/src/habluetooth/__init__.py +++ b/src/habluetooth/__init__.py @@ -1,4 +1,4 @@ -__version__ = "3.21.0" +__version__ = "3.21.1" from .advertisement_tracker import ( TRACKER_BUFFERING_WOBBLE_SECONDS,