Project
Versioning
The spec and the packages follow Semantic Versioning separately. Every package states the spec version it implements, and all packages, JavaScript and PHP, share one version number.
What a version number tells you
Section titled “What a version number tells you”- Spec version: the behaviour: data, rules and test vectors. Each package README says
Implements spec x.y.z, and its CI fails if that claim does not match the vectors it passed. - Package version: the code you install. All
@mdgascar/*packages share one version:number-words0.3.0 always goes withmalagasy-intl0.3.0. The PHP packagemdgascar/malagasy-intluses the same number: PHP 0.8.0 behaves exactly like npm 0.8.0. The Laravel and Symfony packages have their own version numbers, and each says whichmdgascar/malagasy-intlversions it works with.
| Change | Spec | Package |
|---|---|---|
| Typo or wrong value fixed in data | patch | patch |
| New data (operator, prefix, word) | minor | minor |
| New helper function | minor | minor |
| Output changes for an existing input | major | major |
| Function renamed or removed | none | major |
| Minimum language version raised | none | major |
Before 1.0.0, a major change bumps the minor version instead.
Supported runtimes
Section titled “Supported runtimes”| Language | Supported versions |
|---|---|
| JavaScript | Node.js 22.18+, current Deno and Bun, modern browsers |
| PHP | 8.3, 8.4, 8.5 |
Dropping a runtime version is a major release.