Releases: getsentry/responses
Releases · getsentry/responses
Responses 0.11.0
- Added the
matchparameter 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_countto 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
Responses 0.10.13
- Improved README examples.
- Improved handling of unicode bodies. The inferred content-type for unicode bodies is now
text/plain; charset=utf-8. - Streamlined querysting matching code.
Responses 0.10.12
- Fixed incorrect content-type in
add_callback()when headers are provided as a list of tuples.
Responses 0.10.11
- Fixed invalid README formatted.
- Fixed string formatting in error message.
Responses 0.10.10
- Added Python 3.8 support
- Remove Python 3.4 from test suite matrix.
- The
response.requestobject now has aparamsattribute that contains the query string parameters from the request that was captured. add_passthrunow supportsrepattern objects to match URLs.- ConnectionErrors raised by responses now include more details on the request that was attempted and the mocks registered.
Responses 0.10.9
- Fixed regression with
add_callback()and content-type header. - Fixed implicit dependency on urllib3>1.23.0
Responses 0.10.8
- Fixed cookie parsing and enabled multiple cookies to be set by using a list of tuple values.