Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- `./bundled` entry - static-bundler-friendly variant that statically `require`s every per-country JSON file shipped in `data/`. Exposes `ensureCountry`, `registerAllCountries`, `validatePostalCode`, `isValidPostalCode`, and `SUPPORTED_COUNTRIES`. Lets React-Native / webpack / Rollup consumers drop their own loader map.

### Changed

### Deprecated
Expand All @@ -21,6 +19,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Security

## [v0.2.0] - 2026-05-13

### Added

- `./bundled` entry - static-bundler-friendly variant that statically `require`s every per-country JSON file shipped in `data/`. Exposes `ensureCountry`, `registerAllCountries`, `validatePostalCode`, `isValidPostalCode`, and `SUPPORTED_COUNTRIES`. Lets React-Native / webpack / Rollup consumers drop their own loader map.

## [v0.1.0] - 2026-05-12

### Added
Expand All @@ -31,5 +35,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Per-country JSON data exposed under `./data/*` and indexed by `./manifest`.
- Public API: `validatePostalCode`, `isValidPostalCode`, `isValidPrefix`, `normalizePostalCode`, `regexForCountry`, `registerCountry`, `unregisterCountry`, `isCountryLoaded`, `loadedCountries`.

[Unreleased]: https://github.com/d4l-data4life/postalcodes/compare/v0.1.0...HEAD
[Unreleased]: https://github.com/d4l-data4life/postalcodes/compare/v0.2.0...HEAD
[v0.2.0]: https://github.com/d4l-data4life/postalcodes/compare/v0.1.0...v0.2.0
[v0.1.0]: https://github.com/d4l-data4life/postalcodes/releases/tag/v0.1.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@d4l/postalcodes",
"version": "0.1.0",
"version": "0.2.0",
"description": "Offline world-wide postal-code validation with per-country indexes. Works in Node, browsers, and React Native. Data from GeoNames (CC BY 4.0).",
"keywords": [
"postal",
Expand Down
Loading