Skip to content

build(deps): bump oj from 3.17.7 to 3.17.8 - #5643

Merged
philippthun merged 2 commits into
mainfrom
dependabot/bundler/oj-3.17.8
Nov 26, 2026
Merged

philippthun merged 2 commits into
mainfrom
dependabot/bundler/oj-3.17.8

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Bumps oj from 3.17.7 to 3.17.8.

Release notes

Sourced from oj's releases.

v3.17.8

What's Changed

... (truncated)

Changelog

Sourced from oj's changelog.

3.17.8 - 2026-11-03

Fixed

  • Fixed issue #988 by no longer requiring ostruct when Oj is loaded, autoloading JSON::GenericObject instead. (#1113)
  • Always include cpuid.h and fix the cache typedef for older compilers. (#1112)
  • Keep the sign of -0.0 when dumping in compat and rails modes. (#1115)
  • Fixed big negative integers and big decimals in Oj::Parser.usual. (#1116)
  • Reject a value after a number and whitespace in Oj::Parser. (#1117)
  • Combine an escaped surrogate pair in Oj::Parser. (#1118)
  • Reject an object close after a colon in Oj::Parser. (#1119)
  • Accept an exponent right after a zero integer part in Oj::Parser. (#1121)
  • Raise for an incomplete top-level number in Oj::Parser. (#1122)
  • Reject unescaped control characters in strict and compat mode strings. (#1123)
  • Fixed memory and handle leaks in Oj.load with recent winpthreads on Windows. (#1125)
  • Fixed writer state after an excess pop. (#1126)
  • Fixed memory corruption when ^u names a class that is not a Struct. (#1127)
  • Fixed cached keys and strings containing NUL returning a different value. (#1129)
  • Fixed a segmentation fault on a create_id class path through a non-module constant. (#1130)
  • Fixed a segmentation fault with the Oj::Parser class cache after GC compaction. (#1131)
  • Fixed a use-after-free of converted non-UTF-8 input in Oj.load. (#1132)
  • Fixed a use-after-free of converted non-UTF-8 strings in Oj.dump. (#1133)
  • Fixed a segmentation fault when Oj::Parser#parse is given a non-String. (#1134)
  • Fixed a segmentation fault when Oj.safe_load is given a null StringIO. (#1135)
  • Fixed a segmentation fault and memory leak in Oj.saj_parse with IO input. (#1136)
  • Fixed a segmentation fault when to_json returns a non-String in custom mode. (#1137)
  • Fixed a segmentation fault when an exception message is not a String in compat mode. (#1138)
  • Fixed a segmentation fault when raw_json returns a non-String. (#1139)
  • Fixed a use-after-free of keys in the Oj::Parser saj delegate. (#1140)
  • Fixed wrong keys and IndexError for Oj::Parser saj handlers with only some callbacks. (#1141)
  • Fixed a buffer overflow when dumping nested arrays with a String indent. (#1142)
  • Fixed a segmentation fault when array_class is not an Array in compat and custom mode. (#1143)
  • Fixed a double free when closing an Oj::Doc inside the open block. (#1144)
  • Fixed buffer leaks and unchecked file sizes when reading special files. (#1145)
  • Fixed reading freed memory when Oj.load parses an object through to_s. (#1146)
  • Fixed reading a freed buffer when a StringWriter is pushed into itself. (#1147)
  • Fixed a segmentation fault and use-after-free when using a closed Oj::Doc. (#1148)
  • Fixed reading and writing a different file when a path contains a NUL byte. (#1149)
  • Fixed buffer leaks when a dump to a String, file, or stream raises. (#1152)
  • Fixed unknown class names filling the class cache and loading as a Hash. (#1153)
  • Fixed object mode ranges and exceptions on Ruby 4.1. (#1154)
  • Fixed a segmentation fault after Oj::Doc#move fails on a path with ... (#1155)
  • Fixed a segmentation fault in wab mode after GC compaction. (#1156)
  • Fixed OpenStruct dumps and loads changing after GC compaction. (#1157)
  • Fixed a segmentation fault when pushing to a writer with circular: true. (#1158)
  • Fixed exception loading and Range subclass dumps in custom mode on Ruby 4.1. (#1159)

Performance

  • Speed up parsing of object keys that collide in the key cache by using SipHash. (#1150)

... (truncated)

Commits
  • 050ca17 Changelog update
  • e0072c4 Reject unescaped control characters in strict and compat mode strings (#1123)
  • 9a3bc88 Set version to 3.17.8
  • e8ac532 Update changelog
  • 89ac99b Speed up dumping plain objects in custom mode (#1162)
  • 5bb6d7f Speed up dumping objects in object and custom modes (#1161)
  • 6031f93 Speed up dumping ASCII-only strings that are not UTF-8 (#1160)
  • bfefebb Fix exception loading and Range subclass dumps in custom mode on Ruby 4.1 (#1...
  • 52732f9 Fix OpenStruct dumps and loads changing after GC compaction (#1157)
  • 9fc470e Fix segmentation fault in wab mode after GC compaction (#1156)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Nov 9, 2026
@dependabot
dependabot Bot force-pushed the dependabot/bundler/oj-3.17.8 branch from 90d5ec1 to e017121 Compare November 10, 2026 17:22
@johha

johha commented Nov 11, 2026

Copy link
Copy Markdown
Member

@dependabot recreate

1 similar comment
@moleske

moleske commented Nov 15, 2026

Copy link
Copy Markdown
Member

@dependabot recreate

Bumps [oj](https://github.com/ohler55/oj) from 3.17.7 to 3.17.8.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](ohler55/oj@v3.17.7...v3.17.8)

---
updated-dependencies:
- dependency-name: oj
  dependency-version: 3.17.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/bundler/oj-3.17.8 branch from e017121 to c10ff7c Compare November 23, 2026 11:42
Oj 3.17.8 no longer loads ostruct automatically. Declare it as a runtime
dependency and require it where OpenStruct is used.
@philippthun
philippthun merged commit 323a1a4 into main Nov 26, 2026
13 checks passed
@philippthun
philippthun deleted the dependabot/bundler/oj-3.17.8 branch November 26, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants