Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Oct 28, 2021

Bumps responses from 0.10.15 to 0.15.0.

Release notes

Sourced from responses's releases.

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
  • Deprecate stream argument in Response and CallbackResponse
  • Added Python 3.10 support

0.14.0

  • Added responses.matchers.
  • Moved responses.json_params_matcher to responses.matchers.json_param_matcher
  • Moved responses.urlencoded_params_matcher to responses.matchers.urlencoded_param_matcher
  • Added responses.query_params_matcher. This matcher allows you to match query strings with a dictionary.
  • Added auto_calculate_content_length option to responses.add(). When enabled, this option will generate a Content-Length header based on the number of bytes in the response body.

0.13.4

  • Improve typing support
  • Use URLs with normalized hostnames when comparing URLs.

0.13.3

  • Switch from Travis to GHA for deployment.

Responses 0.13.2

  • Fixed incorrect type stubs for add_callback

Responses 0.13.1

  • Fixed packages not containing type stubs.

Responses 0.13.0

  • responses.upsert() was added. This method will add() a response if one has not already been registered for a URL, or replace() an existing response.
  • responses.registered() was added. The method allows you to get a list of the currently registered responses. This formalizes the previously private responses.mock._matches method.
  • A more useful __repr__ has been added to Response.
  • Error messages have been improved.

... (truncated)

Changelog

Sourced from responses's changelog.

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
  • Deprecate stream argument in Response and CallbackResponse
  • Added Python 3.10 support

0.14.0

  • Added responses.matchers.
  • Moved responses.json_params_matcher to responses.matchers.json_params_matcher
  • Moved responses.urlencoded_params_matcher to responses.matchers.urlencoded_params_matcher
  • Added responses.matchers.query_param_matcher. This matcher allows you to match query strings with a dictionary.
  • Added auto_calculate_content_length option to responses.add(). When enabled, this option will generate a Content-Length header based on the number of bytes in the response body.

0.13.4

  • Improve typing support
  • Use URLs with normalized hostnames when comparing URLs.

0.13.3

  • Switch from Travis to GHA for deployment.

0.13.2

  • Fixed incorrect type stubs for add_callback

... (truncated)

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)

Bumps [responses](https://github.com/getsentry/responses) from 0.10.15 to 0.15.0.
- [Release notes](https://github.com/getsentry/responses/releases)
- [Changelog](https://github.com/getsentry/responses/blob/master/CHANGES)
- [Commits](getsentry/responses@0.10.15...0.15.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 Oct 28, 2021
@codecov
Copy link

codecov bot commented Oct 28, 2021

Codecov Report

Merging #285 (a063ee3) into main (b6d7e88) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #285   +/-   ##
=======================================
  Coverage   94.95%   94.95%           
=======================================
  Files           8        8           
  Lines         357      357           
=======================================
  Hits          339      339           
  Misses         18       18           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b6d7e88...a063ee3. Read the comment docs.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 16, 2021

Superseded by #287.

@dependabot dependabot bot closed this Nov 16, 2021
@dependabot dependabot bot deleted the dependabot/pip/responses-0.15.0 branch November 16, 2021 20:13
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant