All Versions
60
Latest Version
Avg Release Cycle
84 days
Latest Release
42 days ago

Changelog History
Page 1

  • v5.1.0 Changes

    June 27, 2022

    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)

    ๐Ÿ”€ Merged pull requests:

    • โœ‚ Remove i18n_data dependency #755 (pmor)
    • โšก๏ธ Update subdivision YAML with codes #757 (pmor)
    • โž• Add subdivision types from ISO3166-2 #758 (pmor)
  • v5.0.2 Changes

    June 02, 2022

    ๐Ÿ”€ Merged pull requests:

    • ๐Ÿ›  Fix common name for IR #754 (pmor)
    • โšก๏ธ Update MX subdivisions: Remove DIF and update some unofficial names #755 (pmor)
  • v5.0.1 Changes

    May 02, 2022

    ๐Ÿ”€ Merged pull requests:

  • v5.0.0 Changes

    April 03, 2022

    ๐Ÿ’ฅ Breaking Changes

    ๐Ÿ”€ Merged pull requests:

    • โฌ‡๏ธ Drop support for Ruby 2.5 and 2.6 #708 (pmor)
    • Remove deprecated attributes; Add new #find_by_any_name finder #745 (pmor)
  • 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

  • v4.2.2 Changes

    February 17, 2022

    ๐Ÿ”€ Merged pull requests:

    Closed issues:

    • Change on UAE Value.start_of_week #738

    Full Changelog: https://github.com/countries/countries/compare/v4.2.1...v4.2.2

  • v4.2.1 Changes

    January 11, 2022
    • ๐Ÿš€ Missing update to cache files on release 4.2.0
    • โšก๏ธ Update postal code regexes from rake task #734 (cover)
  • 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 and longitude_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

    ๐Ÿ”€ Merged pull requests:

    • ๐Ÿ›  Fix empty translations in LV subdivisions #719 (pmor)

    Closed issues:

    • ๐ŸŒ Subdivision translations for some latvian subdivisions nil in countries 4.1.2 #718
  • 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)