Releases: CloudIngenium/bitfinex-api-py
Releases · CloudIngenium/bitfinex-api-py
v5.0.0
bitfinex-api-py v5.0.0
Breaking Changes
- Minimum Python version is now 3.10 (was 3.8)
- pyee upgraded from 11.x to 13.x — if you subclass
BfxEventEmitteror use pyee internals, review pyee changelog - websockets upgraded from 12.x to 16.x — if you access the underlying websocket connection directly, the API has changed (
WebSocketClientProtocol→ClientConnection)
What's New
- Modern build system: migrated from
setup.py(distutils) topyproject.toml(hatchling/PEP 621) - Modern type hints: all
Optional[X]→X | None,List→list,Dict→dict,Union→| - Ruff: replaced black + isort + flake8 with ruff for linting and formatting
- Test suite: 171 unit tests covering serializers, handlers, middleware, connection logic, and utilities
- CI/CD: pytest runs across Python 3.10, 3.11, 3.12, 3.13
Dependencies
| Package | Old | New |
|---|---|---|
| Python | >=3.8 | >=3.10 |
| pyee | ~=11.1.0 | ~=13.0 |
| websockets | ~=12.0 | ~=16.0 |
| requests | ~=2.32.3 | ~=2.32.3 |
Public API
No changes to the public API surface. All method signatures, classes, and exported types remain identical. This is a drop-in upgrade if you are on Python >=3.10.