Skip to content

Releases: mindflayer/python-mocket

3.12.5

14 Apr 18:14
5aecbb5
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.12.4...3.12.5

3.12.4

06 Feb 10:26
c4240b7
Compare
Choose a tag to compare

What's Changed

  • When creating true socket connection, use host and port stored in instance variables, not in the Mocket class's variable by @ento in #222
  • Switching to Compose v2 by @mindflayer in #223
  • Add allowed locations (whitelist) for STRICT mode by @mindflayer (refactoring of #214 from @ento) in #224

Full Changelog: 3.12.3...3.12.4

Better aiohttp support plus minor bugfixes

17 Jan 22:53
182be1a
Compare
Choose a tag to compare

What's Changed

  • Fixes for allowing making a mixture of unmocked and mocked HTTPS requests using aiohttp by @ento in #213
  • Merging external contribution by @mindflayer in #219
  • Adding testcase for proving #209 was fixed by @mindflayer in #220

New Contributors

  • @ento made their first contribution in #213

Full Changelog: 3.12.2...3.12.3

Pook plugin available for Python versions newer than 3.10

25 Dec 11:47
91cfac0
Compare
Choose a tag to compare

What's Changed

Thanks to @sarayourfriend for the hint about pook

Full Changelog: 3.12.0...3.12.2

Support for Python 3.12

28 Oct 12:35
f7eeb78
Compare
Choose a tag to compare
Support for Python 3.12 (#204)

* Fix for Python 3.12
* Getting rid of Python 3.7, since it's not supported anymore.
* Precommit hooks' autoupdate.
* Disabling `aiohttp` for testing Python 3.12.

Support for `urllib2>=2`

12 May 10:34
b6336fc
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.11.0...3.11.1

Python 3.11 support

19 Feb 16:00
2076471
Compare
Choose a tag to compare
  • Migrating the HTTP[S] mock from relying on http-parser to httptools.
  • Never discovered the root cause for the failing tests with aiohttp/Python 3.11 (first time ever I added @pytest.mark.xfail to a few tests). Same test works with httpx, so I suspect it's related to a client issue. I'll probably migrate to httpx as the reference client for testing async/await code.

Minor improvements

03 Dec 22:44
5313158
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.10.8...3.10.9

Mocket now supports calls from an asyncio event loop

23 Aug 16:12
3cb2a3a
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.10.7...3.10.8

Support for `httpx` client

16 Aug 19:09
81474f1
Compare
Choose a tag to compare

What's Changed

  • Change methods not using its bound instance to staticmethods by @deepsource-autofix in #180
  • Adding support for httpx by @mindflayer in #183

Thanks to @gregbrowndev for openinig #182.

Full Changelog: 3.10.6...3.10.7