Skip to content

v3.4.0

Choose a tag to compare

@dmythro dmythro released this 08 Jul 14:46
· 8 commits to main since this release
6d3ffc5

What's Changed

ISO 4217 currency support (#166, #167, #169, #171)

  • New countries-list/currencies subpath export: currencies data plus getCurrency() and getCurrencyByNumeric() helpers
  • Each currency includes: name, native name, symbol (narrow, Unicode CLDR), symbolNative, numeric (three-digit ISO code), decimals (minor unit), and withdrawn flag for codes no longer in the current ISO list
  • New JSON artifacts: currencies.min.json, currencies.all.min.json, minimal/currencies.numeric.min.json, minimal/currencies.symbol.min.json
  • Country currency data actualized to the current ISO 4217 list (#167), ZWG (Zimbabwe Gold) added (#169)

ISO 3166 short names (#170)

  • Czech Republic → Czechia (native: Česká republika → Česko)
  • Cape Verde → Cabo Verde
  • ⚠️ getCountryCode() lookups by the previous long-form names no longer resolve — use the ISO short names

Tooling & tests

  • TypeScript 6, Biome 2.5, Turborepo dropped in favor of Bun workspace scripts (#168)
  • Published bundles are now tested under the real Node.js runtime (CJS + ESM, main and currencies entry points) in CI (#173)

Full Changelog: v3.3.0...v3.4.0