Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
b34202c
move: rename "Congo, Republic of"
younn-o Jul 8, 2024
00e92a3
move: rename "Congo, Democratic Republic of"
younn-o Jul 8, 2024
df84bc7
move: rename "Congo, The Democratic Republic of the"
younn-o Jul 18, 2024
2c9b473
move: rename "Congo, La República Democràtica del"
younn-o Jul 18, 2024
125a88f
move: rename "Congo, República Democrática del"
younn-o Jul 18, 2024
9f7a889
move: rename "Congo, Gweriniaeth Ddemocrataidd y"x
younn-o Jul 18, 2024
b6801aa
move: rename "Congo, República Democrática do"
younn-o Jul 18, 2024
f9d490d
move: rename "Congo, Republica Democratic del"
younn-o Jul 18, 2024
211ff51
move: rename "Congo, Democratische Republiek"
younn-o Jul 18, 2024
9c019e3
move: rename "Congo, Republica democrată"
younn-o Jul 18, 2024
e57b39c
move: rename "Congo, Repùblica Democràtica de su"
younn-o Jul 18, 2024
e3f1096
move: rename "Congo, Ang Demokratikong Republika ng"
younn-o Jul 18, 2024
110b6ba
move: rename "Micronesia, Federated States of"
younn-o Jul 18, 2024
43471d0
move: rename "Micronesia, Taleithiau Cyfunol"
younn-o Jul 18, 2024
dd8f77d
move: rename "Micronesia, Estados Federados de"
younn-o Jul 18, 2024
17c6456
move: rename "Micronesia, Estats Federats de"
younn-o Jul 18, 2024
816e9eb
move: rename "Micronesia, Statele federale ale"
younn-o Jul 18, 2024
be93796
move: rename "Iran, Islamic Republic of"
younn-o Jul 18, 2024
3383340
move: rename "Iran, Islamitiese Republiek van"
younn-o Jul 18, 2024
68c7b66
move: rename "Iran, Gweriniaeth Islamaidd"
younn-o Jul 18, 2024
9ef4d0b
move: rename "Iran, Den Islamiske Republik"
younn-o Jul 18, 2024
7a8b9a5
move: rename "Iran, Islamische Republik"
younn-o Jul 18, 2024
9fcd83b
move: rename "Iran, Islamiar Errepublika"
younn-o Jul 18, 2024
bf87d18
move: rename "Iran, République islamique d'"
younn-o Jul 18, 2024
adc3325
move: rename "Iran, Islamska Republika"
younn-o Jul 18, 2024
622abac
move: rename "Iran, Republik Islam"
younn-o Jul 18, 2024
ae9534f
move: rename "Iran, Den islamske republikk"
younn-o Jul 18, 2024
311851b
move: rename "Iran, Republica islamică"
younn-o Jul 18, 2024
c095afc
move: rename "Iran, Repubulika ya Kisilimu"
younn-o Jul 18, 2024
a3010e4
move: rename "Iran, Repùblica Islàmica de"
younn-o Jul 18, 2024
b1a5464
move: rename "Iran, Republika Islamike"
younn-o Jul 18, 2024
06c516e
move: rename "Iran, islamiska republiken"
younn-o Jul 18, 2024
775b780
move: rename "Iran, Republikang Islam ng"
younn-o Jul 18, 2024
ba102df
move: rename "Lao, Folkets Demokratiske Republik"
younn-o Jul 18, 2024
3594679
move: rename "Lao, République démocratique populaire"
younn-o Jul 18, 2024
e2f8180
move: rename "Laos, Demokratische Volksrepublik"
younn-o Jul 18, 2024
0d56b2a
fix(data): DK `address_format`
mroach Feb 21, 2025
635e347
update CR translations
daviddinis-jumpseller Mar 3, 2025
93353bf
fix: the SK spec breakage
sabify Mar 10, 2025
dc522d9
Merge pull request #892 from daviddinis/master
pmor Mar 10, 2025
c216a50
Merge pull request #890 from mroach/fix/denmark_address_format
pmor Mar 10, 2025
c125c5c
Merge pull request #893 from sabify/sk-spec-breakge
pmor Mar 10, 2025
a151b31
fix: normalizing data files
sabify Mar 13, 2025
dbea395
fix: currency code of Sierra Leone and Sao Tome and Principe
sabify Mar 18, 2025
1789bd7
Merge pull request #895 from sabify/fix-currencies
pmor Mar 18, 2025
98a6bef
Fix Spanish translation of DZ (Algeria). Fixes #889
pmor Mar 29, 2025
e3d9d96
Merge pull request #894 from sabify/fix-normalizing-data
pmor Mar 29, 2025
2ed1a0b
Merge pull request #896 from countries/fix_DZ_translation
pmor Mar 29, 2025
9d758a1
fix: currency of Curacao and Saint Maarten
sabify Apr 2, 2025
0379802
Find correct subdivision when searching for Washington
hieuk09 Apr 5, 2025
124a410
Fix SG - Singapura country name in pt-BR
stephannv Apr 24, 2025
7b7ddc8
Fix ZA province name
yenshirak May 14, 2025
4c1825e
fix: iso short names
sabify May 19, 2025
bf76175
Merge pull request #900 from hieuk09/bug/set-correct-subdivision-code…
pmor May 31, 2025
be296bb
Merge pull request #899 from sabify/fix-xcg
pmor May 31, 2025
2e691f5
Merge pull request #904 from stephannv/patch-1
pmor May 31, 2025
af07fee
Merge pull request #906 from yenshirak/za-province-fix
pmor May 31, 2025
7c11c3e
Cleanup some reek issues
pmor Mar 29, 2025
4abfd5f
More reek issues
pmor May 31, 2025
b86ab15
Merge pull request #897 from countries/reek_issues
pmor May 31, 2025
968be0f
Update gems and add memory_profiler
pmor May 31, 2025
1c6a6e1
Lock activesupport development dependency to < 8 in order to support …
pmor May 31, 2025
5b7fbe0
Drop support for Ruby 3.1 (EOL 2025-03-26)
pmor May 31, 2025
fbaf34b
Merge pull request #909 from countries/drop_ruby_3.1
pmor May 31, 2025
0d4ddcd
Experiment with symbol-keyed translation hashes to reduce string allo…
pmor Jan 4, 2025
95b626d
Reek issues
pmor May 31, 2025
fa43da1
Merge pull request #856 from younn-o/rename-countries-with-comma
pmor May 31, 2025
74c1c2c
Revert "Rename countries with comma"
pmor May 31, 2025
f15a6a7
Merge pull request #910 from countries/revert-856-rename-countries-wi…
pmor May 31, 2025
ca42c9d
Merge pull request #884 from countries/reduce_allocations
pmor May 31, 2025
fd76177
Bump version, update cache and CHANGELOG
pmor May 31, 2025
f90fc75
Fix error in collect_countries_with and update specs
pmor May 31, 2025
eaac4c0
Merge pull request #911 from countries/fix_collect_countries
pmor May 31, 2025
6a786cf
bump version and update CHANGELOG
pmor May 31, 2025
23a38b7
Merge pull request #907 from sabify/fix-iso-short
pmor Jun 1, 2025
ae0c308
Update README
pmor Jun 2, 2025
81bfd49
Fix error when searching `ISO3166::Country[nil]`. Fixes #912
pmor Jun 2, 2025
a28214f
Merge pull request #913 from countries/fix/912_error
pmor Jun 2, 2025
6718aa9
bump version and update CHANGELOG
pmor Jun 2, 2025
549c494
Update gemfile.lock
pmor Jun 2, 2025
18207c9
fix: check if matches is nil
ratheeshaditya Jun 5, 2025
65e9a11
added condition to return false if method is nil
ratheeshaditya Jun 7, 2025
e25b6ff
add french trnaslation for New Caledonia in French subdivisions
Bertrand-Bichat Jun 19, 2025
f9353e6
Fix Turkey translation to english.
bogdan Jun 20, 2025
0e2c8bb
Merge pull request #919 from Bertrand-Bichat/fix_france_regions
pmor Jun 25, 2025
65f40e4
Merge pull request #917 from ratheeshaditya/fix_not_null_match
pmor Jun 30, 2025
1b79417
Update EE.yaml
jarthod Jul 3, 2025
96198cd
Merge pull request #922 from jarthod/patch-1
pmor Jul 3, 2025
2eebbf9
Bump version, update cache and CHANGELOG
pmor Jul 11, 2025
a0674ce
Fix specs
pmor Jul 11, 2025
9b26cba
Remove sponsorship links
pmor Jul 22, 2025
4bcb679
Update codeclimate action
pmor Jul 22, 2025
8a88348
Update codeql action
pmor Jul 22, 2025
345f7ea
Disable code coverage until the action is updated (codeclimate -> qlt…
pmor Jul 22, 2025
ffb6ee0
Remove CodeClimate badge
pmor Jul 22, 2025
30c8845
Update Gemfile.lock
pmor Jul 28, 2025
ee77f07
Move to Qlty coverage
pmor Aug 30, 2025
bd66a06
Add the old iso_short_names as unofficial_names. Fixes #923
pmor Jul 15, 2025
ee324a4
Revert removal of empty keys from country data files. Fixes #925
pmor Jul 28, 2025
12a3284
Add/update specs. Update cache so the new specs run
pmor Aug 30, 2025
2aeae58
Merge pull request #926 from countries/fix/short_name_fallback
pmor Aug 30, 2025
53a4a54
Merge pull request #927 from countries/fix/revert_normalization
pmor Aug 30, 2025
08dd4da
Bump version, update cache and CHANGELOG
pmor Aug 30, 2025
dcb0995
Update gems
pmor Aug 30, 2025
3423430
Update spec
pmor Aug 30, 2025
4c5600f
Update RO.yaml
jarthod Sep 12, 2025
c9dfb65
Merge pull request #930 from jarthod/patch-2
pmor Sep 29, 2025
c27b687
Allow locales to be set with strings. Fixes #916
pmor Jul 15, 2025
e9ea92d
Remove CP code from FR translations. Fixes #928
pmor Sep 29, 2025
b1353cc
Merge pull request #932 from countries/fix/remove_clipperton
pmor Sep 29, 2025
68175b1
Add `iso_short_name_lower_case` attribute as an alternative to #907
pmor Jun 4, 2025
2db6ebe
Merge pull request #915 from countries/fix_iso_short_name_change
pmor Sep 29, 2025
36d9ffe
Merge pull request #931 from countries/fix/locale_setup
pmor Sep 29, 2025
dd04d6d
Add #pluck support. Addresses #921
pmor Sep 29, 2025
09b97ea
Merge pull request #933 from countries/add_pluck_support
pmor Sep 29, 2025
bb77998
Adds translations in Bulgarian for MK, CZ, CV, SZ
kirichkov Oct 27, 2025
6c734ce
Fix misuse File.join with nested array
marksmith Oct 29, 2025
33cdcdf
Merge pull request #936 from marksmith/fix-misuse-file-join-with-nest…
pmor Nov 1, 2025
89a1041
Merge pull request #935 from simplicitybg/bg-translations-update
pmor Nov 1, 2025
33bf18d
Update BG to EUR (effective 1 Jan 26)
pmor Dec 23, 2025
1cdc06f
Change Vatican nationality to Vatican Citizen over Italian
batshoes Sep 8, 2025
16d6108
Update spec
pmor Dec 23, 2025
0999e7b
Cache update needed to validate specs
pmor Dec 23, 2025
87a8f56
Merge pull request #940 from countries/update_BG_to_EUR
pmor Dec 23, 2025
c9474b8
Merge pull request #941 from countries/update-vatican-nationality
pmor Dec 23, 2025
3c827e3
Add ruby 4.0.0 to test matrix and update gems
pmor Jan 2, 2026
6d05a34
Merge pull request #942 from countries/ruby-4
pmor Jan 2, 2026
8c026f5
Bump version, update CHANGELOG and cache
pmor Jan 2, 2026
1a01853
fix: update nationality for AX
nikcorg Jan 12, 2026
f4711e2
Merge pull request #944 from nikcorg/patch-1
pmor Jan 12, 2026
62e37d8
[~] avoid redundant objects allocations
skcc321 Feb 18, 2026
f448a71
Merge pull request #947 from skcc321/cache_find_country_by_any_name
pmor Feb 25, 2026
7b2df80
fix(country): Add unofficial name "La Réunion" for Réunion (RE)
Feb 25, 2026
a4be73c
Merge pull request #950 from Jius/master
pmor Feb 25, 2026
0b0af50
Add unofficial names for Canadian subdivisions
kieran Apr 30, 2026
c4000d9
Merge pull request #920 from bogdan/patch-1
pmor May 2, 2026
fbc1d35
Merge pull request #951 from kieran/patch-1
pmor May 2, 2026
6d26484
Update national_number_length for Malawi
kumarharsh13 May 16, 2026
b788c65
Updated Mauritania national number length
kumarharsh13 May 16, 2026
7f155af
Update national_number_length for Congo [DRC]
kumarharsh13 May 16, 2026
2257ab0
Update national_number_length for Côte D'Ivoire
kumarharsh13 May 16, 2026
4d077f0
Merge pull request #1 from kumarharsh13/kumarharsh13-patch-1
kumarharsh13 May 16, 2026
6391edf
Merge pull request #952 from kumarharsh13/master
pmor May 18, 2026
8258df6
Update national number lengths for Somalia
Soumyadeep-ai May 19, 2026
dbcdc71
Merge pull request #1 from Soumyadeep-ai/Soumyadeep-ai-patch-1
Soumyadeep-ai May 19, 2026
32301e5
Fix four IN subdivision names where top-level `name:` is inconsistent
sachinkr7368 May 26, 2026
81383b2
Merge pull request #957 from sachinkr7368/fix/in-states-english-name
pmor Jun 16, 2026
d8f31e2
Merge pull request #954 from Soumyadeep-ai/master
pmor Jun 27, 2026
ca1ae0a
Anchor postal_code_format with \z instead of \Z so a trailing newline…
pmor Jun 27, 2026
65942ca
Replace codeclimate config with Qlty.sh and add qlty badges
pmor Jun 27, 2026
17826f4
Fix coverage measurement and close spec gaps
pmor Jun 27, 2026
b40f325
Replace codeclimate config with Qlty.sh and add qlty badges
pmor Jun 27, 2026
0896d6a
Merge pull request #958 from countries/fix/postal-code-anchor-902
pmor Jun 27, 2026
ec250a7
Merge pull request #960 from countries/test/coverage-gaps
pmor Jun 27, 2026
3066106
Don't mutate caller's translations hash in Data.register. Use transfo…
pmor Jun 27, 2026
1b5a2ec
Update dev dependencies and bundle update. Move activesupport to >8 s…
pmor Jun 27, 2026
820b612
Fix Ruby 4.0 test failure: benchmark no longer a default gem
pmor Jun 27, 2026
8933d45
Make perf_spec runnable: add ruby-prof, update to its 2.0 API
pmor Jun 27, 2026
98cdf2e
Merge pull request #962 from countries/bundle_updates
pmor Jun 27, 2026
59dcebc
Merge pull request #961 from countries/fix/register-caller-hash-mutation
pmor Jun 27, 2026
fac29e6
Fix overly-large regex range [A-z] in country_spec flagged by CodeQL …
pmor Jun 27, 2026
dd34573
Merge pull request #963 from countries/fix/overly-large-regex-range
pmor Jun 27, 2026
0bc67ed
Rename Nauru to Naoero in country data
leonardow-unep-wcmc Jul 8, 2026
07aae6b
Fix inconsistent subdivision coordinates
Aug 26, 2026
3a91927
Bump json from 2.20.0 to 2.21.2
dependabot[bot] Sep 5, 2026
4ea192d
Merge pull request #966 from leonardow-unep-wcmc/data/update-nauru-of…
pmor Sep 5, 2026
619f082
Merge pull request #968 from countries/dependabot/bundler/json-2.21.2
pmor Sep 5, 2026
1dd3015
Merge pull request #967 from cnoize/fix-subdivision-geo-coordinates
pmor Sep 5, 2026
8cfaf2f
feat: resync onto upstream master, keeping the Mooncard data additions
DamienMetzger Sep 13, 2026
c35a0e9
Merge origin/master — the fork's four data additions are already re-a…
DamienMetzger Sep 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 0 additions & 61 deletions .codeclimate.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -53,7 +53,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -67,4 +67,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
9 changes: 6 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [3.1, 3.2, 3.3, 3.4]
ruby: [3.2, 3.3, 3.4, '4.0']
env:
CC_TEST_REPORTER_ID: 1670b97bb8c09d4f4bad81e559f41c7588641c67bd700c933c267bbe7dbbef7f
steps:
Expand All @@ -28,5 +28,8 @@ jobs:
bundler-cache: true
- name: Run tests
run: bundle exec rake
- name: Publish code coverage
uses: paambaati/codeclimate-action@v5.0.0

- uses: qltysh/qlty-action/coverage@v2
with:
token: ${{ secrets.QLTY_TOKEN }}
files: coverage/.resultset.json
129 changes: 129 additions & 0 deletions .qlty/qlty.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
# This file was automatically generated by `qlty init`.
# You can modify it to suit your needs.
# We recommend you to commit this file to your repository.
#
# This configuration is used by both Qlty CLI and Qlty Cloud.
#
# Qlty CLI -- Code quality toolkit for developers
# Qlty Cloud -- Fully automated Code Health Platform
#
# Try Qlty Cloud: https://qlty.sh
#
# For a guide to configuration, visit https://qlty.sh/d/config
# Or for a full reference, visit https://qlty.sh/d/qlty-toml
config_version = "0"

exclude_patterns = [
"*_min.*",
"*-min.*",
"*.min.*",
"**/*.d.ts",
"**/.yarn/**",
"**/bower_components/**",
"**/build/**",
"**/cache/**",
"**/config/**",
"**/db/**",
"**/deps/**",
"**/dist/**",
"**/extern/**",
"**/external/**",
"**/generated/**",
"**/Godeps/**",
"**/gradlew/**",
"**/mvnw/**",
"**/node_modules/**",
"**/protos/**",
"**/seed/**",
"**/target/**",
"**/testdata/**",
"**/vendor/**",
"**/assets/**",
]

test_patterns = [
"**/test/**",
"**/spec/**",
"**/*.test.*",
"**/*.spec.*",
"**/*_test.*",
"**/*_spec.*",
"**/test_*.*",
"**/spec_*.*",
]

[smells]
mode = "comment"

[smells.boolean_logic]
threshold = 4
enabled = true

[smells.file_complexity]
threshold = 55
enabled = true

[smells.return_statements]
threshold = 4
enabled = true

[smells.nested_control_flow]
threshold = 4
enabled = true

[smells.function_parameters]
threshold = 4
enabled = true

[smells.function_complexity]
threshold = 5
enabled = true

[[source]]
name = "default"
default = true

[[plugin]]
name = "actionlint"

[[plugin]]
name = "brakeman"

[[plugin]]
name = "checkov"

[[plugin]]
name = "markdownlint"
version = "0.41.0"

[[plugin]]
name = "osv-scanner"

[[plugin]]
name = "prettier"
mode = "monitor"

[[plugin]]
name = "radarlint-ruby"

[[plugin]]
name = "reek"

[[plugin]]
name = "ripgrep"

[[plugin]]
name = "rubocop"

[[plugin]]
name = "trivy"
drivers = [
"config",
"fs-vuln",
]

[[plugin]]
name = "trufflehog"

[[plugin]]
name = "yamllint"
26 changes: 26 additions & 0 deletions .reek.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
exclude_paths:
- spec
detectors:
IrresponsibleModule:
enabled: false
UncommunicativeModuleName:
accept:
- ISO3166
UncommunicativeParameterName:
accept:
- alpha2
- alpha3
UncommunicativeVariableName:
accept:
- alpha2
- alpha3
UncommunicativeMethodName:
accept:
- Country
- from_alpha2_to_alpha3
- from_alpha3_to_alpha2
- load_data_for_alpha2
TooManyStatements:
max_statements: 7
DuplicateMethodCall:
max_calls: 2
4 changes: 2 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

AllCops:
NewCops: enable
TargetRubyVersion: 3.1
TargetRubyVersion: 3.2

Layout/LineLength:
Max: 120
Expand Down Expand Up @@ -46,4 +46,4 @@ Metrics/ClassLength:

Metrics/AbcSize:
Exclude:
- 'lib/countries/sources/cldr/*'
- 'lib/countries/sources/cldr/*'
72 changes: 70 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,83 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/).

