Skip to content

Countries v3.0.0

Compare
Choose a tag to compare
@mledoze mledoze released this 18 Dec 21:58
· 99 commits to master since this release

Breaking changes

  • rename property currency to currencies
  • change format of currencies property: it is now an object with currency code as keys. The value is an object with name and symbol properties.

Before

"currency": ["SHP", "GBP"]

After

"currencies": {
    "GBP": {
        "name": "Pound sterling",
        "symbol": "\u00a3"
    },
    "SHP": {
        "name": "Saint Helena pound",
        "symbol": "\u00a3"
    }
}

Additions

  • add International Direct Dialing codes (idd property); example:
"idd": {
    "root": "+2",
    "suffixes": [
        "90",
        "47"
    ]
}
  • add Persian translations
  • add Korean translations
  • add Urdu translations
  • add missing currency codes
  • add missing Korean common translation for Wallis and Futuna
  • add types for TypeScript
  • add Symfony 5 support

Changes

  • change name of Macedonia to North Macedonia
  • update translations of North Macedonia
  • update flag of Bolivia and Peru
  • reorder currencies codes alphabetically
  • change demonym of Myanmar to Burmese
  • update entry for Curaçao

Fixes

  • rename 'Dollar' to 'dollar'
  • replace sovereing with sovereign
  • fix names of Saint Kitts and Nevis
  • remove [G] in currency codes
  • fix official German name for Nepal
  • fix Kazakhstan calling code
  • replaces (none) with empty strings

Build

  • migrate CI from Travis to GitHub Actions

Miscellaneous

  • add the full ODbL license
  • update build status badge with