From 9ba09c92685165f5473490aebeff5cfe95a7d3fc Mon Sep 17 00:00:00 2001 From: Jonas Lundberg Date: Tue, 27 Apr 2021 19:21:23 +0200 Subject: [PATCH] Release 0.17.0 Changed - Require `HTTPX` 0.18.0 and implement the new transport API. (PR #142) - Removed ASGI and WSGI transports from httpcore patch list. (PR #131) - Don't pre-read mocked async resposne streams. (PR #136) Fixed - Fixed syntax highlighting in docs, thanks @florimondmanca. (PR #134) - Type check `route.return_value`, thanks @tzing. (PR #133) - Fixed a typo in the docs, thanks @lewoudar. (PR #139) Added - Added support for adding/removing patch targets. (PR #131) - Added test session for python 3.10. (PR #140) - Added RESPX Mock Swallowtail to README. (PR #128) --- CHANGELOG.md | 16 ++++++++++++++++ README.md | 2 +- docs/index.md | 2 +- respx/__version__.py | 2 +- 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0581ced..7fd1f7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.17.0] - 2021-04-27 +### Changed +- Require `HTTPX` 0.18.0 and implement the new transport API. (PR #142) +- Removed ASGI and WSGI transports from httpcore patch list. (PR #131) +- Don't pre-read mocked async resposne streams. (PR #136) + +### Fixed +- Fixed syntax highlighting in docs, thanks @florimondmanca. (PR #134) +- Type check `route.return_value`, thanks @tzing. (PR #133) +- Fixed a typo in the docs, thanks @lewoudar. (PR #139) + +### Added +- Added support for adding/removing patch targets. (PR #131) +- Added test session for python 3.10. (PR #140) +- Added RESPX Mock Swallowtail to README. (PR #128) + ## [0.16.3] - 2020-12-14 ### Fixed - Fixed decorator `respx_mock` kwarg, mistreated as a `pytest` fixture. (PR #117) diff --git a/README.md b/README.md index 653613a..61d6354 100644 --- a/README.md +++ b/README.md @@ -48,5 +48,5 @@ Install with pip: $ pip install respx ``` -Requires Python 3.6+ and HTTPX 0.15+. +Requires Python 3.6+ and HTTPX 0.18+. See [Changelog](https://github.com/lundberg/respx/blob/master/CHANGELOG.md) for older HTTPX compatibility. diff --git a/docs/index.md b/docs/index.md index ad44591..a2ed952 100644 --- a/docs/index.md +++ b/docs/index.md @@ -51,5 +51,5 @@ Install with pip: $ pip install respx ``` -Requires Python 3.6+ and HTTPX 0.15+. +Requires Python 3.6+ and HTTPX 0.18+. See [Changelog](https://github.com/lundberg/respx/blob/master/CHANGELOG.md) for older HTTPX compatibility. diff --git a/respx/__version__.py b/respx/__version__.py index 755df90..fd86b3e 100644 --- a/respx/__version__.py +++ b/respx/__version__.py @@ -1 +1 @@ -__version__ = "0.16.3" +__version__ = "0.17.0"