## Unreleased

* Anchor `postal_code_format` with `\z` instead of `\Z` so the generated regex no longer accepts a trailing newline (e.g. `"123456\n"` is now correctly rejected). Fixes #902
* `ISO3166::Data.register` no longer mutates the `translations` hash passed by the caller (it was transforming the caller's keys to symbols in place)

## [8.1.0](https://github.com/countries/countries/releases/tag/v8.1.0') (2026/01/02 09:14 +00:00)

* Update Romania standard VAT from 19% to 21% + single reduced rate to 11% (Aug 1st 2025 change) by @jarthod in https://github.com/countries/countries/pull/930
* Remove CP code from FR translations. Fixes #928 by @pmor in https://github.com/countries/countries/pull/932
* Add `iso_short_name_lower_case` attribute as an alternative to #907 by @pmor in https://github.com/countries/countries/pull/915
* Allow locales to be set with strings. Fixes #916 by @pmor in https://github.com/countries/countries/pull/931
* Add #pluck support by @pmor in https://github.com/countries/countries/pull/933
* Fix misuse of File.join with nested array by @marksmith in https://github.com/countries/countries/pull/936
* Adds translations in Bulgarian for MK, CZ, CV, SZ by @kirichkov in https://github.com/countries/countries/pull/935
* Update BG to EUR (effective 1 Jan 26) by @pmor in https://github.com/countries/countries/pull/940
* Update vatican nationality by @pmor in https://github.com/countries/countries/pull/941
* Add ruby 4.0.0 to test matrix and update gems by @pmor in https://github.com/countries/countries/pull/942

## [8.0.4](https://github.com/countries/countries/releases/tag/v8.0.4') (2025/08/30 14:36 +00:00)

* Add the old iso_short_names as unofficial_names. Fixes #923 by @pmor in https://github.com/countries/countries/pull/926
* Revert removal of empty keys from country data files. by @pmor in https://github.com/countries/countries/pull/927


## [8.0.3](https://github.com/countries/countries/releases/tag/v8.0.3') (2025/07/11 14:25 +00:00)

* fix: change french name of France subdivisions by @Bertrand-Bichat in https://github.com/countries/countries/pull/919
* fix: add guard clause to check if matches is nil by @ratheeshaditya in https://github.com/countries/countries/pull/917
* Update Estonia standard VAT from 22% to 24% (July 1st 2025 change) by @jarthod in https://github.com/countries/countries/pull/922


## [8.0.2](https://github.com/countries/countries/releases/tag/v8.0.2') (2025/06/01 13:30 +00:00)

* fix: iso short names by @sabify in https://github.com/countries/countries/pull/907
* Fix error when searching `ISO3166::Country[nil]`. Fixes #912 by @pmor in https://github.com/countries/countries/pull/913

## [8.0.1](https://github.com/countries/countries/releases/tag/v8.0.1') (2025/05/31 15:34 +00:00)

* Fix error in collect_countries_with and update specs by @pmor in https://github.com/countries/countries/pull/911

## [8.0.0](https://github.com/countries/countries/releases/tag/v8.0.0') (2025/05/31 14:35 +00:00)

**Breaking Changes**

* Drop support for Ruby 3.1 (EOL 2025-03-26) by @pmor in https://github.com/countries/countries/pull/909
* Experiment with symbol-keyed translation hashes to reduce string allocations by @pmor in https://github.com/countries/countries/pull/884

This is a potentially breaking change because some translation-related methods return the translation hashes, which now have symbol keys instead of string keys

* Find correct subdivision when searching for Washington by @hieuk09 in https://github.com/countries/countries/pull/900

This is a potentially breaking change because the behaviour of `find_subdivision_by_name` has changed to fix https://github.com/countries/countries/issues/888

**What's Changed**

* update CR translations by @daviddinis in https://github.com/countries/countries/pull/892
* fix(data): DK `address_format` by @mroach in https://github.com/countries/countries/pull/890
* fix: the spec breakage in SK by @sabify in https://github.com/countries/countries/pull/893
* fix: currency code of Sierra Leone and Sao Tome and Principe by @sabify in https://github.com/countries/countries/pull/895
* fix: normalizing data files by @sabify in https://github.com/countries/countries/pull/894
* Fix Spanish translation of DZ (Algeria). Fixes #889 by @pmor in https://github.com/countries/countries/pull/896
* fix: currency of Curacao and Saint Maarten by @sabify in https://github.com/countries/countries/pull/899
* Fix SG - Singapore country name in pt-BR by @stephannv in https://github.com/countries/countries/pull/904
* Correct ZA province name by @yenshirak in https://github.com/countries/countries/pull/906
* Cleanup some reek issues by @pmor in https://github.com/countries/countries/pull/897


## [7.1.1](https://github.com/countries/countries/releases/tag/v7.1.1') (2025/02/08 18:07 +00:00)

## What's Changed
**What's Changed**

* Update SK VAT rates for 2025 by @bobmaerten in https://github.com/countries/countries/pull/885

## [7.1.0](https://github.com/countries/countries/releases/tag/v7.1.0') (2025/01/04 17:16 +00:00)

## What's Changed
**What's Changed**

* Add UN membership by @will-gant in https://github.com/countries/countries/pull/882
* Add vehicle_registration_code attribute to countries data by @ch000 in https://github.com/countries/countries/pull/871
* Add Ruby 3.4 to the test matrix by @pmor in https://github.com/countries/countries/pull/883
Expand Down
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ gem 'tzinfo'
gemspec

group :development, :test do
gem 'benchmark' # no longer a default gem as of Ruby 4.0; used by spec/perf_spec.rb
gem 'debug'
gem 'yaml'
gem 'memory_profiler' # spec/perf_spec.rb
gem 'ruby-prof' # spec/perf_spec.rb
end
Loading
Loading