Skip to content

Releases: mledoze/countries

Countries v1.5

30 Jul 13:28
Compare
Choose a tag to compare

Breaking changes

remove Ascension Island (merged with Saint Helena, see #57)

Addition

add countries GeoJSON outline (example https://github.com/mledoze/countries/blob/4251a5f95d5255a913a397d831dd75080e370f33/data/deu.geo.json)
add russian translations for all countries (thanks @eugene-lazarev)
add unescaped JSON version
add "How to contribute" section in README

This project is now available as a NPM package: https://www.npmjs.org/package/world-countries

Fixes

fix Libya CCA3 in Algeria's borders
fix russian translations, replace \x20 and \x2d with a space and a hyphen
fix calling code for Vatican City
fix data for Hong Kong
fix language and language codes for Norway (fix #56)
remove BRA-FRA, SUR-FRA, MAF-NED borders for Brazil, Suriname and France

Countries v1.4

07 May 13:28
Compare
Choose a tag to compare

Breaking changes

remove population data (see #6 (comment))
rename Côte d'Ivoire to Ivory Coast

Addition

add area data in km²
add countries flag in SVG format (see data folder, source: https://github.com/tinata/tinatapi)
add welsh translations
add Ascension Island
add showcase section in README
add CONTRIBUTING

Fixes

fix missing borders, latitude/longitude and language codes
fix encoding of accented characters in translations
fix native names for countries with right-to-left language
fix/reorder language codes for some countries
fix spanish translation of Chad
fix language for Egypt
fix denonym for United Arab Emirates
fix region and subregion for Cyprus

Countries v1.3

22 Feb 16:36
Compare
Choose a tag to compare

Breaking changes

remove english translations since they are redundant with the name parameter
rename languagesCodes to languageCodes

Build

move generated files to the dist folder
prettify JSON source to ease the contributions
add script to generate other formats (the source is the JSON file)

Additions

add geolocation, population, borders and demonym data
add language codes and translations for multiple countries
add Republic of Kosovo (#27)
add missing population field for some countries (-1 is used if there is no data)

Fixes

fix many type inconsistencies
fix/add translations, mainly french
fix NL translation of Macedonia
fix currency for Colombia and Mexico
fix denonym for Åland Islands
fix null values for latitude/longitude
rename Macao to Macau
convert multiple values to real JSON arrays

Countries v1.2

18 Nov 08:43
Compare
Choose a tag to compare

added license (Open Database License)
added country native name in its native language
added country official language(s) in english
added alt spellings: official country name in english and in its official language(s)
added region and subregion for Bonaire, Sint Maarten and South Sudan
added capital for British Indian Ocean Territory, Micronesia, Réunion, South Georgia, Virgin Islands (British) and Virgin Islands (U.S.)
added currency for Palestinian Territory
added examples in README

change TLD for the UK from .gb to .uk
using camelCase in countries.json

fixed alt spellings for Czech Republic
fixed typo in Canada's and Russia's capital
fixed currency and alt-spelling for Slovakia
fixed currency code for Solomon Islands, Somalia and South Africa
fixed South Georgia currency
fixed relevance for Åland Islands and Finland
fixed ccn3 padding
fixed subregion for Brunei Darussalam, Cambodia, Indonesia, Laos, Malaysia, Myanmar, Philippines, Singapore, Thailand, Timor-Leste and Vietnam
fixed TLD for Bonaire, Heard and McDonald Islands, Kazakhstan and Saint Martin
fixed capital for Moldova
fixed alt-spellings for United Kingdom

rename Brunei Darussalam to Brunei
rename Falkland Islands (Malvinas) to Falkland Islands
rename French Southern Territories to French Southern and Antarctic Lands
rename Myanmar (Burma) to Myanmar (added Burma in alt-spellings)
rename Palestinian Territory to Palestine
rename Pitcairn to Pitcairn Islands
rename Russian Federation to Russia
rename Syrian Arab Republic to Syria
rename Virgin Islands (British) to British Virgin Islands
rename Virgin Islands (U.S.) to United States Virgin Islands

Countries v1.1

04 Oct 23:53
Compare
Choose a tag to compare

Added capital cities
Fixed accented characters encoding in JSON file

Countries v1.0

26 Jul 09:21
Compare
Choose a tag to compare

Because of the nature of this repository, this release is arbitrarily v1.0.

Enjoy!