Aller au contenu
GitHub

Getting started

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.

Ce contenu n’est pas encore disponible dans votre langue.

  • 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: words 0.3.0 always goes with utils 0.3.0. The PHP package mdgascar/malagasy-intl uses 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 which mdgascar/malagasy-intl versions 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.

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.