erb breaking changes
erb 6.0.0 (November 12, 2025) is its newest release with breaking changes. The first: Removed safe_level. Every breaking API change we have recorded in erb on RubyGems: 6 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.0.7. Source repository
Its 5.0.0 release requires Ruby 3.2 or later. Ruby end of life dates.
- From 5.0.0 to 6.0.0: 1 breaking change in 1 version.
- From 3.0.0 to 6.0.0: 4 breaking changes in 3 versions.
erb 6.0.0 breaking changes
- Removed
safe_level
The release removes safe_level and the further positional arguments, so code that passes them will no longer work and must drop them. github.com
erb 5.0.0 breaking changes
- Removed
The gem now requires Ruby 3.2+, so older Ruby versions are no longer supported. Upgrade Ruby before updating to this release. github.com - Removed
The gem no longer depends on the cgi library at runtime. Code that relied on cgi being loaded through erb must require it directly. github.com
erb 4.0.0 breaking changes
- Renamed
erb.so
The compiled extension was renamed to erb/escape.so. Code that requires erb.so directly must require erb/escape.so instead. github.com
erb 3.0.0 breaking changes
- Removed
safe_level
Code that passes safe_level must stop passing it. github.com - Behavior changed
ERB.Util.url_encode
ERB::Util.url_encode now delegates to CGI.escapeURIComponent, which can change the encoded output for some characters. 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.