mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2026-03-13 07:49:55 +08:00
Breaking change --------------- The underlying password hashing library has been changed from `passlib` to `pwdlib`. This change is breaking only if you were using a custom `CryptContext`. Otherwise, you can upgrade without any changes. Improvements ------------ * Python 3.12 support * Password are now hashed using the Argon2 algorithm by default. Passwords created with the previous default algorithm (bcrypt) will still be verified correctly and upgraded to Argon2 when the user logs in. * Bump dependencies * `python-multipart ==0.0.9`
24 lines
574 B
Python
24 lines
574 B
Python
"""Ready-to-use and customizable users management for FastAPI."""
|
|
|
|
__version__ = "13.0.0"
|
|
|
|
from fastapi_users import models, schemas # noqa: F401
|
|
from fastapi_users.exceptions import InvalidID, InvalidPasswordException
|
|
from fastapi_users.fastapi_users import FastAPIUsers # noqa: F401
|
|
from fastapi_users.manager import ( # noqa: F401
|
|
BaseUserManager,
|
|
IntegerIDMixin,
|
|
UUIDIDMixin,
|
|
)
|
|
|
|
__all__ = [
|
|
"models",
|
|
"schemas",
|
|
"FastAPIUsers",
|
|
"BaseUserManager",
|
|
"InvalidPasswordException",
|
|
"InvalidID",
|
|
"UUIDIDMixin",
|
|
"IntegerIDMixin",
|
|
]
|