Skip to content

Releases: bojanz/address

v1.3.1

03 Nov 11:35
Compare
Choose a tag to compare

v1.3.0

19 Apr 09:36
Compare
Choose a tag to compare
  • 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

15 Jan 21:25
Compare
Choose a tag to compare
  • 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

13 Dec 19:39
Compare
Choose a tag to compare
  • 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

01 Nov 10:21
ddb2193
Compare
Choose a tag to compare
  • Fix CheckPostalCode to Validate Input Strictly (#3).
  • Change the locality type for Great Britain to town/city.
  • CLDR v44.

v1.1.2

02 Jul 09:13
Compare
Choose a tag to compare

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

12 Apr 20:22
Compare
Choose a tag to compare

CLDR v43.

Address format updates (BH, PH, TR, ZW).

v1.1.0

15 Feb 09:02
Compare
Choose a tag to compare

Optimized RegionMap's MarshalJSON(), reducing allocations in FormatHandler by 80%.

v1.0.3

25 Jan 17:44
Compare
Choose a tag to compare

Requires Go 1.17 (dropped support for 1.15 and 1.16).

CLDR v42.

v1.0.2

05 Mar 00:41
Compare
Choose a tag to compare

Added regions for Bahamas (BS), Costa Rica (CR), Panama (PA), Papua New Guinea (PG), United States Minor Outlying Islands (UM).