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

# 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

Latest version `3.5`. [Source repository](https://github.com/yorickpeterse/oga)

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

- From [2.0.0](#v-2-0-0) to [3.0](#v-3-0): 1 breaking change in 1 version.
- From [0.2.0](#v-0-2-0) to [3.0](#v-3-0): 5 breaking changes in 4 versions.

## oga 3.0 breaking changes

oga 3.0, released December 3, 2019: 1 breaking change.

- **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](https://github.com/yorickpeterse/oga/blob/v3.0/CHANGELOG.md)

## oga 2.0.0 breaking changes

oga 2.0.0, released December 26, 2015: 1 breaking change.

- **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](https://github.com/yorickpeterse/oga/blob/v2.0.0/CHANGELOG.md)

## oga 1.0.0 breaking changes

oga 1.0.0, released May 20, 2015: 1 breaking change.

- **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](https://github.com/yorickpeterse/oga/blob/v1.0.0/CHANGELOG.md)

## oga 0.3.0 breaking changes

oga 0.3.0, released April 3, 2015: 2 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](https://github.com/yorickpeterse/oga/blob/v0.3.0/CHANGELOG.md)
- **Behavior changed**  

When parsing HTML documents, any declared namespaces are now ignored because HTML5 does not allow custom namespaces. [github.com](https://github.com/yorickpeterse/oga/blob/v0.3.0/CHANGELOG.md)

## oga 0.2.0 breaking changes

oga 0.2.0, released November 17, 2014: 2 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](https://github.com/yorickpeterse/oga/releases/tag/v0.2.0)
- **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](https://github.com/yorickpeterse/oga/releases/tag/v0.2.0)

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