-
-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathCHANGELOG
255 lines (184 loc) · 6.43 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
Changelog
=========
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