CHANGELOG

v1.28.2 (2025-07-02)

Bug Fixes

  • Parse multiple 16-bit and 32-bit Service UUIDs in BLE advertisement data (#155, 4b1d6e2)

Chores

  • ci: Bump pypa/cibuildwheel from 2.23.2 to 2.23.3 in the github-actions group (#142, 68fc83f)

  • deps: Bump cryptography from 44.0.2 to 44.0.3 (#143, 94532d9)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump cryptography from 44.0.3 to 45.0.2 (#146, c8661a5)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump cryptography from 45.0.2 to 45.0.3 (#147, 21cf466)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump cryptography from 45.0.3 to 45.0.4 (#152, 2cca2de)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump requests from 2.32.3 to 2.32.4 in the pip group (#150, 67c1724)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump urllib3 from 2.3.0 to 2.5.0 in the pip group (#156, 16e1dad)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps-dev: Bump pytest from 8.3.5 to 8.4.1 (#153, f68a58f)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps-dev: Bump pytest-cov from 6.0.0 to 6.1.1 (#139, 9b2dc3c)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps-dev: Bump pytest-cov from 6.1.1 to 6.2.1 (#151, 45fe00b)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

v1.28.1 (2025-04-28)

Bug Fixes

v1.28.0 (2025-04-27)

Chores

  • deps-dev: Bump h11 from 0.14.0 to 0.16.0 in the pip group (#138, c51e7ab)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

updates: - github.com/commitizen-tools/commitizen: v4.4.1 → v4.5.0 - github.com/astral-sh/ruff-pre-commit: v0.11.2 → v0.11.4

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Features

  • Add parse_advertisement_data_bytes method (#121, ce07c1c)

v1.27.0 (2025-04-03)

Chores

Features

  • Improve performance of parsing manufacturer_data (#134, f853955)

v1.26.5 (2025-04-02)

Bug Fixes

  • Reject data where the splice start position would be greater than end of the data (#132, 028f696)

v1.26.4 (2025-04-02)

Bug Fixes

  • Add more test coverage for out of bound data (#131, 5249fe9)

v1.26.3 (2025-04-02)

Bug Fixes

Chores

  • ci: Bump pypa/cibuildwheel from 2.23.0 to 2.23.2 in the github-actions group (#129, 78a83c6)

chore(ci): bump pypa/cibuildwheel in the github-actions group

Bumps the github-actions group with 1 update: pypa/cibuildwheel.

Updates pypa/cibuildwheel from 2.23.0 to 2.23.2 - Release notes - Changelog - Commits

— updated-dependencies: - dependency-name: pypa/cibuildwheel dependency-version: 2.23.2

dependency-type: direct:production

update-type: version-update:semver-patch

dependency-group: github-actions …

Signed-off-by: dependabot[bot] support@github.com

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

updates: - github.com/astral-sh/ruff-pre-commit: v0.11.0 → v0.11.2

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

v1.26.2 (2025-03-22)

Bug Fixes

Chores

v1.26.1 (2025-03-15)

Bug Fixes

  • Increase size of parse_advertisement_data_tuple cache to 1024 (#124, 00076dc)

fixes #123

This one churns quite a bit and from how often its called, its a drain on performance having it so small.

Chores

  • Update deps (#125, 0e6492a)

  • Updating coverage (7.6.10 -> 7.6.12) - Updating pytest (8.3.4 -> 8.3.5) - Updating cryptography (44.0.1 -> 44.0.2)

  • pre-commit.ci: Pre-commit autoupdate (#120, e45380e)

v1.26.0 (2025-03-10)

Features

v1.25.1 (2025-03-05)

Bug Fixes

  • Use trusted publishing for wheel uploads (#118, 2bddddf)

v1.25.0 (2025-03-05)

Features

v1.24.1 (2025-03-05)

Bug Fixes

v1.24.0 (2025-03-05)

Chores

  • Update release workflow for newer PSR (#114, 93eabee)

  • ci: Bump python-semantic-release/python-semantic-release from 9.17.0 to 9.21.0 in the github-actions group (#113, bbcc3b3)

  • pre-commit.ci: Pre-commit autoupdate (#111, 1a45dae)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

updates: - github.com/commitizen-tools/commitizen: v4.2.1 → v4.4.1 - github.com/astral-sh/ruff-pre-commit: v0.9.6 → v0.9.9

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Features

  • feat: optimize wheel builds

Reduce size of objects

  • chore: armv7l wheels

v1.23.4 (2025-02-04)

Bug Fixes

  • Update poetry to v2 + add license to metadata (#110, 9cce169)

Chores

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

v1.23.3 (2025-02-02)

Bug Fixes

v1.23.2 (2025-02-02)

Bug Fixes

Chores

v1.23.1 (2025-02-02)

Bug Fixes

  • Adjust poetry groups to fix docs build (#104, b74c2bf)

Build System

  • deps-dev: Bump pytest-codspeed from 3.1.2 to 3.2.0 (#101, 9973926)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Chores

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v1.23.0 (2025-02-02)

Chores

  • Bump upload/download actions to v4 (#97, 82e5d05)

  • pre-commit.ci: Pre-commit autoupdate (#96, 55b134e)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • pre-commit.ci: Pre-commit autoupdate (#98, 3a6e50c)

Features

v1.22.0 (2025-01-17)

Features

  • Migrate benchmarks to use Python 3.13 (#95, 949684e)

v1.21.0 (2025-01-17)

Build System

  • deps: Bump cryptography from 43.0.0 to 43.0.1 (#69, 5dec99c)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump cryptography from 43.0.1 to 43.0.3 in the pip group (#73, dc234ae)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump cryptography from 43.0.3 to 44.0.0 (#86, 5e2b7c8)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump jinja2 from 3.1.4 to 3.1.5 in the pip group (#88, e1fc660)

  • deps: Bump myst-parser from 1.0.0 to 3.0.1 (#74, 02fa6ae)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump myst-parser from 3.0.1 to 4.0.0 (#89, b2cf3d4)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump sphinx from 5.3.0 to 6.2.1 (#65, 8fdc7ca)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump sphinx from 6.2.1 to 7.4.7 (#87, ba46d70)

Bumps sphinx from 6.2.1 to 7.4.7. - Release notes - Changelog - Commits

— updated-dependencies: - dependency-name: sphinx dependency-type: direct:production

update-type: version-update:semver-major …

Signed-off-by: dependabot[bot] support@github.com

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump sphinx from 7.4.7 to 8.1.3 (#92, 2f563b2)

  • deps: Bump sphinx-rtd-theme from 1.2.0 to 2.0.0 (#58, e9c06db)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump sphinx-rtd-theme from 2.0.0 to 3.0.1 (#75, 3ab4688)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump sphinx-rtd-theme from 3.0.1 to 3.0.2 (#81, 17c43a6)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps-dev: Bump pytest from 8.3.2 to 8.3.3 (#71, d0d69a5)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps-dev: Bump pytest from 8.3.3 to 8.3.4 (#84, 93a3bdf)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps-dev: Bump pytest-benchmark from 4.0.0 to 5.1.0 (#80, 733077b)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps-dev: Bump pytest-cov from 5.0.0 to 6.0.0 (#79, 0dc38f7)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Chores

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • pre-commit.ci: Pre-commit autoupdate (#67, fd49b0f)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • pre-commit.ci: Pre-commit autoupdate (#70, 5b0c528)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • pre-commit.ci: Pre-commit autoupdate (#72, da219f4)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • pre-commit.ci: Pre-commit autoupdate (#76, 1da6085)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • pre-commit.ci: Pre-commit autoupdate (#78, 0ca9d53)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • pre-commit.ci: Pre-commit autoupdate (#82, 9d1907e)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • pre-commit.ci: Pre-commit autoupdate (#83, 9433456)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • pre-commit.ci: Pre-commit autoupdate (#85, 7c1eb08)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • pre-commit.ci: Pre-commit autoupdate (#90, dbdd4a3)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • pre-commit.ci: Pre-commit autoupdate (#93, 8f4e202)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Features

v1.20.0 (2024-08-24)

Build System

  • deps: Bump cryptography from 41.0.3 to 43.0.0 (#61, 97317cc)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps: Bump myst-parser from 0.18.1 to 1.0.0 (#60, aa46cee)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • deps-dev: Bump pytest from 7.3.1 to 8.3.2 (#59, 950f182)

  • deps-dev: Bump pytest-cov from 3.0.0 to 5.0.0 (#62, 4b2d18b)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Chores

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • pre-commit.ci: Pre-commit autoupdate (#55, 66b7913)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • pre-commit.ci: Pre-commit autoupdate (#56, e8162e3)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

Features

v1.19.4 (2024-07-29)

Bug Fixes

  • Speed up int_to_bluetooth_address C implementation (#52, 7d46575)

Chores

  • chore(pre-commit.ci): pre-commit autoupdate

updates: - github.com/commitizen-tools/commitizen: v2.28.0 → v3.27.0 - github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.6.0 - github.com/pre-commit/mirrors-prettier: v2.7.1 → v4.0.0-alpha.8 - github.com/asottile/pyupgrade: v2.37.1 → v3.16.0 - github.com/PyCQA/isort: 5.12.0 → 5.13.2

  • chore(pre-commit.ci): auto fixes


Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • pre-commit.ci: Pre-commit autoupdate (#46, 8995d2e)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

v1.19.3 (2024-06-24)

Bug Fixes

v1.19.2 (2024-06-24)

Bug Fixes

v1.19.1 (2024-06-24)

Bug Fixes

v1.19.0 (2023-12-21)

Features

v1.18.0 (2023-12-13)

Features

v1.17.0 (2023-12-03)

Features

  • Speed up int_to_bluetooth_address (#39, ac354ae)

v1.16.0 (2023-12-01)

Features

  • Add cython monotonic_time_coarse implementation (#38, ae3abb8)

v1.15.0 (2023-11-24)

Chores

Features

  • Improve performance of gap parser (#37, 05ea718)

v1.14.0 (2023-11-05)

Features

  • Speed up gap parser with a memory view (#35, 35e132f)

v1.13.0 (2023-10-18)

Bug Fixes

  • Reduce size of wheels by excluding generated .c files (#34, 1b56b6e)

Chores

Features

  • Update cibuildwheel to build on final cpython release (#33, 46781c1)

v1.12.0 (2023-09-24)

Features

v1.11.0 (2023-09-01)

Features

  • Add helper for resolving a private address using an identity key (#29, b5e13cc)

v1.10.0 (2023-09-01)

Features

  • Add calculate_distance_meters to estimate distance to a bluetooth device (#28, c6f0150)

v1.9.1 (2023-08-27)

Bug Fixes

v1.9.0 (2023-08-23)

Features

  • Speed up the new parse_advertisement_data_tuple function (#26, 1137a50)

v1.8.0 (2023-08-10)

Features

  • Make returned data from parse_advertisement_data readonly (#25, 1a07397)

v1.7.0 (2023-08-05)

Build System

  • Remove wheel from list of build dependencies (#23, 5512c3d)

Features

  • Remove the need to have a cpp compiler installed (#24, 2a7ebac)

v1.6.1 (2023-07-24)

Bug Fixes

  • Pin python-semantic-release to fix release process (#22, 957ad28)

v1.6.0 (2023-07-13)

Features

  • Improve performance when data is all unique (#21, 60bff4b)

v1.5.0 (2023-07-13)

Features

  • Avoid tuple copy if data is already a tuple (#20, 69829ba)

v1.4.0 (2023-07-13)

Features

v1.3.0 (2023-06-29)

Features

v1.2.0 (2023-06-15)

Chores

Features

v1.1.0 (2023-06-14)

Features

  • Reduce string conversion overhead for bluetooth addresses (#12, 558c93f)

v1.0.0 (2023-06-07)

Features

  • Speed up parsing advertisement data (#11, 47e2519)

BREAKING CHANGE: The decode_advertisement_data function is no longer exposed

It is likely nobody was using it since it is internals for parse_advertisement_data, but it was exposed. If this is a problem for you, please open an issue.

Breaking Changes

  • The decode_advertisement_data function is no longer exposed

v0.4.0 (2023-04-15)

Features

v0.3.1 (2022-12-19)

Bug Fixes

  • Handle zero padding in adv data (#9, 65fb26b)

v0.3.0 (2022-11-13)

Chores

Features

v0.2.0 (2022-10-27)

Features

  • Add human_readable_name function (#5, bb408cd)

v0.1.2 (2022-08-13)

Bug Fixes

v0.1.1 (2022-08-12)

Bug Fixes

v0.1.0 (2022-08-12)

Chores

Features