oga breaking changes
oga 3.0 (December 3, 2019) is its newest release with breaking changes. The first: oga 3.0 requires Ruby 2.3.0 or later. Every breaking API change we have recorded in oga on RubyGems: 7 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.5. Source repository
Its 3.0 release requires Ruby 2.3.0 or later. Ruby end of life dates.
- From 2.0.0 to 3.0: 1 breaking change in 1 version.
- From 0.2.0 to 3.0: 5 breaking changes in 4 versions.
oga 3.0 breaking changes
- Configuration changed
The minimum Ruby version is now 2.3.0, and Rubinius is no longer officially supported. Upgrade Ruby to 2.3.0 or newer before updating. github.com
oga 2.0.0 breaking changes
- Behavior changed
Element names with a namespace prefix are now parsed without the prefix, and attribute names keep the prefix (e.g. "bar:baz" instead of "baz"). Code relying on the old parsing may break. github.com
oga 1.0.0 breaking changes
- Behavior changed
Oga 1.0 parses HTML5 according to the official specification. Markup with unclosed or misnested tags can produce a different tree than before, so check code that depends on the parsed structure. github.com
oga 0.3.0 breaking changes
- Behavior changed
Parsing of XML attributes using the SAX API was overhauled, and existing custom SAX parsers may need to be updated to handle the new behavior. github.com - Behavior changed
When parsing HTML documents, any declared namespaces are now ignored because HTML5 does not allow custom namespaces. github.com
oga 0.2.0 breaking changes
- Behavior changed
Error messages generated by the XML parser no longer include the source lines. Code that matches on the exact error message text may need updating. github.com - Signature changed
after_element
The after_element SAX callback now always takes two arguments, the namespace name and the element name. Update callbacks that expected a single nil argument. 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.