Skip to content

Update faraday 2.14.3 → 2.15.1 (minor) - #765

Merged
depfu[bot] merged 1 commit into
developfrom
depfu/update/faraday-2.15.1
Nov 30, 2026
Merged

depfu[bot] merged 1 commit into
developfrom
depfu/update/faraday-2.15.1

Conversation

@depfu

@depfu depfu Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ faraday (2.14.3 → 2.15.1) · Repo · Changelog

Release Notes

2.15.1

What's Changed

New Contributors

Full Changelog: v2.15.0...v2.15.1

2.15.0

What's Changed

New Contributors

Full Changelog: v2.14.4...v2.15.0

2.14.4

What's Changed

New Contributors

Full Changelog: v2.14.3...v2.14.4

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 61 commits:

↗️ faraday-net_http (indirect, 3.4.4 → 3.5.0) · Repo · Changelog

Release Notes

3.5.0

⚠️ This release contains changes to errors raised ⚠️

Please note: when responses cannot be correctly deflated, a Faraday::ConnectionFailed error will be raised instead of raw Zlib::* errors as before. This have been considered a bug rather than a breaking change, and therefore included in the minor version bump.

What's Changed

New Contributors

Full Changelog: v3.4.4...v3.5.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 11 commits:

↗️ json (indirect, 2.21.2 → 3.2.0) · Repo · Changelog

Release Notes

3.2.0

