nokogumbo breaking changes
nokogumbo 2.0.0 (October 4, 2018) is its newest release with breaking changes, 7 of them. The first: Renamed :max_parse_errors. Every breaking API change we have recorded in nokogumbo on RubyGems: 7 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.0.5. Source repository
Its 2.0.0 release requires Ruby 2.1 or later. Ruby end of life dates.
nokogumbo 2.0.0 breaking changes
- Renamed
:max_parse_errors
The max_parse_errors option was renamed to max_errors. Code that passes max_parse_errors should switch to max_errors. github.com - Behavior changed
Nokogiri.HTML5
The parse and fragment methods now return Nokogiri::HTML5::Document and Nokogiri::HTML5::DocumentFragment instead of the Nokogiri::HTML classes. Code that checks for the old classes must be updated. github.com - Behavior changed
Nokogiri.HTML5.Document.to_xml
Calling to_xml on a Nokogiri::HTML5::Document now produces XML output instead of HTML. Code that expects HTML from to_xml must change. github.com - Behavior changed
Nokogiri.HTML5.DocumentFragment.errors
DocumentFragment#errors returns errors for the fragment rather than the underlying document. Code that reads errors from a fragment may see different results. github.com - Behavior changed
xpath
Foreign SVG, MathML and other namespaces are now supported, so elements and xml:lang attributes get different namespaces. XPath queries and related APIs may return different results. github.com - Configuration changed
The minimum supported Ruby version is now 2.1. Older Ruby versions are no longer supported. github.com - Configuration changed
The minimum supported Nokogiri version is now 1.8.0. Projects pinned to older Nokogiri versions must upgrade. 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.