Skip to content

Releases: jharibo/pookx

v2.2.2

Choose a tag to compare

@github-actions github-actions released this 21 Oct 18:49

What's Changed

Query matching is now stricter in two cases, which may surface tests that only passed because of the old behaviour: a list must match the exact number of values sent (["a", "a"] no longer matches ?x=a), and an empty value requires the parameter to be present (a mock for ?x= no longer matches a request without x).

Full Changelog: v2.2.1...v2.2.2

Available on PyPI: https://pypi.org/project/pookx/2.2.2/

v2.2.1

Choose a tag to compare

@github-actions github-actions released this 18 Sep 20:42

What's Changed

  • interceptors/urllib3: fix mocked chunked responses on urllib3 2.8 (TypeError from FakeChunkedResponseBody.readline()) in #2

Full Changelog: v2.2.0...v2.2.1

Available on PyPI: https://pypi.org/project/pookx/2.2.1/

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 13 Sep 15:58

First release of pookx, a maintained fork of h2non/pook.
The distribution name on PyPI is now pookx; the import name remains pook.

What's Changed

  • interceptors: add support for the httpx2 client
  • interceptors/aiohttp: support aiohttp 3.14 (stream_writer), by @mcepl in h2non#183 (fixes h2non#184)
  • interceptors/aiohttp: fix response.text() when the reply has no charset (fixes h2non#185)
  • Rename distribution to pookx and point project metadata at the fork
  • Development environment no longer depends on pytest-pook; the pook pytest marker now lives in the test suite

Full Changelog: v2.1.6...v2.2.0

Available on PyPI: https://pypi.org/project/pookx/2.2.0/