What's Changed

  • The script_safe: true option of JSON.generate no longer escapes forward slashes /, and instead escapes script tag
    openings (<script), script tag closing (</script) and HTML comments (<!--) as recommended by the HTML spec.
  • The script_safe: true option of JSON.generate no longer escapes U+2028 and U+2029 given that Javascript is
    now a proper subset of JSON since many years (see: https://github.com/tc39/proposal-json-superset).
  • Fix JSON::ParserError#json_path raising NoMethodError when the document was parsed with symbolize_names: true.
  • Fix JSON.generate not detecting duplicate keys such as { "1" => 1, 1 => 2 }.
  • JRuby: raise TypeError when a String subclass used as a Hash key has a to_s that doesn't return a String, like the C extension.
  • JRuby and TruffleRuby: fix a stack overflow in JSON::Coder when as_json returns a Symbol for a string with invalid encoding.
  • JRuby: fix JSON::Coder (and any frozen JSON::State) not being thread-safe. Each #dump call now uses its own nesting depth instead of mutating the shared state, which under concurrent use could make every later call raise JSON::NestingError.

Full Changelog: v3.1.0...v3.2.0

3.1.0 (from changelog)

  • Added rfc8785 generator option to canonicalize the output. Replaces the json-canonicalization with numerous correctness fixes.
  • Use the rb_len_t type introduced in Ruby 4.1 to allow for proper 64bit support on LP64 platforms (Windows).
  • JRuby: parser errors now include the position (line, column and the message suffix) as well as json_path, matching the C extension.
  • Improved the accuracy of parser error's line, column and snipets in presence of multibyte characters.
  • Fix JSON.load to work correctly when provided a Zlib::GzipReader as IO source.
  • Reject non-ASCII BINARY strings during JSON generation. This was deprecated since a long time and scheduled to be removed for 3.0.

3.0.2 (from changelog)

  • Fix JSON.load_file and JSON.load_file! to load on Ruby 2.7.0 through 2.7.2, which cannot parse a leading parameter before ....

3.0.1 (from changelog)

  • Restore the limit positional argument of JSON.dump.

3.0.0

With the removal of the insecure create_additions option, JSON.load and JSON.dump are now safe to use. Them being unsafe by default caused multiple security vulnerabilites in the past.

If you did depend on create_additions, the recommended migration is to implement a custom serializer using JSON::Coder.

All the mutable default options, such as JSON.load_default_options have been removed. They were preventing Ractor compatiblity, and causing bug in libraries using JSON expecting the default behavior. JSON methods now always behave the same unless monkey patched.

All methods options are now either keyword arguments or checked like keyword arguments, meaning unknown options such as typos raise ArgumentError.

Duplicated keys are now rejected by default.

JavaScript comments in documents are no longer supported by default.

Numerous rarely used aliases have been removed.

  • Add JSON::ParserError#json_path to locate parse errors in the document as a JSONPath-style string (e.g. $.foo[0].bar). For duplicate key errors it points at the duplicated key itself.
  • Fix the parser to also reject lone trailing UTF-16 surrogates (\uDCxx with no leading partner), symmetric to the leading-surrogate case. The Java parser already rejected these; this closes the CRuby/JRuby parity gap.
  • JSON.load defaults are now safe to use.
  • All unknown options will now cause an ArgumentError rather than to be ignored.
  • The allow_comments parsing option now defaults to false.
  • The allow_duplicate_key option now defaults to false, for both parsing and generating JSON.
  • Removed the limit positional argument of JSON.dump.
  • Removed the escape_slash alias of script_safe.
  • Removed Kernel#j and Kernel#jj.
  • Removed JSON.load_default_options.
  • Removed JSON.unsafe_load_default_options.
  • Removed JSON.dump_default_options.
  • Removed JSON::State#[] and JSON::State#[]=.
  • Removed JSON.unparse.
  • Removed JSON.fast_generate.
  • Removed JSON.fast_unparse.
  • Removed JSON.pretty_unparse.
  • Removed JSON.restore.
  • Removed JSON::PRETTY_STATE_PROTOTYPE.
  • Removed the insecure create_additions option.
  • Removed JSON::GenericObject.

Full Changelog: v2.21.2...v3.0.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ net-http (indirect, 0.9.1 → 0.10.0) · Repo · Changelog

Release Notes

0.10.0

What's Changed

  • [DOC] Fix links by @peterzhu2118 in #270
  • [DOC] Fix links in requests.rb by @BurdetteLamar in #261
  • [DOC] Fix links in module Net by @BurdetteLamar in #273
  • Add link to detailed Net::HTTP documentation in README Usage section by @tkf0029 in #276
  • Add RBS signatures from ruby/rbs repo by @sferik in #279
  • Reject CR/LF in remaining request-generation paths by @hsbt in #301
  • Added extra header validation for total size of headers by @hsbt in #219
  • Fix broken documentation links in Net::HTTP by @hsbt in #304
  • Fix FD leaks by @nobu in #306
  • Add support for HTTP QUERY method by @seanpdoyle in #309
  • Limit read length of a single response line by @hsbt in #325
  • Limit the number of informational responses per request by @hsbt in #319
  • Make Content-Length handling strict by @kou in #324
  • Frame a response as chunked only when chunked is the final transfer coding by @hsbt in #347
  • test: refactor assert to pass with nil as well by @kares in #307
  • Treat a whitespace-only header line as obs-fold by @kou in #348
  • Don't use trailing spaces in test by @kou in #350

New Contributors

Full Changelog: v0.9.1...v0.10.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ uri (indirect, 1.1.1 → 1.1.2) · Repo · Changelog

Release Notes

1.1.2

What's Changed

  • [DOC] Fix result of sample code in #user= by @y-yagi in #195
  • Use PARSER instead of DEFAULT_PARSER in URI.join by @y-yagi in #209
  • Constrain RDoc below 8 for JRuby CI by @olleolleolle in #240
  • Reduce base-path ".." removal in merge_path to a linear pass by @hsbt in #242

New Contributors

Full Changelog: v1.1.1...v1.1.2

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 68 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu Bot added dependencies Pull requests that update a dependency file Technical Debt labels Nov 2, 2026
@sabrine33

Copy link
Copy Markdown
Contributor

@​depfu rebase

@depfu
depfu Bot force-pushed the depfu/update/faraday-2.15.1 branch from e099447 to dc42852 Compare November 30, 2026 13:31
@depfu
depfu Bot merged commit 03a4f71 into develop Nov 30, 2026
6 checks passed
@depfu
depfu Bot deleted the depfu/update/faraday-2.15.1 branch November 30, 2026 13:32
@codecov

codecov Bot commented Nov 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.69%. Comparing base (de52270) to head (dc42852).
⚠️ Report is 4 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #765   +/-   ##
========================================
  Coverage    86.69%   86.69%           
========================================
  Files           43       43           
  Lines          654      654           
========================================
  Hits           567      567           
  Misses          87       87           
Flag Coverage Δ
feature_tests 70.89% <ø> (ø)
pull_request 86.69% <ø> (ø)
push 86.69% <ø> (ø)
unit_tests 85.90% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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 Technical Debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant