All Versions
60
Latest Version
Avg Release Cycle
84 days
Latest Release
42 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v5.1.0 Changes
June 27, 2022Important changes
Subdivision
now has atype
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)
๐ Merged pull requests:
-
v5.0.2 Changes
June 02, 2022 -
v5.0.1 Changes
May 02, 2022๐ Merged pull requests:
- Added subdivision_names_with_codes method in documentation #747 (arymoraes)
- Corrected Portuguese subdivision names #748 (FilipaDurao)
-
v5.0.0 Changes
April 03, 2022๐ฅ Breaking Changes
- โฌ๏ธ Drop support for Ruby 2.5 and 2.6. (EOL in 2021-03-31 and 2022-03-31, respectively)
- Remove deprecated attributes and add new
#find_by_any_name
finder, see https://github.com/countries/countries#upgrading-to-42-and-5x for details
๐ Merged pull requests:
-
v4.2.3 Changes
March 24, 2022๐ IMPORTANT NOTE: This will be be the last release of the 4.x series, and the last one to support Ruby 2.5 and 2.6
- ๐ Use bundle add instead #743 (glaucocustodio)
- โก๏ธ update i18n_data #742 (bonekost)
-
v4.2.2 Changes
February 17, 2022 -
v4.2.1 Changes
January 11, 2022 -
v4.2.0 Changes
January 11, 2022๐ Deprecations
- โฌ๏ธ
Country#name
,Country#names
and the finders using these attributes. See README ('Upgrading to 4.2 and 5.x') latitude_dec
andlongitude_dec
attributes
๐ Merged pull requests:
- ๐จ Name methods refactor #717 (pmor)
- โ Remove non-ISO US subdivisions #720 (pmor)
- โก๏ธ Update MK subdivisions #721 (pmor)
- โก๏ธ Update Kenya subdivision data #722 (pmor)
- ๐ Fix French Southern Territories continent and region data #725 (pmor)
- ๐ Fix SG subdivision data #726 (pmor)
- โ Remove FO subdivisions #727 (pmor)
- JE and IM currencies should be GBP #728 (pmor)
- ๐ Fix US translations in nb and no locales #729 (pmor)
- Missing alternative names for GB and US #724 (dima4p)
- Deprecate latitude_dec and longitude_dec, delegate to latitude #723 (pmor
- โ add VAT for Israel and Saudi Arabia #730 (Venca24
- โ Remove non-ISO KY subdivisions #731 (pmor)
- ๐ Fix duplicated translations of CZ-10 subdivision #733 (pmor)
Closed issues:
- โก๏ธ Update Kenya subdivisions/states #318
- โก๏ธ North Macedonia updates (2020-03-02) #674
- Singapore wrong subdivision codes (SG-SG-0x) #663
- โ Remove Faroe Islands subdivisions #606
- Jersey uses GBP instead of JEP currency #492
- ๐ USA in Norwegian translation should be 'USA' instead of 'De forente stater' #564
- Geographic bounds for UK includes all of Europe #535
- Wrong min_longitude for United States of America? #698
- ๐ Translations for CZ-10 are defined twice #732
- โฌ๏ธ
-
v4.1.3 Changes
January 03, 2022 -
v4.1.2 Changes
December 20, 2021๐ Merged pull requests:
- โก๏ธ Update subdivisions, fix #600 conflicts #710 (donnen, pmor)
- ๐ Fix conflicts in #605 and update those countries to the latest subdivision data #711 (jjamesjohnson, pmor)
- โก๏ธ Update NZ subdivision data and fix Chatham Island entry #712 (pmor)
- โก๏ธ Update translation corrections for Occitan.#713 (pmor)
- โก๏ธ Update i18n_data to 0.15.0 #715 (pmor)