Releases: bojanz/address
Releases · bojanz/address
v1.3.0
- CLDR v45 (no data changes)
- Make the region required for BB, CL, EG, KI, MY, PE, TH, VN. (#4 )
- Simplify the postal code pattern for Peru (PE).
Postal codes starting with "LIMA" or "CALLAO" are no longer in use.
- Chile's administrative areas are called regions, not provinces.
- Allow address formats to declare default values.
Use case: Singapore (SG) addresses have a locality field, but it's always supposed to contain "Singapore"
v1.2.2
- Add a locality field to the format for Singapore (SG).
- Pull in ISO updates published on 2023-11-23:
- Add Indonesian (ID) provinces: PD, PE, PS, PT.
- Update India (IN) states: OR -> OD, CT -> CG, TG -> TS, UT -> UK.
- Update Philippines (PH) provinces: MAG -> MGN + MGS
v1.2.1
- Rebuld the address format for Kazakhstan, add regions.
- Use the Town/City locality type for New Zealand.
- Bump actions/checkout to v4.
v1.2.0
- Fix CheckPostalCode to Validate Input Strictly (#3).
- Change the locality type for Great Britain to town/city.
- CLDR v44.
v1.1.2
Added regions for Seychelles (SC) and Paraguay (PY).
Updated address formats for AS, BY, CC, CX, HM, NF, MP, RU, UA, VI.
v1.1.1
CLDR v43.
Address format updates (BH, PH, TR, ZW).
v1.1.0
Optimized RegionMap's MarshalJSON(), reducing allocations in FormatHandler by 80%.
v1.0.3
Requires Go 1.17 (dropped support for 1.15 and 1.16).
CLDR v42.
v1.0.2
Added regions for Bahamas (BS), Costa Rica (CR), Panama (PA), Papua New Guinea (PG), United States Minor Outlying Islands (UM).
v1.0.1
Added regions for Barbados (BB), Micronesia (FM), Honduras (HN), Kiribati (KI).