# Change Log All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## 2.1.3 - [#480](https://github.com/hexorx/countries/pull/480) Add subdivision names with codes (@md-hamed) - [#490](https://github.com/hexorx/countries/pull/490) Fix search to work for countries with comma in their name (@bud-yoyo) - [#488](https://github.com/hexorx/countries/pull/488) Update BY currency code (BYR -> BYN) (@mainameiz) - [#487](https://github.com/hexorx/countries/pull/487) fix TW national_prefix (@swdyh) - [#478](https://github.com/hexorx/countries/pull/478) Add vat rates for mexico (@jgrau) - [#476](https://github.com/hexorx/countries/pull/476) Add standard vat rate for Norway (@jgrau) - [#473](https://github.com/hexorx/countries/pull/473) Add CLDR data source for subdivion translations. (@rposborne) - [#472](https://github.com/hexorx/countries/pull/472) Fix corrupted Subdivisions (@rposborne) ## 2.1.2 - Fix incorrectly named subdivision data files @skyborn8 - Updates MX.yaml to reflect Mexico City's official name change @novohispano ## 2.1.1 - Updated cache @rposborne - Add code attribute to Subdivision @kasparsj - Allow override of cache dir @kasparsj ## 2.1.0 - Fix emoji support in old rubies < 2.0 @pezholio - Detect if active_support is loaded before using .html_safe @subfusc - Changed the nationality of Hong Kong from Chinese to Hong Kongnese @neosepulveda - Readme Cleanup @dankimio - Correct typo for Virgin Islands, U.S and add translation for Palestine @jpawlyn - Add new French Regions (january 2016) @clemthenem - Add Russian unofficial name to GB @faucct - Update gem i18n_data @seb-sykio ## 2.0.8 - Add language data to Nepal @gkunwar - Add start of week day @Vsanchezr - Normalized Turkey's Subdivisions @emir ## 2.0.7 - Content Fixes ## 2.0.6 - Adds French Guiana nationality - Add missing un_locode for south sudan - Fix Norwegian country code (false -> NO) - Add missing un location codes - Further reduce calls to .keys to provide additional speedup and performance bump - Add sixarm_ruby_unaccent to gemspec dependencies - Update all official country names to the ISO 3166 standard - [Full Changelog](https://github.com/hexorx/countries/compare/v2.0.5...v2.0.6) ## 2.0.5 - Fixes #408 Correct Subdivision files for AD, AE, AF, AG, and AL - [Full Changelog](https://github.com/hexorx/countries/compare/v2.0.4...v2.0.5) ## 2.0.4 - Update cache. - [Full Changelog](https://github.com/hexorx/countries/compare/v2.0.3...v2.0.4) ## 2.0.3 - Fix comparison with country to nil - Add NANP_prefix as separate field - [Full Changelog](https://github.com/hexorx/countries/compare/v2.0.2...v2.0.3) ## 2.0.2 - Add nanp_prefix data. - [Full Changelog](https://github.com/hexorx/countries/compare/v2.0.1...v2.0.2) ## 2.0.1 - Content updates - Fix bounding boxes that were mismatched. - Update bounding box update task to prevent any lookup from return anything other than a country. - [Full Changelog](https://github.com/hexorx/countries/compare/v2.0.0...v2.0.1) ## 2.0.0 - Remove find_country_by_translations - [Full Changelog](https://github.com/hexorx/countries/compare/v1.2.5...v2.0.0) - [Changelog from RC](https://github.com/hexorx/countries/compare/v2.0.0.rc3...v2.0.0) ## 2.0.0.rc3 - Content updates - All geo cords, are no longer strings - All bounding boxes updated - United States is now United States of America - Refactor of Rake tasks - [Changelog from RC](https://github.com/hexorx/countries/compare/v2.0.0.rc2...v2.0.0.rc3) ## 2.0.0.rc2 - Add fallback when looking up locales for pt-BR style languages - Implement project style guide - [Changelog from RC](https://github.com/hexorx/countries/compare/v2.0.0.rc...v2.0.0.rc2) ## 2.0.0.rc - Fixed a regression that would purge the countries memory cache when adding a custom country #353 - Various Content Updates - [Changelog from RC](https://github.com/hexorx/countries/compare/v2.0.0.pre.4...v2.0.0.rc) ## 2.0.0.pre.4 - [Changelog from RC](https://github.com/hexorx/countries/compare/v2.0.0.pre.2...v2.0.0.pre.4) - Fix crash when app introduces an unexpected locale. Much thanks to @jstenhouse ## 2.0.0.pre.2 - [Changelog from RC](https://github.com/hexorx/countries/compare/v2.0.0.pre...v2.0.0.pre.2) - Bringing in content from 1.x branch ## 2.0.0.pre - [Changelog from RC](https://github.com/hexorx/countries/compare/v1.2.5...v2.0.0.pre) - Selective loading translations of countries - Auto detect I18n locales to load - Add Configuration methods to force locales to load - Dropped currencies gem in favor of money - Add Time Zone Support - DATA STRUCTURE CHANGES -COUNTRY - BREAKING CHANGES - names: => unofficial_names - languages: => official_languages - lat/lng fields are nested under a "geo" key - + spoken_languages - + ## 1.2.5 @ 2016-01-22 - Rebuilding cache - [Full Changelog](https://github.com/hexorx/countries/compare/v1.2.4...v1.2.5) ## 1.2.4 @ 2016-01-21 - Romanian Standard VAT rate is 20% as of 2016-01-01 #325 @dougal - Palestine submit #324 @samizan - Added 47 as calling code for Bouvet Island, Norwegian territory #323 - Added XAF as currency code for Congo @espen - Force converting passed locale to string @borodiychuk - [Full Changelog](https://github.com/hexorx/countries/compare/v1.2.3...v1.2.4) ## 1.2.3 - Content Updates - [Full Changelog](https://github.com/hexorx/countries/compare/v1.2.2...v1.2.3) ## 1.2.2 - Content Updates - [Full Changelog](https://github.com/hexorx/countries/compare/v1.2.1...v1.2.2) ## 1.2.1 - Fixed issue in loading @rposborne - [Full Changelog](https://github.com/hexorx/countries/compare/v1.2.0...v1.2.1) ## 1.2.0 (yanked) - Cleaning up Global Load Path @rposborne - Add MOP as the currency for Macao @kriskhaira - [Full Changelog](https://github.com/hexorx/countries/compare/v1.1.0...v1.2.0) ## 1.1.0 - Adding compare operation to country @guilleart - Content Updates @rposbone - Correct NL to NO for un_locode @ohenrik - Fix spelling of Sjælland @boatrite - Add alternate spelling of Macao/Macau @nityaoberoi - [Full Changelog](https://github.com/hexorx/countries/compare/v1.0.0...v1.1.0) ## 1.0.0 - Switch to Marshalling for cache storage @rposborne - Country class helper now must be explicitly loaded @rposborne - Removed Rails 2.0 FormHelper COUNTRIES @rposborne - Add class codes method to get list of all alpha2 codes @rposborne - Change default behavior of all method to return a list of country objects vs a tuple of alpha code + name - [Full Changelog](https://github.com/hexorx/countries/compare/v0.11.5...v1.0.0) ## 0.11.5 - Refactored data loading into it's own class - Added ability to override bad translations from i18n - Update languages in NO.yml @matfiz - Fix Subdivisions & States in README @pnomolos - Fix New York, Washington, Oklahoma state's latitude/longitude information @GUI - Bad state data present in Uruguay has been removed @saisha92 - Various Other Content Updates by @danshultz @embs @sykaeh, @tg0 - [Full Changelog](https://github.com/hexorx/countries/compare/v0.11.4...v0.11.5) ## 0.11.4 - Added coordinates for subdivisions @fabn - Various Other Content Updates by @fabn, @snowblink - [Full Changelog](https://github.com/hexorx/countries/compare/v0.11.3...v0.11.4) ## 0.11.3 - Translations update from i18n-data - [Full Changelog](https://github.com/hexorx/countries/compare/v0.11.2...v0.11.3) ## 0.11.2 - silence ruby warnings @franckverrot - add find_country_by_translated_name @rposborne NOTE: this is garbage for the time being, some translations have duplicates in them and causes false results - [Full Changelog](https://github.com/hexorx/countries/compare/v0.11.1...v0.11.2) ## 0.11.1 - added bounding box coordinates for VI, CW, PR, AS, and GU : @marinom - revert Lookup country by translated name via find_by_name @rposborne - [Full Changelog](https://github.com/hexorx/countries/compare/v0.11.0...v0.11.1) ## [0.11.0] - 2015-03-03 ### Changed - Cached Translations in gem to translation lookup speed @rposborne, @stayhero - Upgrade test suite to rspec 3 @rposborne - Added region_short for postal codes @stayhero - Content Updates @masolino, @rosetree, @stayhero, @skarlcf, @cllns, @speric, @rposborne - Adding Lat/Lng to countries @jabawack81 - Readme Updates @cllns - [Full Changelog](https://github.com/hexorx/countries/compare/v0.10.0...v0.11.0)