Skip to content
GitHub

Project

Changelog

What changed in each version of the places spec, the behaviour every package implements.

Each entry is a spec version: the rules, data and test vectors every package implements. Package releases follow it and list their own changes in their CHANGELOG.md. See Versioning for what each kind of number means.

The first version of the places spec: the regions, districts, communes and fokontany of Madagascar from the OCHA COD-AB list.

  • findPlace, listPlaces, searchPlaces and formatPlace. A search puts the best match first and takes level and within.
  • formatPlace('MG11102') → Antananarivo Avaradrano, Analamanga.
  • locatePlace, nearestPlace and distanceBetween: the point and area of every place from the COD-AB, the nearest place to a point, and the km between two places. New error code OUT_OF_RANGE.
  • Laravel and Symfony: a validation rule with level and within, @mgPlace and mg_place to print a place, an Eloquent cast and a Doctrine type.