Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update webmock 3.19.1 → 3.23.1 (minor) #371

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Jun 4, 2024

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?

✳️ webmock (3.19.1 → 3.23.1) · Repo · Changelog

Release Notes

3.23.1 (from changelog)

3.23.0 (from changelog)

  • Fixed HTTP.rb adapter to support streaming real responses when WebMock is enabled.

    Thanks to Viacheslav Nepomniashchikh for reporting and investigating this issue.

3.22.0 (from changelog)

  • Addressed an issue in the HTTPClient adapter where memoized stubbed responses and memoized request_signatures were incorrectly persisted between subsequent requests (#1019). The implementation of a more robust thread-safety solution by Tom Beauvais in PR #300 not only resolved the memoization problem but also enhanced the overall thread safety of the adapter. This update ensures that stubbed responses and request signatures are correctly isolated to individual requests, improving both consistency and thread safety.

3.21.2 (from changelog)

  • Corrected type checking in WebMock::Response#assert_valid_body! to accurately recognize Hash objects. Additionally, improved the clarity of the error message for unsupported body types, guiding users towards proper usage.

    Thanks to Jake Robb for reporting.

3.21.1 (from changelog)

  • The stubbed Net::HTTPResponse#uri now returns request.uri, aligning it with the behavior of an actual Net::HTTPResponse.

    Thanks to Abe Voelker for reporting and to Victor Maslov and Gio Lodi for the suggested solution.

3.21.0 (from changelog)

  • Don't use deprecated Rack::VERSION for Rack >= 3

    Thanks to Étienne Barrié

  • Updated HTTPClient adapter, to build request signature using the URI after filters have been applied.

    Thanks to Matt Brown

3.20.0 (from changelog)

  • Optimised EmHttpRequestAdapter performance.

    Thanks to Ricardo Trindade

  • Removed runtime dependency on base64.

    Thanks to Earlopain

  • Typhoeus::Response objects constructed from stubbed responses now have all timing attributes set to 0.0.

    Thanks to James Brown

  • Optimised WebMock::Util::Headers by removing redundant freeze invocations.

    Thanks to Kazuhiro NISHIYAMA

  • The default stubbed response body, which is an empty String, is unfrozen.

  • When building signatures of requests made by http.rb, the request body encoding is now preserved.

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

Commits

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

↗️ crack (indirect, 0.4.5 → 1.0.0) · Repo · Changelog

Commits

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

↗️ hashdiff (indirect, 1.0.1 → 1.1.0) · Repo · Changelog

Release Notes

1.1.0 (from changelog)

  • Add ignore_keys option (#86 @MatzFan)
  • Remove pinned version of rake < 11
  • Bump rspec dep ~> 3.5
  • Bump rubocop dep >= 1.52.1
  • Bump rubocop-rspec dep > 1.16.0

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

Commits

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

↗️ public_suffix (indirect, 5.0.4 → 5.0.5) · Repo · Changelog

Release Notes

5.0.5 (from changelog)

Changed

  • Updated definitions.

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

Commits

See the full diff on Github. The new version differs by 25 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 the depfu label Jun 4, 2024
Copy link
Contributor Author

depfu bot commented Oct 1, 2024

Closed in favor of #391.

@depfu depfu bot closed this Oct 1, 2024
@depfu depfu bot deleted the depfu/update/webmock-3.23.1 branch October 1, 2024 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants