Skip to content

Releases: getsentry/responses

0.26.0

19 Feb 14:38

Choose a tag to compare

  • When using assert_all_requests_are_fired=True, assertions about
    unfired requests are now raised even when an exception occurs in the context manager or
    decorated function. Previously, these assertions were suppressed when exceptions occurred.
    This new behavior provides valuable debugging context about which mocked requests were
    or weren't called.
  • Consider the Retry-After header when handling retries

0.25.8

08 Aug 19:01

Choose a tag to compare

  • Fix bug where the content type is always recorded as either text/plain or application/json. See #770
  • Allow asserts on add_callback() matches. See #727

0.25.7

11 Mar 15:36

Choose a tag to compare

  • Added support for python 3.13

0.25.6

13 Jan 21:04

Choose a tag to compare

release: 0.25.6

0.25.5

10 Jan 15:35

Choose a tag to compare

release: 0.25.5

0.25.3

14 Jun 16:33

Choose a tag to compare

  • Fixed recorder not saving and loading response headers with yaml files. See #715

0.25.2

06 Jun 14:55

Choose a tag to compare

  • Mulligan on 0.25.1 to run release pipeline correctly.
  • Added matchers.body_matcher for matching string request bodies. See #717

Responses 0.25.1

16 May 14:07

Choose a tag to compare

What's Changed

  • Use pytest.mark.asyncio by @markstory in #707
  • fix mocked HEAD response when content-length header is present by @ddarricau in #712
  • fix(matchers): Don't sort failed matches when printing error message by @mgaligniana in #711

New Contributors

Full Changelog: 0.25.0...0.25.1

0.25.0

13 Feb 21:15

Choose a tag to compare

  • Added support for Python 3.12
  • Fixed matchers.header_matcher not failing when a matched header is missing from the request. See #702

0.24.1

14 Nov 22:56

Choose a tag to compare

  • Reverted overloads removal
  • Added typing to Call attributes.
  • Fix socket issues (see #693)