Skip to content

Releases: getsentry/responses

Responses 0.10.13

20 Apr 02:25
Compare
Choose a tag to compare
  • 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

03 Mar 02:49
Compare
Choose a tag to compare
  • Fixed incorrect content-type in add_callback() when headers are provided as a list of tuples.

Responses 0.10.11

25 Feb 02:58
Compare
Choose a tag to compare
  • Fixed invalid README formatted.
  • Fixed string formatting in error message.

Responses 0.10.10

30 Jan 15:52
Compare
Choose a tag to compare
  • Added Python 3.8 support
  • Remove Python 3.4 from test suite matrix.
  • The response.request object now has a params attribute that contains the query string parameters from the request that was captured.
  • add_passthru now supports re 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

20 Dec 01:53
Compare
Choose a tag to compare
  • Fixed regression with add_callback() and content-type header.
  • Fixed implicit dependency on urllib3>1.23.0

Responses 0.10.8

12 Dec 16:33
Compare
Choose a tag to compare
  • Fixed cookie parsing and enabled multiple cookies to be set by using a list of tuple values.

Responses 0.10.7

25 Nov 16:12
Compare
Choose a tag to compare

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

15 Mar 15:59
Compare
Choose a tag to compare
  • 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

17 Dec 19:41
Compare
Choose a tag to compare
  • Fix callback exception mocking.
  • Improve test coverage
  • Improve build configuration.

Responses 0.10.4

15 Nov 02:28
Compare
Choose a tag to compare
  • Fixed generated wrapper when using @responses.activate in Python 3.6+
    when decorated functions use parameter and/or return annotations.