Skip to content

Version 0.20.0

Compare
Choose a tag to compare
@lundberg lundberg released this 16 Sep 09:30
· 28 commits to master since this release

0.20.0 (16th September 2022)

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)