python-respx/python-respx.changes

79 lines
3.1 KiB
Plaintext

-------------------------------------------------------------------
Wed May 22 17:02:32 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- add sle15_python_module_pythons
-------------------------------------------------------------------
Sat Apr 20 07:48:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.21.1:
* Fix `files` pattern not handling `str` and `BytesIO`
* Add support for `None` values in `data` pattern
-------------------------------------------------------------------
Thu Mar 21 17:03:25 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.21.0:
* Fix matching request data when files are provided
* Add support for data\_\_contains lookup
* Add `files` pattern to support matching on uploads
* Add `SetCookie` utility for easier mocking of response cookie
headers
* Enhance documentation on iterable side effects
* Enhance documentation on named routes and add tip about a
catch-all route
-------------------------------------------------------------------
Tue Jan 9 22:11:30 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.20.2:
* Better assertion output for `assert_all_called`
* Support for quoted path pattern matching
* Enable content\_\_contains pattern, thanks @rjprins
* Added initial `CONTRIBUTING.md`, thanks @morenoh149
* Docs about retrieving mocked calls, thanks
* Docs about `Router.assert_all_called()`, thanks @BeyondEvil
for input
- drop use-real-ipv6-address.patch (upstream)
-------------------------------------------------------------------
Fri Jun 16 06:03:28 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch use-real-ipv6-address.patch:
* Use a real IPv6 address to avoid an address parsing exception
-------------------------------------------------------------------
Mon Jan 16 11:33:19 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 0.20.1
* Support HTTPX 0.23.1, thanks @g-as for input (#223)
-------------------------------------------------------------------
Wed Oct 12 15:57:25 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 0.20.0
Changed
* Type Router.__getitem__ to not return optional routes, thanks @flaeppe (#216)
* Change Call.response to raise instead of returning optional response (#217)
* Change CallList.last to raise instead of return optional call (#217)
* Type M() to not return optional pattern, by introducing a Noop pattern (#217)
* Type Route.pattern to not be optional (#217)
Fixed
* Correct type hints for side effects (#217)
Added
* Runs mypy on both tests and respx (#217)
* Added nox test session for python 3.11 (#217)
* Added Call.has_response helper, now that .response raises (#217)
-------------------------------------------------------------------
Mon Aug 22 07:35:00 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Run pytest with --asyncio-mode=auto due to new release of
pytest-asyncio.
-------------------------------------------------------------------
Tue Aug 2 04:13:14 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Initial package for 0.19.2