Skip to content

Meds

Latest

Choose a tag to compare

@wilsonfreitas wilsonfreitas released this 25 Feb 19:55
· 23 commits to main since this release
  • Replaced requests with httpx as the sole HTTP client across all modules
  • Added custom exceptions: BCBError, BCBAPIError, CurrencyNotFoundError, SGSError, ODataError
  • Added full type annotations with mypy --strict compliance
  • Added DATE_COLUMNS class attribute to BaseODataAPI for configurable date column detection
  • Renamed internal CACHE to _CACHE in currency module; added currency.clear_cache()
  • Overhauled test suite with mocked HTTP unit tests and a separate tests/integration/ layer
  • Added CI/CD workflows: test matrix (Python 3.10–3.12), lint (black + mypy), Sphinx docs build
  • Fixed Sphinx docs build: updated taxajuros example to match BCB API rename of 'Cheque especial - Pré-fixado' to 'Cheque especial - Prefixado'