Skip to content

v11.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Apr 11:58
· 55 commits to master since this release
v11.0.0
aa5ef9f

Bump version 10.4.2 → 11.0.0

Breaking changes

  • Transport classes now always build full response objects instead of using the implicit FastAPI Response object.
    • If you were not implementing your own custom transport classes, you will have nothing to do.
    • If you implemented custom classes, you should adapt them so they return a Response object. [Example]
  • Cookie transport now returns a proper 204 No Content response on logout, which should please OpenAPI Generators. Thanks @caniko 🎉

New features

  • on_after_login method now accepts response in argument, which is the Response object built by the transport. [Documentation] Thanks @sorasful 🎉

Bug fixes

  • Fix #1166: add type hint to /users/{id} routes. Thanks @gegnew 🎉
  • Fix /verify route returning null user ID with Beanie. Thanks @jankadel 🎉