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

Bump responses from 0.18.0 to 0.19.0 #453

Merged
merged 1 commit into from
Mar 11, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 11, 2022

Bumps responses from 0.18.0 to 0.19.0.

Release notes

Sourced from responses's releases.

0.19.0

  • Added a registry that provides more strict ordering based on the invocation index. See responses.registries.OrderedRegistry.
  • Added shortcuts for each request method: delete, get, head, options, patch, post, put. For example, to add response for POST request you can use responses.post() instead of responses.add(responses.POST).
  • Prevent responses.activate decorator to leak, if wrapped function called from within another wrapped function. Also, allow calling of above mentioned chain. See #481 for more details.
  • Expose get_registry() method of RequestsMock object. Replaces internal _get_registry().
  • query_param_matcher can now accept dictionaries with int and float values.
  • Add support for the loose version of query_param_matcher via named argument strict_match.
  • Added support for async/await functions.
  • response_callback is no longer executed on exceptions raised by failed Responses
  • Change logic of _get_url_and_path to comply with RFC 3986. Now URL match occurs by matching schema, authority and path, where path is terminated by the first question mark ("?") or number sign ("#") character, or by the end of the URI.
  • An error is now raised when both content_type and headers[content-type] are provided as parameters.
  • When a request isn't matched the passthru prefixes are now included in error messages.
Changelog

Sourced from responses's changelog.

0.19.0

  • Added a registry that provides more strict ordering based on the invocation index. See responses.registries.OrderedRegistry.
  • Added shortcuts for each request method: delete, get, head, options, patch, post, put. For example, to add response for POST request you can use responses.post() instead of responses.add(responses.POST).
  • Prevent responses.activate decorator to leak, if wrapped function called from within another wrapped function. Also, allow calling of above mentioned chain. See #481 for more details.
  • Expose get_registry() method of RequestsMock object. Replaces internal _get_registry().
  • query_param_matcher can now accept dictionaries with int and float values.
  • Add support for the loose version of query_param_matcher via named argument strict_match.
  • Added support for async/await functions.
  • response_callback is no longer executed on exceptions raised by failed Responses
  • Change logic of _get_url_and_path to comply with RFC 3986. Now URL match occurs by matching schema, authority and path, where path is terminated by the first question mark ("?") or number sign ("#") character, or by the end of the URI.
  • An error is now raised when both content_type and headers[content-type] are provided as parameters.
  • When a request isn't matched the passthru prefixes are now included in error messages.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested review from a team, rmeissner, fmrsabino and luarx March 11, 2022 14:45
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 11, 2022
@coveralls
Copy link

coveralls commented Mar 11, 2022

Coverage Status

Coverage remained the same at 99.759% when pulling dd9e7cc on dependabot/pip/responses-0.19.0 into f64c764 on main.

@dependabot dependabot bot force-pushed the dependabot/pip/responses-0.19.0 branch from 7b4d67f to ef216d8 Compare March 11, 2022 18:20
Bumps [responses](https://github.com/getsentry/responses) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/getsentry/responses/releases)
- [Changelog](https://github.com/getsentry/responses/blob/master/CHANGES)
- [Commits](getsentry/responses@0.18.0...0.19.0)

---
updated-dependencies:
- dependency-name: responses
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/responses-0.19.0 branch from ef216d8 to dd9e7cc Compare March 11, 2022 18:20
@fmrsabino fmrsabino merged commit f9f2a0c into main Mar 11, 2022
@fmrsabino fmrsabino deleted the dependabot/pip/responses-0.19.0 branch March 11, 2022 18:31
@github-actions github-actions bot locked and limited conversation to collaborators Mar 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants