Skip to content

Commit 739445e

Browse files
wilsonfreitasclaude
andcommitted
Bump version to 0.3.4 and update README and CHANGELOG
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 7f299b5 commit 739445e

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## [0.3.4] - 2026-02-25
4+
- Replaced `requests` with `httpx` as the sole HTTP client across all modules
5+
- Added custom exceptions: `BCBError`, `BCBAPIError`, `CurrencyNotFoundError`, `SGSError`, `ODataError`
6+
- Added full type annotations with `mypy --strict` compliance
7+
- Added `DATE_COLUMNS` class attribute to `BaseODataAPI` for configurable date column detection
8+
- Renamed internal `CACHE` to `_CACHE` in `currency` module; added `currency.clear_cache()`
9+
- Overhauled test suite with mocked HTTP unit tests and a separate `tests/integration/` layer
10+
- Added CI/CD workflows: test matrix (Python 3.10–3.12), lint (black + mypy), Sphinx docs build
11+
- Fixed Sphinx docs build: updated `taxajuros` example to match BCB API rename of `'Cheque especial - Pré-fixado'``'Cheque especial - Prefixado'`
12+
313
## [0.3.3] - 2025-04-21
414
- Improved error handling in SGS API
515
- Added type hints to the bcb.sgs and sgs.currency modules

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ da API de dados abertos do [Banco Central do Brasil](https://www.bcb.gov.br).
55

66
[![Downloads](https://img.shields.io/pypi/dm/python-bcb.svg)](https://pypi.python.org/pypi/python-bcb/)
77
[![image](https://img.shields.io/pypi/v/python-bcb.svg?color=green)](https://pypi.python.org/pypi/python-bcb/)
8+
![Test workflow](https://github.com/wilsonfreitas/python-bcb/actions/workflows/test.yml/badge.svg)
9+
![Lint workflow](https://github.com/wilsonfreitas/python-bcb/actions/workflows/lint.yml/badge.svg)
810
![Sphinx workflow](https://github.com/wilsonfreitas/python-bcb/actions/workflows/sphinx.yml/badge.svg)
911

1012

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "python-bcb"
3-
version = "0.3.3"
3+
version = "0.3.4"
44
description = ""
55
authors = ["wilsonfreitas <wilson.freitas@gmail.com>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)