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
On this page
Latest version 7.1.0, released November 29, 2026. Source repository
Its 7.0.0 release requires Ruby 3.2 or later. Ruby end of life dates.
- From 6.0.0 to 7.0.0: 1 breaking change in 1 version.
- From 2.0.0 to 7.0.0: 9 breaking changes in 5 versions.
public_suffix 7.0.0 breaking changes
- 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
public_suffix 6.0.0 breaking changes
- Removed
The minimum supported Ruby version is now 3.0, so older Ruby versions are no longer supported. github.com
public_suffix 5.0.0 breaking changes
- 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
public_suffix 4.0.0 breaking changes
- 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
public_suffix 3.0.0 breaking changes
- Removed
The release no longer supports Ruby versions below 2.1. Users on those Ruby versions must upgrade Ruby. github.com - Removed
PublicSuffix.List
PublicSuffix::List no longer implements Enumerable. Use #each to loop over the list or get an Enumerator from it. github.com - Removed
PublicSuffix.List.clear
PublicSuffix::List.clear was removed. To reset the default list, assign PublicSuffix::List.default = nil instead. github.com - 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 - Removed
PublicSuffix.List.select
PublicSuffix::List#select can no longer be called publicly. Use PublicSuffix::List#find instead. github.com
public_suffix 2.0.0 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 - 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 - Removed
Domain.rule
Domain#rule was removed. Reconstruct the logic in your own method or call PublicSuffix.{domain|parse}. github.com - Removed
Domain.valid?
Domain#valid? was removed. Reconstruct the logic in your own method or call PublicSuffix.{domain|parse}. github.com - Removed
private_domains
The class-level private_domains attribute is gone. Pass private_domains: false to the list parse method instead. github.com - Removed
PublicSuffix.InvalidDomain
The PublicSuffix::InvalidDomain exception class was removed. Code that rescues it must be updated. github.com - Behavior changed
When the suffix is listed, the prevailing rule is now "*" as defined by the PSL algorithm, which can change results. github.com - Behavior changed
Domains with a leading dot are now treated as invalid, per the PSL acceptance tests. github.com - Behavior changed
PublicSuffix.parse
Input validation is performed only when calling PublicSuffix.parse or PublicSuffix.list, not in other methods. github.com - Default changed
The default list assumes UTF-8 when reading the input, so inputs in other encodings may behave differently. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.