Skip to content

Countries v2.0.0

Compare
Choose a tag to compare
@mledoze mledoze released this 08 Feb 15:11
· 208 commits to master since this release

Announcement

This project now requires the latest version of PHP 5, which is 5.6.33. This will be the last release to support PHP 5. The next major release (v3.0.0) will require PHP 7.2.

Breaking changes

changed type of property capitals from string to array to support countries with multiple capitals
changed semicolon to comma for CSV format (see https://github.com/mledoze/countries/blob/e2de3c46402c2b7a90d30fa1d6d1151e97420992/dist/countries.csv)
moved SHN and BES divisions back into the main countries.json as two separate entries; also removed files data/shn.divisions.json and data/bes.divisions.json
removed region specific languages (see #181)
removed South Sudan from Chad's neighbours

Additions

added ISO 3166-1 independence status (property independent)
added ISO 3166-1 assignment status (property status)
added TopoJSON formatted files for each country
added Estonian translations
added Guiana demonym for French French Guiana

Build

added three new options: --include-field, --format and --output-dir (thank you @emilv)
added Travis CI to automatically validate new pull requests
updated dependencies:

  • php (>=5.5.9 => >=5.6.33)
  • symfony/console (v3.1.3 => v4.0.4)
  • symfony/yaml (v3.1.3 => v4.0.4)

Fixes

added "The Netherlands" as alternate spelling of Netherlands
added CKD as currency of Cook Islands
added "Antarctic" region for multiple countries
added latitude and longitude data for United States Minor Outlying Islands
updated alternative spellings of Cocos (Keeling) Islands
updated official languages of Armenia
removed province of China and use Traditional Chinese instead of Simplified Chinese
fixed capital of Ukraine
fixed non-existing slk language
fixed land borders for China, Cyprus, Chad, Egypt, India, Jordan and Israel
fixed Russian translation of Mexico
fixed existing official names in Welsh
fixed Russia native official name according to en.wikipedia.org/wiki/Russia
fixed Czech Republic short names
fixed Slovakian translation ISO code
fixed subregion field for Mexico
fixed altSpellings field for Belarus
fixed country name and currency code for Belarus

Miscalleanous

changed licence label to "ODC Open Database License v1.0" to comply with SPDX names