Countries Versions Save

All sorts of useful information about every country packaged as convenient little country objects. It includes data from ISO 3166 (countries and states/subdivisions ), ISO 4217 (currency), and E.164 (phone numbers).

v5.3.2

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/countries/countries/compare/v5.3.1...v5.3.2

v5.3.1

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/countries/countries/compare/v5.3.0...v5.3.1

v5.3.0

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/countries/countries/compare/v5.2.1...v5.3.0

v5.2.1

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/countries/countries/compare/v5.2.0...v5.2.1

v5.2.0

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/countries/countries/compare/v5.1.2...v5.2.0

v5.1.2

1 year ago

What's Changed

Full Changelog: https://github.com/countries/countries/compare/v5.1.1...v5.1.2

v5.1.1

1 year ago

Important changes

  • Subdivision loading now respects the configured locales and will only load subdivision translations for the configured locales instead of loading all translations. This fixes #580

What's Changed

New Contributors

Full Changelog: https://github.com/countries/countries/compare/v5.1.0...v5.1.1

v5.1.0

1 year ago

Important changes

  • Subdivision now has a type attribute obtained from ISO3166-2 subdivision types. type is a lowercase and snake_cased string.
  • Adds Country#subdivision_types and #humanized_subdivision_types to list a country's subdivision types
  • Adds Country#subdivisions_of_types(types) to allow getting subdivisions of given type(s)
  • Country#states is now deprecated to avoid confusion (this method was just an alias to #subdivisions and retuns all subdivisions, regarless of type)

What's Changed

Full Changelog: https://github.com/countries/countries/compare/v5.0.2...v5.1.0

v5.0.2

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/countries/countries/compare/v5.0.1...v5.0.2

v5.0.1

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/countries/countries/compare/v5.0.0...v5.0.1