Sourced from oj's releases.
v3.17.3
What's Changed
- Fix stack limits by
@ohler55in ohler55/oj#1014- Fix intern.c and fast.c by
@ohler55in ohler55/oj#1015Full Changelog: https://github.com/ohler55/oj/compare/v3.17.1...v3.17.3
v3.17.1
What's Changed
- Add
max_integer_digitslimit for legacy integer parsing by@meinacin ohler55/oj#1009- fix: remove unsafe exec() in fast.c by
@orbisai0securityin ohler55/oj#1011- Revert "fix: remove unsafe exec() in fast.c" by
@ohler55in ohler55/oj#1012- Fix reentrant parser by
@ohler55in ohler55/oj#1013New Contributors
@orbisai0securitymade their first contribution in ohler55/oj#1011Full Changelog: https://github.com/ohler55/oj/compare/v3.17.0...v3.17.1
v3.17.0
What's Changed
- Implement Oj::Parser.safe with configurable JSON safety limits by
@meinacin ohler55/oj#1007Full Changelog: https://github.com/ohler55/oj/compare/v3.16.17...v3.17.0
v3.16.17
What's Changed
- Use fast_memcpy16 to quickly copy up to 16 bytes for tail handling in ARM Neon code and small copies when generating JSON. by
@samyronin ohler55/oj#998- Bump jidicula/clang-format-action from 4.15.0 to 4.17.0 by
@dependabot[bot] in ohler55/oj#999- Array hash as json by
@ohler55in ohler55/oj#1003- Bump jidicula/clang-format-action from 4.17.0 to 4.18.0 by
@dependabot[bot] in ohler55/oj#1001- Handle unterminated strings in usual parser by
@meinacin ohler55/oj#1002- Fix read() not handling partial reads for large files by
@ursmin ohler55/oj#1004- Raise error for incomplete primitive literals by
@meinacin ohler55/oj#1005New Contributors
@ursmmade their first contribution in ohler55/oj#1004Full Changelog: https://github.com/ohler55/oj/compare/v3.16.16...v3.16.17
v3.16.14
What's Changed
- Change first arg to oj_parse_options by
@ohler55in ohler55/oj#987- Fix illegal instruction error on CPUs without SSE4.2 support by
@sebyx07in ohler55/oj#993- Optimize
oj_dump_cstrusing SSE4.2 and SSSE3. by@samyronin ohler55/oj#973Full Changelog: https://github.com/ohler55/oj/compare/v3.16.13...v3.16.14
... (truncated)
Sourced from oj's changelog.
3.17.3 - 2026-06-04
- Fixed issue in intern.c and fast.c.
3.17.2 - 2026-05-27
- Fixed multiple issues related to extreme sizes.
3.17.1 - 2026-05-15
- Fixed "quoted string not terminated" error.
3.17.0 - 2026-04-19
- A "safe" parser has been added as a variation of the Oj:Parser thanks to
@meinac.3.16.17 - 2026-04-12
Rails optimize for Hash and Array now overrides
as_jsonfor those classes. Note that when either is optimized withOj.optimize_railstheArray.as_jsonandHash.as_jsonwill not be called.Add support for the rails encoder
:onlyand:exceptoptions.Handle unterminated strings in usual parser (#1002)
Fix read() not handling partial reads for large files (#1004)
Raise error for incomplete primitive literals (#1005)
3.16.16 - 2026-03-13
- Not closed arrays and objects are reported corrected in the usual parser.
3.16.15 - 2026-02-05
- Fixed by putting the ostruct dependency back until a better way is found to conditionally include it.
3.16.14 - 2026-02-04
Fixed SSE issue #989.
Removed ostruct dependency.
Removed generic object JSON gem tests.
3.16.13 - 2025-12-05
- Fixed rails encoding for Hash and Array subclasses.
... (truncated)
bbde91a
Fix intern.c and fast.c (#1015)495cc38
Update changelog810a57a
Update changelogec368db
Fix stack limits (#1014)4587e87
Fix reentrant parser (#1013)ea0c3b8
Fix compile warnings45d1309
Revert "fix: V-001 security vulnerability (#1011)"
(#1012)93ce414
fix: V-001 security vulnerability (#1011)d68a31a
Add max_integer_digits limit for legacy integer parsing (#1009)babd7a1
Remove out of date performance comparisons