Releases: getsentry/responses
Releases · getsentry/responses
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 willadd()
a response if one has not already been registered for a URL, orreplace()
an existing response.responses.registered()
was added. The method allows you to get a list of the currently registered responses. This formalizes the previously privateresponses.mock._matches
method.- A more useful
__repr__
has been added toResponse
. - Error messages have been improved.
Responses 0.12.1
responses.urlencoded_params_matcher
andresponses.json_params_matcher
now
accept None to match empty requests.- Fixed imports to work with new
urllib3
versions. request.params
now allows parameters to have multiple values for the same key.- Improved ConnectionError messages.
Responses 0.12.0
- Removed support for python 3.4
Responses 0.11.0
- Added the
match
parameter toadd()
. - Added
responses.urlencoded_params_matcher()
andresponses.json_params_matcher()
.
Responses 0.10.16
Fixes
- Add a requirements pin to urllib3. This helps prevent broken install states where
cookie usage fails.
Responses 0.10.15
- Added
assert_call_count
to improve ergonomics around ensuring a mock was called. - Fix incorrect handling of paths with query strings.
- Add Python 3.9 support to CI matrix.
Responses 0.10.14
- Version bump to align tags with setup.py