Skip to content

Releases

5.0.0: Name corrections and European Portuguese

Choose a tag to compare

@jagomf jagomf released this 28 Nov 11:10

Country names in Portuguese, French, German and Italian have been reviewed against Wikipedia. 77 names change in total.

Breaking change

pt now uses European Portuguese (Portugal) instead of Brazilian Portuguese. If you display or match on these names, check the list below.

Portuguese (35)

Code Before Now
AM Armênia Arménia
BH Bahrain Bahrein
BJ Benin Benim
BW Botswana Botsuana
BY Belarus Bielorrússia
DJ Djibouti Jibuti
EE Estônia Estónia
GE Georgia Geórgia
GL Groenlândia Gronelândia
IR Irã Irão
KE Quênia Quénia
KN São Cristóvão e Nevis São Cristóvão e Neves
KP Coréia do Norte Coreia do Norte
KR Coréia do Sul Coreia do Sul
KW Kuweit Kuwait
LC St Lucia Santa Lúcia
LV Látvia Letónia
MC Mônaco Mónaco
MU Maurício Maurícia
MW Malavi Malawi
NL Holanda Países Baixos
OM Oman Omã
PG Papua Nova Guiné Papua-Nova Guiné
PL Polônia Polónia
RO Romênia Roménia
SC Seychelles Seicheles
SG Cingapura Singapura
SI Eslovenia Eslovénia
SM San Marino São Marinho
SV El Salvador Salvador
TJ Tadjiquistão Tajiquistão
TT Trinidad e Tobago Trindade e Tobago
UZ Uzbequistão Usbequistão
VN Vietnã Vietname
ZW Zimbábue Zimbabué

French (20)

Code Before Now
BY Bélarus Biélorussie
CD Congo (DR) Congo (RD)
CI Côte D'Ivoire Côte d'Ivoire
EG Egypte Égypte
ER Erythrée Érythrée
ET Ethiopie Éthiopie
GY Guyane Guyana
HK Hong-Kong Hong Kong
KW Koweit Koweït
LR Libéria Liberia
MM Myanmar Birmanie
PR Puerto Rico Porto Rico
PW Palau Palaos
SA Arabie Saoudite Arabie saoudite
SM San Marino Saint-Marin
SS Sud-Soudan Soudan du Sud
ST Sao Tomé et Principe Sao Tomé-et-Principe
SV El Salvador Salvador
TL Timor-Leste Timor oriental
VN Viêt-Nam Vietnam

German (17)

Code Before Now
AT Osterreich Österreich
BY Weissrussland Belarus
CY Zypern Republik Zypern
DK Danemark Dänemark
EG Agypten Ägypten
ET Athiopien Äthiopien
GB Vereinigtes Konigreich Vereinigtes Königreich
GL Gronland Grönland
KN Saint Kitts Nevis St. Kitts und Nevis
KP Korea Nord Nordkorea
KR Korea Sud Südkorea
LC Saint Lucia St. Lucia
SS Sudan Sud Südsudan
ST Sao Tome und Principe São Tomé und Príncipe
TR Turkei Türkei
VC Saint Vincent Grenadinen St. Vincent und die Grenadinen
ZA Sudafrika Südafrika

Italian (5)

Code Before Now
BH Bahrain Bahrein
LC Santa Lucia Saint Lucia
MY Malesia Malaysia
NL Olanda Paesi Bassi
PA Panamá Panama

English and Spanish are unchanged.

v4.1.1: Security maintenance

Choose a tag to compare

@jagomf jagomf released this 17 Nov 15:55

Maintenance release. No changes to the country list or the API.

  • Updated build dependencies to fix security vulnerabilities (rollup, @rollup/plugin-terser, serialize-javascript, picomatch)
  • The package is now published from GitHub Actions via npm trusted publishing (OIDC), with provenance

The published bundle is identical to v4.1.0; these vulnerabilities only affected the build tooling, not the distributed package.

v4.1: Added Palestine

Choose a tag to compare

@jagomf jagomf released this 24 Sep 09:01

Palestine gains wide recognition

v4: Full refresh

Choose a tag to compare

@jagomf jagomf released this 26 Feb 21:10

New version, new constraints, new stack.

Contains breaking changes

  • Country codes accepted specified (breaking change)
  • Output bundled together by Rollup

v3.0.1

Choose a tag to compare

@jagomf jagomf released this 09 Dec 22:09

Simplified some names

v3: Refreshed list

Choose a tag to compare

@jagomf jagomf released this 14 Nov 16:23

BREAKING CHANGES: List revised and updated. Removed non-sovereign realms:

  • Bermuda (British Overseas Territory)

v2.2: Updated names

Choose a tag to compare

@jagomf jagomf released this 14 Nov 16:16

Updates:

  • CZ: Recommended name
  • TR: English/global name

v2.1: Minified distributable

Choose a tag to compare

@jagomf jagomf released this 15 Dec 17:30

Distributed JS files are now minified.

v2.0: Refreshed list

Choose a tag to compare

@jagomf jagomf released this 20 Oct 22:32

BREAKING CHANGES: List revised and updated. Removed non-sovereign countries:

  • Anguilla (British Overseas Territory)
  • American Samoa (Unincorporated and unorganized U.S. territory)
  • Aruba (Constituent country in the Kingdom of the Netherlands)
  • Cook Islands (citizens of New Zealand)
  • Curazao (Constituent country in the Kingdom of the Netherlands)
  • Guam (Unincorporated and organized U.S. territory)
  • Cayman Islands (British Overseas Territory)
  • Tokelau (Dependent territory of New Zealand)

v1.5.3

Choose a tag to compare

@jagomf jagomf released this 30 Aug 18:09

Updated Swaziland to Eswatini