Skip to content

Releases: mkb79/Audible

v0.12.0

Choose a tag to compare

@github-actions github-actions released this 23 Jul 10:45
9757586

[0.12.0] - 2026-07-23

Added

  • Asynchronous access token refresh for AsyncClient. Authenticator.async_auth_flow and the new async_refresh_access_token refresh the token without blocking the event loop, guarded by an asyncio.Lock (bound to the running event loop) so that multiple concurrent requests trigger only a single refresh. The synchronous refresh_access_token is likewise guarded by a threading.Lock.

Changed

  • API requests now authenticate with the x-amz-access-token header instead of the legacy Authorization: Bearer scheme, matching the current Audible API (see #832). Header construction is centralized in the new audible.utils.build_access_token_header helper. The obsolete client-id: 0 header is no longer sent with bearer auth.

Fixed

  • OrjsonProvider now honors the ensure_ascii parameter. Non-ASCII characters were previously left unescaped, so the serialized output depended on which JSON library was installed.

Security

  • Raised the minimum versions of the optional cryptography (>=48.0.1), orjson (>=3.11.6) and ujson (>=5.13.0) dependencies to exclude releases with known vulnerabilities.

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 20 Jul 13:59
9f3ccb8

Changes

🚀 Features

  • feat: Add high-performance JSON backend provider system (#827) @mkb79
  • feat: add optional pycryptodome support for performance optimization (#822) @mkb79
  • Add support for Python 3.13 and set to default (#728) @mkb79
  • refactor: playwright login callback (#648) @mkb79

🔥 Removals and Deprecations

  • Drop Python 3.10, add 3.14, and modernize dependencies (#855) @mkb79

🪲 Fixes

  • fix(register.py): handle missing fields in the registration response (#797) @mkb79
  • Fix coverage data upload (#592) @mkb79

👷 Continuous Integration

  • Drop Python 3.10, add 3.14, and modernize dependencies (#855) @mkb79
  • Replace darglint with pydoclint for docstring validation (#826) @mkb79
  • ci: Add workflow for uv lock file maintenance (#745) @mkb79
  • build(deps-dev): Update dev dependencies and Python version markers in uv.lock (#744) @mkb79
  • build(deps): Bump sphinx-autobuild from 2024.9.19 to 2024.10.3 in /docs in the doc-updates group (#741) @dependabot[bot]
  • build(deps): Bump the workflow-updates group in /.github/workflows with 2 updates (#743) @dependabot[bot]
  • Update dependabot config (#740) @mkb79
  • Refactor Dependabot configuration: simplify group definitions and add… (#739) @mkb79
  • Lower required uv version to >=0.7.1 in pyproject.toml (#736) @mkb79
  • Update dependabot.yml (#727) @mkb79
  • Update dependabot package ecosystem from pip to uv (#725) @mkb79
  • ci: relative paths on coverage run (#724) @mkb79
  • Update Dependabot configuration for weekly and grouped updates (#723) @mkb79
  • ci: switch to uv (#722) @mkb79
  • Add hex color string formatting for all label colors (#600) @mkb79
  • Add GitHub token input to labeler workflow (#599) @mkb79
  • Update pre-commit hook stages for consistency (#593) @mkb79
  • Fix coverage data upload (#592) @mkb79

📚 Documentation

🔨 Refactoring

  • refactor: rename json and crypto modules to *_provider to avoid naming conflicts (#830) @mkb79
  • Refactor ruff check fixes (#594) @mkb79
  • Refactor exception hierarchy under AudibleError. (#550) @mkb79

📦 Dependencies

116 changes
Read more

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 26 Sep 15:34
96a3641

🚀 Features

  • build: Drop Python < 3.10 and add Python 3.12 support (#221) @mkb79

🔥 Removals and Deprecations

  • build: Drop Python < 3.10 and add Python 3.12 support (#221) @mkb79

🪲 Fixes

  • fix: RecursionError when checking the length of an Authenticator instance. (#237) @mkb79
  • fix: Fix autodetect_locale function (#209) @mkb79

👷 Continuous Integration

🔨 Refactoring

  • Update datetime functions to use timezone awareness (#440) @mkb79
  • refactor: Fix mypy errors (#184) @mkb79

💄 Style

📦 Dependencies

226 changes
  • build(deps-dev): Bump starlette from 0.38.5 to 0.39.1 (#521) @dependabot
  • build(deps): Bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.2 (#519) @dependabot
  • build(deps): Bump anyio from 4.5.0 to 4.6.0 (#518) @dependabot
  • build(deps-dev): Bump websockets from 13.0.1 to 13.1 (#517) @dependabot
  • build(deps-dev): Bump ruff from 0.6.6 to 0.6.7 (#515) @dependabot
  • build(deps-dev): Bump ruff from 0.6.5 to 0.6.6 (#514) @dependabot
  • Bump packages (#512) @mkb79
  • build(deps-dev): Bump safety from 3.1.0 to 3.2.7 (#496) @dependabot
  • build(deps-dev): Bump identify from 2.5.36 to 2.6.1 (#505) @dependabot
  • build(deps-dev): Bump exceptiongroup from 1.2.1 to 1.2.2 (#485) @dependabot
  • build(deps): Bump myst-parser from 3.0.1 to 4.0.0 in /docs (#490) @dependabot
  • build(deps): Bump sphinx-autodoc-typehints from 2.2.3 to 2.4.4 in /docs (#508) @dependabot
  • build(deps): Bump sphinx-autobuild from 2024.4.16 to 2024.9.19 in /docs (#511) @dependabot
  • build(deps): Bump virtualenv from 20.26.3 to 20.26.5 in /.github/workflows (#509) @dependabot
  • build(deps): Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.1 (#499) @dependabot
  • build(deps): Bump pillow from 10.3.0 to 10.4.0 (#484) @dependabot
  • build(deps): Bump pip from 24.1.2 to 24.2 in /.github/workflows (#487) @dependabot
  • build(deps): Bump sphinx from 7.4.7 to 8.0.2 in /docs (#489) @dependabot
  • build(deps): Bump sphinx from 7.3.7 to 8.0.2 (#493) @dependabot
  • build(deps-dev): Bump cryptography from 42.0.5 to 43.0.1 (#501) @dependabot
  • build(deps-dev): Bump pygments from 2.17.2 to 2.18.0 (#448) @dependabot
  • build(deps-dev): Bump babel from 2.14.0 to 2.15.0 (#447) @dependabot
  • build(deps-dev): Bump mdit-py-plugins from 0.4.0 to 0.4.1 (#450) @dependabot
  • build(deps): Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#460) @dependabot
  • build(deps): Bump codecov/codecov-action from 4.4.0 to 4.5.0 (#459) @dependabot
  • build(deps): Bump virtualenv from 20.26.2 to 20.26.3 in /.github/workflows (#466) @dependabot
  • build(deps): Bump certifi from 2024.2.2 to 2024.7.4 (#469) @dependabot
  • build(deps-dev): Bump setuptools from 69.5.1 to 71.1.0 (#480) @dependabot
  • build(deps): Bump pip from 24.0 to 24.1.2 in /.github/workflows (#470) @dependabot
  • build(deps-dev): Bump coverage from 7.5.0 to 7.6.0 (#471) @dependabot
  • build(deps): Bump sphinx-autodoc-typehints from 2.1.0 to 2.2.3 in /docs (#474) @dependabot
  • build(deps): Bump sphinx from 7.3.7 to 7.4.7 in /docs (#478) @dependabot
  • build(deps-dev): Bump pytest from 8.2.0 to 8.3.2 (#481) @dependabot
  • build(deps-dev): Bump requests from 2.31.0 to 2.32.3 (#455) @dependabot
  • build(deps-dev): Bump authlib from 1.3.0 to 1.3.1 (#458) @dependabot
  • build(deps-dev): Bump urllib3 from 2.2.1 to 2.2.2 (#461) @dependabot
  • build(deps): Bump virtualenv from 20.26.0 to 20.26.2 in /.github/workflows (#443) @dependabot
  • build(deps): Bump codecov/codecov-action from 4.3.0 to 4.4.0 (#444) @dependabot
  • build(deps): Bump poetry from 1.8.2 to 1.8.3 in /.github/workflows (#442) @dependabot
  • build(deps-dev): Bump jinja2 from 3.1.3 to 3.1.4 (#441) @dependabot
  • build(deps-dev): Bump pydantic from 2.7.0 to 2.7.1 (#437) @dependabot
  • build(deps-dev): Bump mypy from 1.9.0 to 1.10.0 (#436) @dependabot
  • build(deps-dev): Bump pytest from 8.1.1 to 8.2.0 (#435) @dependabot
  • build(deps): Bump myst-parser from 3.0.0 to 3.0.1 (#434) @dependabot
  • build(deps-dev): Bump filelock from 3.13.4 to 3.14.0 (#433) @dependabot
  • build(deps): Bump myst-parser from 3.0.0 to 3.0.1 in /docs (#432) @dependabot
  • build(deps-dev): Bump pluggy from 1.4.0 to 1.5.0 (#425) @dependabot
  • build(deps-dev): Bump platformdirs from 4.2.0 to 4.2.1 (#429) @dependabot
  • build(deps): Bump virtualenv from 20.25.3 to 20.26.0 in /.github/workflows (#430) @dependabot
  • build(deps): Bump myst-parser from 2.0.0 to 3.0.0 (#426) @dependabot
  • build(deps): Bump myst-parser from 2.0.0 to 3.0.0 in /docs (#428) @dependabot
  • build(deps-dev): Bump coverage from 7.4.4 to 7.5.0 (#427) @dependabot
  • build(deps-dev): Bump identify from 2.5.35 to 2.5.36 (#424) @dependabot
  • build(deps-dev): Bump exceptiongroup from 1.2.0 to 1.2.1 (#422) @dependabot
  • build(deps-dev): Bump ruff from 0.3.7 to 0.4.1 (#421) @dependabot
  • build(deps): Bump sphinx-autobuild from 2024.4.13 to 2024.4.16 (#408) @dependabot
  • build(deps): Bump sphinx-autodoc-typehints from 2.0.1 to 2.1.0 (#410) @dependabot
  • build(deps): Bump sphinx from 7.2.6 to 7.3.7 (#420) @dependabot
  • build(deps): Bump sphinx-autodoc-typehints from 2.0.1 to 2.1.0 in /docs (#413) @dependabot
  • build(deps): Bump sphinx from 7.2.6 to 7.3.7 in /docs (#419) @dependabot
  • build(deps-dev): Bump virtualenv from 20.25.1 to 20.25.3 (#411) @dependabot
  • build(deps): Bump virtualenv from 20.25.1 to 20.25.3 in /.github/workflows (#409) @dependabot
  • build(deps): Bump sphinx-autobuild from 2024.4.13 to 2024.4.16 in /docs (#407) @dependabot
  • build(deps-dev): Bump pydantic from 1.10.15 to 2.7.0 (#404) @dependabot
  • build(deps-dev): Bump setuptools from 69.2.0 to 69.5.1 (#402) @dependabot
  • build(deps): Bump httpcore from 1.0.2 to 1.0.5 (#403) @dependabot
  • build(deps): Bump sphinx-autobuild from 2024.2.4 to 2024.4.13 (#405) @dependabot
  • build(deps-dev): Bump black from 24.3.0 to 24.4.0 (#406) @dependabot
  • build(deps): Bump sphinx-autobuild from 2024.2.4 to 2024.4.13 in /docs (#401) @dependabot
  • build(deps): Bump nox from 2024.3.2 to 2024.4.15 in /.github/workflows (#400) @dependabot
  • build(deps-dev): Bump filelock from 3.13.1 to 3.13.4 (#399) @dependabot
  • build(deps-dev): Bump pygments from 2.16.1 to 2.17.2 (#398) @dependabot
  • build(deps-dev): Bump pycparser from 2.21 to 2.22 (#397) @dependabot
  • build(deps-dev): Bump safety from 3.0.1 to 3.1.0 (#396) @dependabot
  • build(deps-dev): Bump platformdirs from 4.1.0 to 4.2.0 (#395) @dependabot
  • build(deps-dev): Bump ruff from 0.2.1 to 0.3.7 (#394) @dependabot
  • build(deps-dev): Bump typeguard from 4.1.5 to 4.2.1 (#393) @dependabot
  • build(deps): Bump sniffio from 1.3.0 to 1.3.1 (#392) @dependabot
  • build(deps-dev): Bump identify from 2.5.33 to 2.5.35 (#390) @dependabot
  • build(deps): Bump idna from 3.6 to 3.7 (#391) @dependabot
  • build(deps-dev): Bump pre-commit from 3.6.0 to 3.7.0 (#388) @dependabot
  • build(deps): Bump sphinx-autodoc-typehints from 1.25.3 to 2.0.1 (#385) @dependabot
  • build(deps-dev): Bump packaging from 23.2 to 24.0 (#384) @dependabot
  • build(deps-dev): Bump typing-extensions from 4.9.0 to 4.11.0 (#387) @dependabot
  • build(deps-dev): Bump pytest-mock from 3.12.0 to 3.14.0 (#386) @dependabot
  • build(deps): Bump sphinx-autodoc-typehints from 2.0.0 to 2.0.1 in /docs (#383) @dependabot
  • build(deps): Bump pyasn1 from 0.5.1 to 0.6.0 (#381) @dependabot
  • build(deps): Bump codecov/codecov-action from 4.2.0 to 4.3.0 (#382) @dependabot
  • build(deps-dev): Bump typer from 0.9.0 to 0.12.3 (#379) @dependabot
  • build(deps-dev): Bump pre-commit-hooks from 4.5.0 to 4.6.0 (#380) @dependabot
  • build(deps-dev): Bump rich from 13.7.0 to 13.7.1 (#378) @dependabot
  • build(deps-dev): Bump pydantic from 1.10.14 to 1.10.15 (#377) @dependabot
  • build(deps): Bump codecov/codecov-action from 4.1.0 to 4.2.0 (#375) @dependabot
  • build(deps): Bump pillow from 10.2.0 to 10.3.0 (#374) @dependabot
  • build(deps-dev): Bump pytest from 7.4.3 to 8.1.1 (#369) @dependabot
  • build(deps-dev): Bump black from 24.1.1 to 24.3.0 (#372) @dependabot
  • build(deps-dev): Bump mypy from 1.8.0 to 1.9.0 (#371) @dependabot
  • build(deps-dev): Bump setuptools from 69.0.3 to 69.2.0 (#370) @dependabot
  • build(deps-dev): Bump marshmallow from 3.20.2 to 3.21.1 (#368) @dependabot
  • build(deps-dev): Bump xdoctest from 1.1.2 to 1.1.3 (#367) @dependabot
  • build(deps-dev): Bump coverage from 7.4.1 to 7.4.4 (#365) @dependabot
  • build(deps): Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14 (#364) @dependabot
  • build(deps-dev): Bump virtualenv from 20.25.0 to 20.25.1 (#363) @dependabot
  • build(deps-dev): Bump ruamel-yaml from 0.18.5 to 0.18.6 (#362) @dependabot
  • build(deps): Bump anyio from 4.2.0 to 4.3.0 (#361) @dependabot
  • build(deps): Bump httpx from 0.26.0 to 0.27.0 (#360) @dependabot
  • build(deps-dev): Bump packaging from 23.0 to 23.2 (#322) @dependabot
  • build(deps-dev): Bump urllib3 from 2.1.0 to 2.2.1 (#349) @dependabot
  • build(deps-dev): Bump safety-schemas from 0.0.1 to 0.0.2 (#342) @dependabot
  • build(deps-dev): Bump markupsafe from 2.1.4 to 2.1.5 (#345) @dependabot
  • build(deps): Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.12 (#355) @dependabot
  • build(deps-dev): Bump cryptography from 42.0.1 to 42.0.5 (#353) @dependabot
  • build(deps): Bump sphinx-autodoc-typehints from 1.25.3 to 2.0.0 in /docs (#346) @dependabot
  • build(deps): Bump sphinx-autobuild from 2021.3.14 to 2024.2.4 (#343) @dependabot
  • build(deps): Bump codecov/codecov-action from 4.0.1 to 4.1.0 (#356) @dependabot
  • build(deps): Bump virtualenv from 20.25.0 to 20.25.1 in /.github/workflows (#351) @dependabot
  • build(deps): Bump nox from 2023.4.22 to 2024.3.2 in /.github...
Read more

[0.9.1] - 2023-09-27

Choose a tag to compare

@github-actions github-actions released this 27 Sep 18:30
c291f14

Changes

🪲 Fixes

  • fix: fix login issues on brazilian marketplace (#204) @mkb79

📦 Dependencies

Full Changelog: v0.9.0...v0.9.1

[0.9.0] - 2023-09-27

Choose a tag to compare

@github-actions github-actions released this 27 Sep 10:19
16f3013

Changes

🚀 Features

👷 Continuous Integration

📚 Documentation

💄 Style

📦 Dependencies

51 changes

Full Changelog: v0.8.2...v0.9.0

[0.8.2] - 2022-05-25

Choose a tag to compare

@mkb79 mkb79 released this 25 May 12:51
d7ec022

Changed

  • Allow httpx v0.23.x to fix a security issue in httpx

[0.8.1] - 2022-04-20

Choose a tag to compare

@mkb79 mkb79 released this 21 Apr 05:12
bfc5ba0

Bugfix

  • fix a bug in Client.delete and AsyncClient.delete method

[0.8.0] - 2022-04-11

Choose a tag to compare

@mkb79 mkb79 released this 11 Apr 11:38
7beffb2

Note

Auth files created or saved with v0.8.0 are not backward compatible!

Added

  • full support of pre-Amazon accounts (e.g. refresh access token, deregister device)
  • Client and AsynClient now accepts session kwargs which are bypassed to the underlying httpx Client
  • a respone_callback can now be set to Client and AsyncClient class to allow custom preparation of response output
  • An absolut url (e.g. https://cde-ta-g7g.amazon.com/FionaCDEServiceEngine/sidecar) can now be passed to a client get, post, delete and put method as the path arg. So in most cases the client raw_request method is not needed anymore.

Changed

  • rename (and rework) Client._split_kwargs to Client._prepare_params

[0.7.2] - 2022-03-27

Choose a tag to compare

@mkb79 mkb79 released this 27 Mar 18:03
728c019

Bugfix

  • fix a bug in registration url

[0.7.1] - 2022-03-27

Choose a tag to compare

@mkb79 mkb79 released this 27 Mar 17:34

Added

  • Authenticator.from_dict to instantiate an Authenticator from dict and Authenticator.to_dict to get authentication data as dict

Bugfix

  • register a new device with with_username=True results in a server error due to wrong registration domain