Skip to content

v4.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Mar 21:08
427b607

4.0.0 (2026-03-05)

⚠ BREAKING CHANGES

  • rename all generic language codes to BCP 47 locale-specific codes (#242)
  • es: split Spanish into locale-specific variants (#241)
  • remove index.js barrel, use subpath exports only (#235)
  • rename toWords to toCardinal, form-agnostic architecture (#234)
  • lang: split English into en-GB and en-US with extended scales and options (#232)
  • ESM-first browser bundles (#225)

Features

  • add 14 English locale variants (#255) (1b87dd9)
  • add toOrdinal and toCurrency to 44 languages (#256) (35bdc9b)
  • de-DE: add toOrdinal and toCurrency functions (#245) (59d13fb)
  • en-GB: add toOrdinal and toCurrency functions (#243) (c651780)
  • en-US: add toCurrency function for currency words (#237) (44243b7)
  • en-US: add toOrdinal function for ordinal number words (#233) (4db67bf)
  • ESM-first browser bundles (#225) (e97d895)
  • es: split Spanish into locale-specific variants (#241) (d301733)
  • fr-FR: add toOrdinal and toCurrency functions (#246) (b95e513)
  • it-IT: add toOrdinal and toCurrency functions (#247) (93ea3eb)
  • lang: split English into en-GB and en-US with extended scales and options (#232) (8e4a0df)
  • nl-NL: add toOrdinal and toCurrency functions (#249) (abcac65)
  • pt-PT: add toOrdinal and toCurrency functions (#248) (0d7d972)
  • ru-RU: add toOrdinal and toCurrency functions (#244) (86ad7a3)

Bug Fixes

  • core: pre-v4 audit fixes for parsers and exports (#262) (33d257b)
  • core: pre-v4 audit fixes for parsers and exports (#264) (0268988)
  • deps-dev: update dependencies to resolve tar vulnerability (#230) (1f86240)
  • es-MX,fa-IR: correct number scale implementations (#250) (ab05310)

Code Refactoring

  • remove index.js barrel, use subpath exports only (#235) (782768b)
  • rename all generic language codes to BCP 47 locale-specific codes (#242) (8a8328d)
  • rename toWords to toCardinal, form-agnostic architecture (#234) (1648e1a)