Getting started
Changelog
What changed in each version of the spec, the behaviour every package implements.
Each entry is a spec version: the rules, data and test vectors every package implements. Package releases (npm, Packagist) follow it and list their own changes in their CHANGELOG.md. See Versioning for what each kind of number means.
Breaking marks an output that changes for an input that worked before.
0.6.0 (2026-11-26)
Section titled “0.6.0 (2026-11-26)”phone: New prefix035for Airtel Madagascar, on sale since 22 June 2026:035 12 345 67→ operatorairtelinstead ofUNKNOWN_OPERATOR.phone: Breaking: Telma is now Yas Madagascar (since 26 November 2024). The operator idtelmais nowyas, namedYas Madagascar; PHPOperator::Telmais nowOperator::Yas.phone:036, announced by Yas without a published source yet, staysUNKNOWN_OPERATORand is listed under Waiting for a source.
0.5.0 (2026-11-26)
Section titled “0.5.0 (2026-11-26)”words: Breaking: spells numbers of any size.lavitrisatakes a count of any size, so 10¹² isarivo lavitrisainstead ofOUT_OF_RANGE. Each language stops at its largest exact number.words: Decimals, read withfaingo:3.14→telo faingo efatra ambin'ny folo,0.008→aotra faingo aotra aotra valo. PHP addsNumberWords::fromFloat().words: New section listing what waits for a source or an expert: negative numbers, and the old names for 10⁷ and above.ariary: Breaking: no more 999 999 999 999 cap, and decimal amounts after a comma:Ar 1 500,5. PHP addsAriary::fromFloat();$amountisint|float.ariary: Breaking:parseAriary('1,500')reads 1.5 instead of throwingINVALID_FORMAT. For English-style text, pass{ grouping: 'comma', decimal: 'dot' }.ariary: Newgrouping: commaanddecimaloptions for formatting and the three parsers; the defaults stay Malagasy.ariary: Breaking: FMG conversion is exact in decimal and accepts any francs:fmgToAriary(7501)→1500.2instead ofOUT_OF_RANGE;ariaryToFmg(0.07)→0.35.ariary: Points under review: the default reading of1,500, rounding of very long decimals, and formatted text longer than the 32-character reading limit.
0.4.0 (2026-11-25)
Section titled “0.4.0 (2026-11-25)”words: Breaking: a count of one is bare only forarivo:10 000→iray alina,1 000 000→iray tapitrisa;1 000staysarivo.
0.3.0 (2026-11-25)
Section titled “0.3.0 (2026-11-25)”words: Breaking: hundreds from 200 join withsyat every size (205→dimy sy roanjato), and 11–19 useambin'ny(11→iraika ambin'ny folo).
0.2.0 (2026-11-24)
Section titled “0.2.0 (2026-11-24)”spec: Breaking: modules moved tomodules/and schemas toschemas/. Adds the ariary and date modules.
0.1.0 (2026-11-23)
Section titled “0.1.0 (2026-11-23)”spec: First spec: shared error codes and schemas, the words and phone modules.