Skip to content

v5.0.0

Latest

Choose a tag to compare

@JCBauza JCBauza released this 19 Feb 07:04
· 37 commits to master since this release

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 BfxEventEmitter or 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 (WebSocketClientProtocolClientConnection)

What's New

  • Modern build system: migrated from setup.py (distutils) to pyproject.toml (hatchling/PEP 621)
  • Modern type hints: all Optional[X]X | None, Listlist, Dictdict, 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.