diff options
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f9e0cb..df0c793 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## 0.2.0 + +- `CepNotFoundException` now carries `faixa`: the municipality the CEP would + have belonged to, when the API names one. Still a 404 — it is context for the + error, not an address. +- New `Faixa` model. Its `cepIni`/`cepFim` are the smallest and the largest CEP + that *exist* in the municipality, not the Correios' published bounds, and the + interval between them is sparse — read `ceps` for how sparse. +- `CepNotFoundException.toString` mentions the municipality when there is one. +- A missing, empty or malformed `faixa` yields `null` and never turns a + not-found into a parse failure. + ## 0.1.0 - First release: `lookup`, `lookupMany`, `health` and `normalizeCep`, with |