oj breaking changes
oj 3.17.8 (November 3, 2026) is its newest release with breaking changes, 4 of them. The first: Unescaped control characters are rejected in strict and compat strings in oj 3.17.8. Every breaking API change we have recorded in oj on RubyGems: 8 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.17.8, released November 3, 2026. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
oj 3.17.8 breaking changes
- Behavior changed
Strings with unescaped control characters are now rejected in strict and compat mode, which previously loaded them. github.com - Behavior changed
JSON.GenericObject
Code that used OpenStruct without loading ostruct itself may now fail, because Oj no longer loads it at startup. github.com - Behavior changed
Oj.dump
Dumping -0.0 in compat and rails mode now keeps the minus sign, so output that previously showed 0 may now show -0.0. github.com - Behavior changed
Oj.Parser
Input that Oj::Parser previously accepted, a value directly after a number followed by whitespace, now raises an error. github.com
oj 3.16.17 breaking changes
- Behavior changed
Incomplete primitive literals that were previously accepted now raise an error, so code parsing such input may need to handle the exception. github.com
oj 3.16.14 breaking changes
- Signature changed
oj_parse_options
The first argument to oj_parse_options was changed in this release. C extensions that call this function must be updated to pass the new argument. github.com
oj 3.16.13 breaking changes
- Default changed
SIMD optimizations are turned on by default and detect CPU support automatically. Code that relied on the previous default may see different performance or behavior and may need to set the option explicitly to opt out. github.com
oj 3.0.0 breaking changes
- Behavior changed
The release focuses on json gem and Rails compatibility, with :compat mode now tested against the json gem tests and :rails mode against ActiveSupport 5 tests. Users relying on compat or rails modes should verify their code still behaves... 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.