---
title: "countries 8.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each countries release removed, renamed or changed: 19 breaking changes in 8 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/countries
last_updated: 2026-12-04
---

# countries breaking changes

countries 8.0.0 (May 31, 2025) is its newest release with breaking changes, 3 of them. The first: countries 8.0.0 drops support for Ruby 3.1. Every breaking API change we have recorded in countries on RubyGems: 19 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `8.1.0`. [Source repository](https://github.com/countries/countries)

Its 8.0.0 release drops [Ruby 3.1](https://since.dev/calendar/ruby/3.1.md). [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [7.0.0](#v-7-0-0) to [8.0.0](#v-8-0-0): 3 breaking changes in 1 version.
- From [1.0.0](#v-1-0-0) to [8.0.0](#v-8-0-0): 15 breaking changes in 7 versions.

## countries 8.0.0 breaking changes

countries 8.0.0, released May 31, 2025: 3 breaking changes.

- **Removed**  

Ruby 3.1 is no longer supported. Upgrade to a newer Ruby version before using this release. [github.com](https://github.com/countries/countries/releases/tag/v8.0.0)
- **Behavior changed**  

Some translation-related methods now return hashes with symbol keys instead of string keys. Code that looks up translations by string key must be updated. [github.com](https://github.com/countries/countries/releases/tag/v8.0.0)
- **Behavior changed** `find_subdivision_by_name`  

The behaviour of find_subdivision_by_name has changed so that searching for Washington finds the correct subdivision. Code relying on the previous result may need review. [github.com](https://github.com/countries/countries/releases/tag/v8.0.0)

## countries 7.0.0 breaking changes

countries 7.0.0, released September 29, 2024: 2 breaking changes.

- **Removed**  

Ruby 3.0 is no longer supported; upgrade Ruby before using this release. [github.com](https://github.com/countries/countries/releases/tag/v7.0.0)
- **Removed** `state`  

The deprecated #state method has been removed; code calling it will fail and must be updated. [github.com](https://github.com/countries/countries/releases/tag/v7.0.0)

## countries 6.0.0 breaking changes

countries 6.0.0, released February 17, 2024: 1 breaking change.

- **Removed**  

The gem no longer supports Ruby 2.7; users on that Ruby version must stay on an earlier release or upgrade Ruby. [github.com](https://github.com/countries/countries/releases/tag/v6.0.0)

## countries 5.0.0 breaking changes

countries 5.0.0, released April 3, 2022: 2 breaking changes.

- **Removed**  

Ruby 2.5 and 2.6 are no longer supported. Users on those Ruby versions must upgrade Ruby before upgrading this gem. [github.com](https://github.com/countries/countries/releases/tag/v5.0.0)
- **Removed**  

The deprecated attributes were removed. Code using them must switch to the replacements described in the upgrade guide, such as the new #find_by_any_name finder. [github.com](https://github.com/countries/countries/releases/tag/v5.0.0)

## countries 4.0.0 breaking changes

countries 4.0.0, released June 11, 2021: 1 breaking change.

- **Removed**  

The gem no longer supports Ruby versions older than 2.5.0. Upgrade Ruby to 2.5.0 or later before using version 4.0.0. [github.com](https://github.com/countries/countries/releases/tag/v4.0.0)

## countries 2.0.0 breaking changes

countries 2.0.0, released November 14, 2016: 1 breaking change.

- **Removed** `find_country_by_translations`  

Calls to find_country_by_translations must be changed since the method no longer exists. [github.com](https://github.com/countries/countries/blob/v2.0.0/CHANGELOG.md)

## Older versions

2 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### countries 2.0.0.pre breaking changes

countries 2.0.0.pre, released November 14, 2016: 5 breaking changes.

- **Removed** `currencies`  

The currencies gem is no longer used; use the money gem instead. [github.com](https://github.com/countries/countries/blob/v2.0.0/CHANGELOG.md)
- **Renamed** `country.languages`  

Code reading the languages field of a country must use official_languages instead. [github.com](https://github.com/countries/countries/blob/v2.0.0/CHANGELOG.md)

And 3 more in this version.

### countries 1.0.0 breaking changes

countries 1.0.0, released August 25, 2015: 4 breaking changes.

- **Removed** `FormHelper COUNTRIES`  

The Rails 2.0 FormHelper COUNTRIES constant has been removed. Code using it must stop referencing it. [github.com](https://github.com/countries/countries/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed**  

The release changes the cache storage format to Marshalling. Code that depends on the previous cache format may need to be updated. [github.com](https://github.com/countries/countries/blob/v1.0.0/CHANGELOG.md)

And 2 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
