Changelog¶
7.0.1 (2025-03-16)
Fixes #104
Fixes #103
7.0.0 (2025-03-27)¶
Introduced async request functionality. Special thanks to [Iago Borba de Almeida](https://github.com/iagobalmeida) for the contribution.
Refined pre-commit hooks for better code consistency.
Updated documentation to fix syntax errors, add async request usage details, and enhance overall clarity.
Improved test coverage to ensure higher reliability.
Enhanced both documentation and code quality for better maintainability.
Optimized Makefile for streamlined usage.
Removed the deprecated Correios webservice to simplify the codebase.
6.7.0 (2024-11-25)¶
Added new exceptions to encapsulate request errors
Improved BrazilCEP API and documentation
6.6.1 (2024-11-23)¶
Updated PyPI links
6.6.0 (2024-11-23)¶
Dropped Python 3.8 support
Added Python 3.13 support
Added help, test, setup, coverage, and docs commands to Makefile
Replaced Nox with Tox
Added GitHub issue and PR templates
Introduced pre-commit hooks
Migrated documentation from MkDocs to Sphinx
6.5.0 (2024-08-18)¶
Removed API Correios from the website
6.4.1 (2024-08-18)¶
Fixed beautifulsoup4 version
6.4.0 (2024-08-14)¶
Added API Correios (via Correios site) support
Added OpenCEP support
6.3.1 (2024-05-05)¶
Updated copyright and Python version
6.3.0 (2024-05-05)¶
Updated pyproject.toml to align with Python documentation standards
Improved Nox tests and dependency environments
Added support for Python 3.12
6.2.0 (2023-10-01)¶
Added timeout settings
Added proxy settings (https://github.com/mstuttgart/brazilcep/issues/40)
Added real tests for APICEP and ViaCEP
Updated documentation and README
Deprecated Correios webservice support
6.1.0 (2023-10-01)¶
Added timeout parameters for requests
Fixed typos in README
6.0.0 (2023-04-30)¶
Renamed library to BrazilCEP
Created a new pip package
Dropped support for Python 3.5, 3.6, and 3.7
Added support for Python 3.9, 3.10, and 3.11
Introduced Poetry for dependency management
Added matrix testing for Python versions using Nox
Improved documentation and code quality
Fixed GitHub Actions lint and coverage issues
Enhanced lint and coverage tests
Created a documentation site (translated to English)
Updated contribution guide to use Poetry
5.1.0 (2022-10-12)¶
Fixed AttributeError: ‘NoneType’ object has no attribute ‘split’ when querying CEP 99999-999
Added new exception BlockedByFlood for excessive queries
Improved tests by adding mocks for ViaCEP and ApiCEP queries
5.0.0 (2021-01-07)¶
Added support for Python 3.8
Integrated Correios and APICEP.com webservices for CEP queries
Introduced new exceptions for better error handling
Removed deprecated methods and exceptions
Removed unused get_cep_from_address function
Centralized usage examples in README
Adopted Tox for testing across Python versions
Added new tests and improved coverage
4.0.4 (2020-08-18)¶
Fixed AttributeError: ‘ConnectionError’ object has no attribute ‘message’
4.0.3 (2020-06-08)¶
Fixed get_cep_from_address error key - Thanks to Hendrix Costa (https://github.com/hendrixcosta)
Updated documentation
4.0.2 (2020-05-31)¶
Fixed usage example for get_cep_from_address
Fixed KeyError exception when address not found - Thanks to Patrick Ferraz (https://github.com/patricksferraz)
Added error handling for status_code=200 - Thanks to Bruno Mello (https://github.com/bgmello)
4.0.1 (2020-02-22)¶
Fixed travis.yml deployment issues
4.0.0 (2020-02-22)¶
Added support for ViaCEP API (https://viacep.com.br/)
Introduced CEP range queries
Added format_cep and validate_cep functions
Added support for Python 3.7
Improved code and documentation
Milestone: https://github.com/mstuttgart/pycep-correios/milestone/4
3.2.0 (2019-08-18)¶
Dropped support for Python 3.4
Added support for responses with missing attributes
Added mocks to tests
3.1.0 (2018-11-11)¶
Fixed return type of consultar_cep method (now returns a dictionary)
Updated documentation to reflect changes in Correios API
Updated README for PyPI compatibility
3.0.0 (2018-10-21)¶
Migrated API to use [python-zeep](https://pypi.org/project/zeep/)
Deprecated old exceptions
Updated documentation
Dropped support for Python 2.7
2.3.1 (2018-05-03)¶
Fixed README.rst
Added validation command to setup.py in Makefile
Fixed repository and download links
2.3.0 (2018-05-03)¶
Added logging for CEP queries
Added English documentation
Limited versions of requests and Jinja2 for compatibility
Dropped support for Python 3.3
2.2.0 (2017-07-16)¶
Improved formatar_cep method with regex validation
Introduced new exceptions for better error handling
Added environments for testing and production
Improved API organization
2.1.1 (2017-06-30)¶
Fixed Unicode errors in Python 2.7
2.1.0 (2017-06-29)¶
Added support for Python 2.7+
Updated documentation
2.0.0 (2017-06-20)¶
Refactored PyCEPCorreios for easier usage
Removed old exceptions and classes
Simplified imports
Added Sphinx documentation
Added Tox testing
Introduced CEP validation and formatting methods
1.1.7 (2017-05-09)¶
Fixed jinja2.exceptions.TemplateNotFound: consultacep.xml
Resolved installation issues with PyCEPCorreios via pip
Updated README and documentation examples
1.1.6 (2017-05-08)¶
Fixed installation bugs
Improved code and resolved bugs
1.1.1 (2017-02-08)¶
General code improvements
Added XML schema using Jinja2
1.0.1 (2016-08-03)¶
Simplified exception classes
Organized test code
Used mocks for testing
1.0.0 (2016-07-31)¶
Migrated API to Python 3 (dropped Python 2.7 support)
Replaced suds with requests for HTTP requests
0.0.2 (2016-05-09)¶
Updated setup.py version and dependencies
0.0.1 (2016-05-05)¶
Initial release
Enabled CEP lookup via Correios webservice