Skip to content

Releases: michaelwittig/node-i18n-iso-countries

v7.0.0

09 Nov 08:06
Compare
Choose a tag to compare

Breaking changes

Drops support for Node 10!

v6.0.0

28 May 06:11
Compare
Choose a tag to compare

Breaking changes

The language files in the langs dir now optionally support an array of strings for the names of a country. see #175

Therefore, the getNames function now returns a struct like this:

{
  "RU": ["Russian Federation", "Russia"],
  "RW": "Rwanda"
}

v5.0.0

09 Mar 10:01
Compare
Choose a tag to compare

Breaking changes

Drops support for Node 6 and 7!

v4.0.0

02 May 15:04
dfc383e
Compare
Choose a tag to compare

Breaking changes

Drops support for Node 4 and 5!

v3.0.0

11 Oct 08:24
Compare
Choose a tag to compare

Breaking changes

  • Using this library now requires an environment that supports String.prototype.padStart available (can be polyfilled).
  • Using this library in the browser now requires the developer to manually register the locale(s) they want to support:
var countries = require("i18n-iso-countries");
// Support french & english languages.
countries.registerLocale(require("i18n-iso-countries/langs/en.json"));
countries.registerLocale(require("i18n-iso-countries/langs/fr.json"));

details #64

v2.0.0

29 Aug 11:27
Compare
Choose a tag to compare

Breaking changes

  • Greek language code gr was renamed to el #57
  • Requires Nodejs >= 4