Repository navigation
chore(action-scripts): update dependency webmock to '~> 3.29' - #341
Merged
Merged
Conversation
Contributor
Author
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
'~> 3.26', '>= 3.26.4'→'~> 3.29'Release Notes
bblimke/webmock (webmock)
v3.29.0Compare Source
Show a body diff for JSON requests whose content type has a
+jsonsuffix, such asapplication/vnd.api+json, and for the other content types WebMock already matches as JSON (#734)Thanks to Olivier Brisse
Ignore the case of JSON, XML and url-encoded content types when matching request bodies, and match bodies of any
+jsonor+xmlmedia type, such asimage/svg+xml, as JSON or XMLSuggest declaring a JSON body as a hash when a request fails to match only because the JSON is formatted differently (#649)
A body declared as a string must match the request body exactly, including key order and whitespace. When that is the only difference, the error for an unregistered request and the failure message of a request expectation now say so, and suggest
with(body: JSON.parse(json_string)). Matching JSON strings regardless of key order by default is planned for the next major version (#485).v3.28.0Compare Source
Fix
to_rackapps receiving arack.sessionthey did not set up (#985)WebMock used to add a session hash to the Rack env, shared by every request to the same stub. This confused apps that check whether a session is present, such as Rails API-only apps, and carried session data over between requests. WebMock now leaves
rack.sessionandrack.session.optionsunset, as a real server does. If your app needs a session, include session middleware in the app you pass toto_rack.RackResponse#sessionandRackResponse#session_optionshave been removed.Thanks to Jan Graichen
Fix crash when matching a hash body pattern against a JSON or XML request that has no body
Thanks to Chris
No longer warn about curb versions newer than the last one tested
Document regexp values in
hash_includingThanks to Christian Bruckmayer
Remove unused
RequestSignatureSnippet#request_paramsThanks to Daniel Pepper
v3.27.0Compare Source
Fix crash in async-http adapter when a request header has a nil value
Thanks to hikmetba-bit
The async-http adapter now matches stubs against raw request header values instead of values parsed by protocol-http, consistent with the other adapters
Add RSpec
hash_excludingsupport to body matchingThanks to Chris Gunther
Fix
hash_excludingignoring keys given without a value and regexp values, in both query and body matchingFix crash when matching a request that has more than one
Content-TypeheaderConfiguration
📅 Schedule: (in timezone Asia/Tokyo)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.