Skip to content

v1.4.2

Latest

Choose a tag to compare

@bojanz bojanz released this 02 Nov 08:51

What's Changed

  • Update the country list to CLDR 49.
    • TF: "French Southern Territories" → "French Southern and Antarctic Lands"
    • HM: "Heard & McDonald Islands" → "Heard Island & McDonald Islands"
    • SH: "St. Helena" → "St. Helena, Ascension & Tristan da Cunha"
  • Bump the minimum Go version to 1.24 and modernize the code.
  • Format no longer adds empty ``regionsandlocal_regions` keys to its JSON output (for example, FormatHandler responses).
  • Use a value receiver for Format.PostalCodeValidationPattern(), matching the other methods.
  • Use a value receiver for FormatHandler.
  • Test on Go 1.27.

Full Changelog: v1.4.1...v1.4.2