Skip to content

Commit 8d9e149

Browse files
committed
Release 0.20.0
1 parent 207cd16 commit 8d9e149

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.20.0] - 2022-09-16
8+
9+
### Changed
10+
- Type Router.__getitem__ to not return optional routes, thanks @flaeppe (#216)
11+
- Change `Call.response` to raise instead of returning optional response (#217)
12+
- Change `CallList.last` to raise instead of return optional call (#217)
13+
- Type `M()` to not return optional pattern, by introducing a `Noop` pattern (#217)
14+
- Type `Route.pattern` to not be optional (#217)
15+
16+
### Fixed
17+
- Correct type hints for side effects (#217)
18+
19+
### Added
20+
- Runs `mypy` on both tests and respx (#217)
21+
- Added nox test session for python 3.11 (#217)
22+
- Added `Call.has_response` helper, now that `.response` raises (#217)
23+
724
## [0.19.3] - 2022-09-14
825

926
### Fixed

respx/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.19.3"
1+
__version__ = "0.20.0"

0 commit comments

Comments
 (0)