chore(deps): update dependency webmock to v3.23.1
This MR contains the following updates:
Package | Update | Change |
---|---|---|
webmock (changelog) | minor |
"3.18.1" -> "3.23.1"
|
Release Notes
bblimke/webmock (webmock)
v3.23.1
-
Added support for async-http version >= 0.65.0 MR
Thanks to Jacob Frautschi
v3.23.0
-
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
- 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 MR #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
-
Corrected type checking in
WebMock::Response#assert_valid_body!
to accurately recognizeHash
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
-
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
-
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
-
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
-
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 ofto_return_json
method invocation.Thanks to [Jason Karns](https://github.com/jasonkarns) for reporting.
v3.19.0
-
Do not alter real (non-stubbed) request headers when handling em-http-request requests.
Thanks to [Yoann Lecuyer](https://github.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 passingallow_localhost
option todisable_net_connect!
Thanks to Yuki Inoue
-
Optimized
normalize_headers
for performanceThanks to Brandon Weaver
-
Added Frozen string literal to files to optimise memory usage
Thanks to Josh Nichols
-
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.