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

# 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

Latest version `3.17.8`, released November 3, 2026. [Source repository](https://github.com/ohler55/oj)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [3.0.0](#v-3-0-0) to [3.17.8](#v-3-17-8): 7 breaking changes in 4 versions.

## oj 3.17.8 breaking changes

oj 3.17.8, released November 3, 2026: 4 breaking changes.

- **Behavior changed**  

Strings with unescaped control characters are now rejected in strict and compat mode, which previously loaded them. [github.com](https://github.com/ohler55/oj/releases/tag/v3.17.8)
- **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](https://github.com/ohler55/oj/releases/tag/v3.17.8)
- **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](https://github.com/ohler55/oj/releases/tag/v3.17.8)
- **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](https://github.com/ohler55/oj/releases/tag/v3.17.8)

## oj 3.16.17 breaking changes

oj 3.16.17, released April 12, 2026: 1 breaking change.

- **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](https://github.com/ohler55/oj/releases/tag/v3.16.17)

## oj 3.16.14 breaking changes

oj 3.16.14, released February 4, 2026: 1 breaking change.

- **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](https://github.com/ohler55/oj/releases/tag/v3.16.14)

## oj 3.16.13 breaking changes

oj 3.16.13, released December 5, 2025: 1 breaking change.

- **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](https://github.com/ohler55/oj/releases/tag/v3.16.13)

## oj 3.0.0 breaking changes

oj 3.0.0, released April 25, 2017: 1 breaking change.

- **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](https://github.com/ohler55/oj/blob/v3.0.0/CHANGELOG.md)

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