Repository navigation
Releases: jharibo/pookx
Releases · jharibo/pookx
Release list
v2.2.2
What's Changed
- matchers/query: match repeated query parameters such as
?x=a&x=bagainst a list, in order, by @bensynapse in h2non#187 - matchers/query: match numeric values such as
params({"n": 1})against?n=1, by @SAY-5 in h2non#182 (fixes h2non#109) - matchers/query: match empty values such as
params({"cursor": ""})against?cursor=, by @xiehuanyi in h2non#188, suggested by @plaes (fixes h2non#181)
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
What's Changed
- interceptors/urllib3: fix mocked chunked responses on urllib3 2.8 (
TypeErrorfromFakeChunkedResponseBody.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
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
httpx2client - 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
pookxand point project metadata at the fork - Development environment no longer depends on
pytest-pook; thepookpytest 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/