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

# public_suffix breaking changes

public_suffix 7.0.0 (November 17, 2025) is its newest release with breaking changes. The first: public_suffix 7.0.0 requires Ruby 3.2 or later. Every breaking API change we have recorded in public_suffix on RubyGems: 19 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.1.0`, released November 29, 2026. [Source repository](https://github.com/weppos/publicsuffix-ruby)

Its 7.0.0 release requires [Ruby 3.2](https://since.dev/calendar/ruby/3.2.md) or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [6.0.0](#v-6-0-0) to [7.0.0](#v-7-0-0): 1 breaking change in 1 version.
- From [2.0.0](#v-2-0-0) to [7.0.0](#v-7-0-0): 9 breaking changes in 5 versions.

## public_suffix 7.0.0 breaking changes

public_suffix 7.0.0, released November 17, 2025: 1 breaking change.

- **Behavior changed**  

The gem now requires Ruby 3.2 or later. Users on older Ruby versions must upgrade Ruby before installing this release. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v7.0.0/CHANGELOG.md)

## public_suffix 6.0.0 breaking changes

public_suffix 6.0.0, released June 17, 2024: 1 breaking change.

- **Removed**  

The minimum supported Ruby version is now 3.0, so older Ruby versions are no longer supported. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v6.0.0/CHANGELOG.md)

## public_suffix 5.0.0 breaking changes

public_suffix 5.0.0, released July 24, 2022: 1 breaking change.

- **Configuration changed**  

The package now requires Ruby 2.6 or later; users on older Ruby versions must upgrade Ruby before installing this release. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v5.0.0/CHANGELOG.md)

## public_suffix 4.0.0 breaking changes

public_suffix 4.0.0, released June 25, 2019: 1 breaking change.

- **Removed**  

The minimum supported Ruby version is now 2.3, so users on older Ruby versions must upgrade Ruby before updating the gem. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v4.0.0/CHANGELOG.md)

## public_suffix 3.0.0 breaking changes

public_suffix 3.0.0, released August 4, 2017: 5 breaking changes.

- **Removed**  

The release no longer supports Ruby versions below 2.1. Users on those Ruby versions must upgrade Ruby. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v3.0.0/CHANGELOG.md)
- **Removed** `PublicSuffix.List`  

PublicSuffix::List no longer implements Enumerable. Use #each to loop over the list or get an Enumerator from it. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v3.0.0/CHANGELOG.md)
- **Removed** `PublicSuffix.List.clear`  

PublicSuffix::List.clear was removed. To reset the default list, assign PublicSuffix::List.default = nil instead. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v3.0.0/CHANGELOG.md)
- **Removed** `PublicSuffix.List.rules`  

PublicSuffix::List#rules can no longer be called publicly. Code must stop relying on it because the internal rule representation may change. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v3.0.0/CHANGELOG.md)
- **Removed** `PublicSuffix.List.select`  

PublicSuffix::List#select can no longer be called publicly. Use PublicSuffix::List#find instead. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v3.0.0/CHANGELOG.md)

## public_suffix 2.0.0 breaking changes

public_suffix 2.0.0, released May 20, 2016: 10 breaking changes.

- **Removed** `Domain.is_a_domain?`  

Domain#is_a_domain? was removed. Reconstruct the logic in your own method or call PublicSuffix.{domain|parse}. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Domain.is_a_subdomain?`  

Domain#is_a_subdomain? was removed. Reconstruct the logic in your own method or call PublicSuffix.{domain|parse}. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Domain.rule`  

Domain#rule was removed. Reconstruct the logic in your own method or call PublicSuffix.{domain|parse}. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Domain.valid?`  

Domain#valid? was removed. Reconstruct the logic in your own method or call PublicSuffix.{domain|parse}. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v2.0.0/CHANGELOG.md)
- **Removed** `private_domains`  

The class-level private_domains attribute is gone. Pass private_domains: false to the list parse method instead. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v2.0.0/CHANGELOG.md)
- **Removed** `PublicSuffix.InvalidDomain`  

The PublicSuffix::InvalidDomain exception class was removed. Code that rescues it must be updated. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed**  

When the suffix is listed, the prevailing rule is now "\*" as defined by the PSL algorithm, which can change results. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed**  

Domains with a leading dot are now treated as invalid, per the PSL acceptance tests. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `PublicSuffix.parse`  

Input validation is performed only when calling PublicSuffix.parse or PublicSuffix.list, not in other methods. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v2.0.0/CHANGELOG.md)
- **Default changed**  

The default list assumes UTF-8 when reading the input, so inputs in other encodings may behave differently. [github.com](https://github.com/weppos/publicsuffix-ruby/blob/v2.0.0/CHANGELOG.md)

## 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.
