Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 3, 2022

Bumps responses from 0.13.4 to 0.18.0.

Release notes

Sourced from responses's releases.

0.18.0

  • Dropped support of Python 2.7, 3.5, 3.6
  • Fixed issue with type annotation for responses.activate decorator. See #468
  • Removed internal _is_string and _ensure_str functions
  • Removed internal _quote from test_responses.py
  • Removed internal _matches attribute of RequestsMock object.
  • Generated decorator wrapper now uses stdlib features instead of strings and exec
  • Fix issue when Deprecation Warning was raised with default arguments in responses.add_callback due to match_querystring. See #464

0.17.0

  • This release is the last to support Python 2.7.
  • Fixed issue when response.iter_content when chunk_size=None entered infinite loop
  • Fixed issue when passthru_prefixes persisted across tests. Now add_passthru is valid only within a context manager or for a single function and cleared on exit
  • Deprecate match_querystring argument in Response`` and CallbackResponse. Use responses.matchers.query_param_matcherorresponses.matchers.query_string_matcher`
  • Added support for non-UTF-8 bytes in responses.matchers.multipart_matcher
  • Added responses.registries. Now user can create custom registries to manipulate the order of responses in the match algorithm responses.activate(registry=CustomRegistry)
  • Fixed issue with response match when requests were performed between adding responses with same URL. See Issue #212

0.16.0

  • Fixed regression with stream parameter deprecation, requests.session() and cookie handling.
  • Replaced adhoc URL parsing with urllib.parse.
  • Added match parameter to add_callback method
  • Added responses.matchers.fragment_identifier_matcher. This matcher allows you to match request URL fragment identifier.
  • Improved test coverage.
  • Fixed failing test in python 2.7 when python-future is also installed.

0.15.0

  • Added responses.PassthroughResponse and reponses.BaseResponse.passthrough. These features make building passthrough responses more compatible with dynamcially generated response objects.
  • Removed the unused _is_redirect() function from responses internals.
  • Added responses.matchers.request_kwargs_matcher. This matcher allows you to match additional request arguments like stream.
  • Added responses.matchers.multipart_matcher. This matcher allows you to match request body and headers for multipart/form-data data
  • Added responses.matchers.query_string_matcher. This matcher allows you to match request query string, similar to responses.matchers.query_param_matcher.
  • Added responses.matchers.header_matcher(). This matcher allows you to match request headers. By default only headers supplied to header_matcher() are checked. You can make header matching exhaustive by passing strict_match=True to header_matcher().
  • Changed all matchers output message in case of mismatch. Now message is aligned between Python2 and Python3 versions

... (truncated)

Changelog

Sourced from responses's changelog.

0.18.0

  • Dropped support of Python 2.7, 3.5, 3.6
  • Fixed issue with type annotation for responses.activate decorator. See #468
  • Removed internal _is_string and _ensure_str functions
  • Removed internal _quote from test_responses.py
  • Removed internal _matches attribute of RequestsMock object.
  • Generated decorator wrapper now uses stdlib features instead of strings and exec
  • Fix issue when Deprecation Warning was raised with default arguments in responses.add_callback due to match_querystring. See #464

0.17.0

  • This release is the last to support Python 2.7.
  • Fixed issue when response.iter_content when chunk_size=None entered infinite loop
  • Fixed issue when passthru_prefixes persisted across tests. Now add_passthru is valid only within a context manager or for a single function and cleared on exit
  • Deprecate match_querystring argument in Response and CallbackResponse. Use responses.matchers.query_param_matcher or responses.matchers.query_string_matcher
  • Added support for non-UTF-8 bytes in responses.matchers.multipart_matcher
  • Added responses.registries. Now user can create custom registries to manipulate the order of responses in the match algorithm responses.activate(registry=CustomRegistry)
  • Fixed issue with response match when requests were performed between adding responses with same URL. See Issue #212

0.16.0

  • Fixed regression with stream parameter deprecation, requests.session() and cookie handling.
  • Replaced adhoc URL parsing with urllib.parse.
  • Added match parameter to add_callback method
  • Added responses.matchers.fragment_identifier_matcher. This matcher allows you to match request URL fragment identifier.
  • Improved test coverage.
  • Fixed failing test in python 2.7 when python-future is also installed.

0.15.0

  • Added responses.PassthroughResponse and reponses.BaseResponse.passthrough. These features make building passthrough responses more compatible with dynamcially generated response objects.
  • Removed the unused _is_redirect() function from responses internals.
  • Added responses.matchers.request_kwargs_matcher. This matcher allows you to match additional request arguments like stream.
  • Added responses.matchers.multipart_matcher. This matcher allows you

... (truncated)

Commits
  • 1819574 release: 0.18.0
  • eb62b46 Fix RST error blocking release.
  • 82de5f8 move registries types into inlines (#472)
  • 6b70346 remove parallel requests branch test (#473)
  • e6e6504 move tests for registries to separate file (#474)
  • 8267f3d Remove universal wheel flag
  • a552398 Fix deprecation warning being emitted by add_callback (#470)
  • 69b7df7 mbelaiev/matchers_docs (#466)
  • 776ada5 Update changes for #461
  • 721115f significantly simplify function decorator by utilizing Python 3 built-in capa...
  • Additional commits viewable in compare view

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)

Bumps [responses](https://github.com/getsentry/responses) from 0.13.4 to 0.18.0.
- [Release notes](https://github.com/getsentry/responses/releases)
- [Changelog](https://github.com/getsentry/responses/blob/master/CHANGES)
- [Commits](getsentry/responses@0.13.4...0.18.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 added the dependencies Pull requests that update a dependency file label Feb 3, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 8, 2022

Superseded by #83.

@dependabot dependabot bot closed this Mar 8, 2022
@dependabot dependabot bot deleted the dependabot/pip/responses-0.18.0 branch March 8, 2022 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants