Skip to content

Bump multi_json from 1.20.0 to 1.20.1#5254

Merged
just1602 merged 1 commit intomainfrom
dependabot/bundler/multi_json-1.20.1
Apr 14, 2026
Merged

Bump multi_json from 1.20.0 to 1.20.1#5254
just1602 merged 1 commit intomainfrom
dependabot/bundler/multi_json-1.20.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 13, 2026

Bumps multi_json from 1.20.0 to 1.20.1.

Changelog

Sourced from multi_json's changelog.

[1.20.1]

Fixed

  • Fix JsonGem#load raising ParseError on ASCII-8BIT strings that contain valid UTF-8 bytes (#64). Ruby HTTP clients tag response bodies as ASCII-8BIT by default; the 1.20.0 change from force_encoding to encode broke the dominant real-world case by trying to transcode each byte individually. Switch back to force_encoding followed by a valid_encoding? guard so genuinely invalid byte sequences still surface as ParseError.

Added

  • Validate custom adapters during MultiJson.use and MultiJson.load/dump with an :adapter option, raising MultiJson::AdapterError immediately if the adapter does not respond to .load, .dump, or define a ParseError constant.
  • Validate OptionsCache.max_cache_size= to reject nil, zero, negative, and non-integer values with a clear ArgumentError.
  • Expand the benchmark suite (benchmark.rb) into a full adapter comparison matrix covering load, dump, and round-trip across small, medium, and large payloads in both object-heavy and array-heavy shapes.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [multi_json](https://github.com/sferik/multi_json) from 1.20.0 to 1.20.1.
- [Changelog](https://github.com/sferik/multi_json/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sferik/multi_json/commits)

---
updated-dependencies:
- dependency-name: multi_json
  dependency-version: 1.20.1
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Apr 13, 2026
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Apr 13, 2026
@dependabot dependabot Bot requested a review from veganstraightedge as a code owner April 13, 2026 10:32
@dependabot dependabot Bot added the ruby Pull requests that update ruby code label Apr 13, 2026
@just1602 just1602 merged commit f8962cb into main Apr 14, 2026
7 checks passed
@just1602 just1602 deleted the dependabot/bundler/multi_json-1.20.1 branch April 14, 2026 03:06
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 🕸️ dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant