Skip to content

Commit aa5ef9f

Browse files
committed
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](https://github.com/fastapi-users/fastapi-users/blob/8959a12d56212efe01b8cf3c37f0659cc25dcc19/fastapi_users/authentication/transport/bearer.py)] * 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](https://fastapi-users.github.io/fastapi-users/latest/configuration/user-manager/#on_after_login)] Thanks @sorasful 🎉 Bug fixes --------- * Fix fastapi-users#1166: add type hint to /users/{id} routes. Thanks @gegnew 🎉 * Fix `/verify` route returning `null` user ID with Beanie. Thanks @jankadel 🎉
1 parent d71e229 commit aa5ef9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastapi_users/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Ready-to-use and customizable users management for FastAPI."""
22

3-
__version__ = "10.4.2"
3+
__version__ = "11.0.0"
44

55
from fastapi_users import models, schemas # noqa: F401
66
from fastapi_users.exceptions import InvalidID, InvalidPasswordException

0 commit comments

Comments
 (0)