Project
Versioning
The spec and the packages follow Semantic Versioning separately. Every package states the spec version it implements, and the JavaScript and PHP packages share one version number.
What a version number tells you
Section titled “What a version number tells you”- Spec version: the behaviour, meaning the data, the rules and the test vectors. Each package says which spec version it implements.
- Package version: the code you install.
@mdgascar/placesandmdgascar/malagasy-addressshare one version number: the same version means the same behaviour. The Laravel and Symfony packages have their own version numbers, and each says whichmdgascar/malagasy-addressversions it works with.
| Change | Spec | Package |
|---|---|---|
| Typo or wrong value fixed in data | patch | patch |
| New data (a place, a name) | 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.
The list of places follows its source. When a new COD-AB version changes a code or a name, the change is listed in the changelog.