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 dependency webmock to v3.23.1 - autoclosed #466

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 19, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
webmock (changelog) '3.18.1' -> '3.23.1' age adoption passing confidence

Release Notes

bblimke/webmock (webmock)

v3.23.1

Compare Source

v3.23.0

Compare Source

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

    Thanks to Viacheslav Nepomniashchikh for reporting and investigating this issue.

v3.22.0

Compare Source

  • 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.

v3.21.2

Compare Source

  • 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.

v3.21.1

Compare Source

  • 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.

v3.21.0

Compare Source

  • 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

v3.20.0

Compare Source

  • 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.

v3.19.1

Compare Source

  • When passing a Proc or lambda as response body to to_return_json, the body is evaluated at the time of request and not at the time of to_return_json method invocation.

    Thanks to [Jason Karns](https://togithub.com/jasonkarns) for reporting.
    

v3.19.0

Compare Source

  • Do not alter real (non-stubbed) request headers when handling em-http-request requests.

    Thanks to [Yoann Lecuyer](https://togithub.com/ylecuyer)
    
    • Fix matching stubs with HashExcludingMatcher

      Thanks to Lucas Arnaud

    • Remove development and test files from the gem package

      Thanks to Orien Madgwick

    • Fix supported http client gem version checks.

      Thanks to Marc Rohloff and Roman Stražanec

    • Non-string body passed to #to_return_json is now converted to JSON string.

      Thanks to inkstak

    • [::1] is recognised as localhost e.g when passing allow_localhost option to disable_net_connect!

      Thanks to Yuki Inoue

    • Optimized normalize_headers for performance

      Thanks to Brandon Weaver

    • Added Frozen string literal to files to optimise memory usage

      Thanks to Josh Nichols


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency webmock to v3.19.1 Update dependency webmock to v3.20.0 Feb 6, 2024
@renovate renovate bot changed the title Update dependency webmock to v3.20.0 Update dependency webmock to v3.21.0 Feb 19, 2024
@renovate renovate bot changed the title Update dependency webmock to v3.21.0 Update dependency webmock to v3.21.2 Feb 20, 2024
@renovate renovate bot changed the title Update dependency webmock to v3.21.2 Update dependency webmock to v3.22.0 Feb 21, 2024
@renovate renovate bot force-pushed the renovate/webmock-3.x branch 2 times, most recently from 0c16577 to 526a945 Compare February 26, 2024 01:50
@renovate renovate bot changed the title Update dependency webmock to v3.22.0 Update dependency webmock to v3.23.0 Feb 26, 2024
@renovate renovate bot changed the title Update dependency webmock to v3.23.0 Update dependency webmock to v3.23.1 May 24, 2024
@renovate renovate bot changed the title Update dependency webmock to v3.23.1 Update dependency webmock to v3.23.1 - autoclosed Jul 15, 2024
@renovate renovate bot closed this Jul 15, 2024
@renovate renovate bot deleted the renovate/webmock-3.x branch July 15, 2024 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants