toml-rb breaking changes
toml-rb 6.0.0 (September 28, 2026) is its newest release with breaking changes, 3 of them. The first: Removed TomlRB.Document. Every breaking API change we have recorded in toml-rb on RubyGems: 12 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 6.0.0, released September 28, 2026. Source repository
Its 2.0.0 release drops Ruby 2.2. Ruby end of life dates.
- From 5.0.0 to 6.0.0: 3 breaking changes in 1 version.
- From 2.0.0 to 6.0.0: 11 breaking changes in 4 versions.
toml-rb 6.0.0 breaking changes
- Removed
TomlRB.Document
This release removes the Citrus grammar constants, like TomlRB::Document. github.com - Behavior changed
Code that matches the old error message text must change. github.com - Behavior changed
TomlRB.ParseError
More than 100 nested levels of arrays and inline tables raise TomlRB::ParseError. github.com
toml-rb 5.0.0 breaking changes
- Behavior changed
dump
Local values dump without offsets instead of as datetimes with Z. github.com - Behavior changed
parse
Local values are Time subclasses, so instance_of?(Time) is false; use Time.at(value) for a plain Time. github.com - Behavior changed
TomlRB.Error
Invalid input raises TomlRB::Error or a subclass instead of NoMethodError, TypeError or ArgumentError; rescue TomlRB::Error. github.com
toml-rb 5.0.0.rc.1 breaking changes
- Behavior changed
TomlRB.dump
Time and DateTime values dump with their offset and up to 9 fractional digits instead of the clock time with Z. github.com - Behavior changed
TomlRB.Error
Invalid documents that raised NoMethodError, TypeError or ParseError now raise ValueOverwriteError; rescue TomlRB::Error still catches them. github.com - Behavior changed
TomlRB.load_file
Files are now read as UTF-8 rather than the default external encoding. github.com - Behavior changed
TomlRB.parse
Local datetimes, dates and times now return TomlRB::LocalDateTime, TomlRB::LocalDate and TomlRB::LocalTime, so instance_of?(Time) and .class == Time are false. Use Time.at(value) to get a plain Time. github.com
toml-rb 3.0.0 breaking changes
- Behavior changed
Dumping keys that contain backslashes now produces different output than before, so code relying on the old TOML output may need updating. github.com
toml-rb 2.0.0 breaking changes
- Removed
Ruby 2.2 is no longer supported, so code running on Ruby 2.2 must upgrade Ruby or stay on an earlier toml-rb release. 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.