Releases: getsentry/responses
Releases · getsentry/responses
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.request
object now has aparams
attribute that contains the query string parameters from the request that was captured. add_passthru
now supportsre
pattern 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.
Responses 0.10.7
Fixes
- Improved formatting of project description in pypi.
- Unicode cookie values are now normalized to URL quoted encoding.
- Module exports are statically defined improving code completion and IDE navigation.
- Improved compatibility with pytest 5
Responses 0.10.6
- Improved documentation.
- Improved installation requirements for py3
- ConnectionError's raised by responses now indicate which request path/method failed to match a mock.
test_responses.py
is no longer part of the installation targets.
Responses 0.10.5
- Fix callback exception mocking.
- Improve test coverage
- Improve build configuration.
Responses 0.10.4
- Fixed generated wrapper when using
@responses.activate
in Python 3.6+
when decorated functions use parameter and/or return annotations.