Skip to content

v0.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Sep 16:33
· 16 commits to master since this release

This release restores support for the JSON APIs deprecated in v0.3.1.

🔪 BREAKING CHANGE: fr24 no longer bundles the httpx HTTP client. You must install it explicitly:

pip install 'fr24[httpx]'

Note that HTTPX client only works with gRPC endpoints. To use the JSON endpoints, use curl instead:

pip install 'fr24[curl]'

fr24 continues to support passing httpx.AsyncClient explicitly (backward-compatible with v0.3):

import httpx
from fr24 import FR24

fr24 = FR24(client=httpx.AsyncClient(http2=True))

Full Changelog: v0.3.1...v0.4.0