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

# 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

Latest version `6.0.0`, released September 28, 2026. [Source repository](https://github.com/emancu/toml-rb)

Its 2.0.0 release drops Ruby 2.2. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [5.0.0](#v-5-0-0) to [6.0.0](#v-6-0-0): 3 breaking changes in 1 version.
- From [2.0.0](#v-2-0-0) to [6.0.0](#v-6-0-0): 11 breaking changes in 4 versions.

## toml-rb 6.0.0 breaking changes

toml-rb 6.0.0, released September 28, 2026: 3 breaking changes.

- **Removed** `TomlRB.Document`  

This release removes the Citrus grammar constants, like TomlRB::Document. [github.com](https://github.com/emancu/toml-rb/releases/tag/v6.0.0)
- **Behavior changed**  

Code that matches the old error message text must change. [github.com](https://github.com/emancu/toml-rb/releases/tag/v6.0.0)
- **Behavior changed** `TomlRB.ParseError`  

More than 100 nested levels of arrays and inline tables raise TomlRB::ParseError. [github.com](https://github.com/emancu/toml-rb/releases/tag/v6.0.0)

## toml-rb 5.0.0 breaking changes

toml-rb 5.0.0, released September 28, 2026: 3 breaking changes.

- **Behavior changed** `dump`  

Local values dump without offsets instead of as datetimes with Z. [github.com](https://github.com/emancu/toml-rb/releases/tag/v5.0.0)
- **Behavior changed** `parse`  

Local values are Time subclasses, so instance_of?(Time) is false; use Time.at(value) for a plain Time. [github.com](https://github.com/emancu/toml-rb/releases/tag/v5.0.0)
- **Behavior changed** `TomlRB.Error`  

Invalid input raises TomlRB::Error or a subclass instead of NoMethodError, TypeError or ArgumentError; rescue TomlRB::Error. [github.com](https://github.com/emancu/toml-rb/releases/tag/v5.0.0)

## toml-rb 5.0.0.rc.1 breaking changes

toml-rb 5.0.0.rc.1, released September 28, 2026: 4 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](https://github.com/emancu/toml-rb/releases/tag/v5.0.0.rc.1)
- **Behavior changed** `TomlRB.Error`  

Invalid documents that raised NoMethodError, TypeError or ParseError now raise ValueOverwriteError; rescue TomlRB::Error still catches them. [github.com](https://github.com/emancu/toml-rb/releases/tag/v5.0.0.rc.1)
- **Behavior changed** `TomlRB.load_file`  

Files are now read as UTF-8 rather than the default external encoding. [github.com](https://github.com/emancu/toml-rb/releases/tag/v5.0.0.rc.1)
- **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](https://github.com/emancu/toml-rb/releases/tag/v5.0.0.rc.1)

## toml-rb 3.0.0 breaking changes

toml-rb 3.0.0, released January 21, 2024: 1 breaking change.

- **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](https://github.com/emancu/toml-rb/releases/tag/v3.0.0)

## toml-rb 2.0.0 breaking changes

toml-rb 2.0.0, released October 25, 2019: 1 breaking change.

- **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](https://github.com/emancu/toml-rb/releases/tag/v2.0.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.
