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`
12.1.3
Improvements ------------
* Bump dependenciess * `python-multipart ==0.0.7`
12.1.2
Bug fixes ---------
* Fix a bug when trying to update user with a `None` password. Thanks fotinakis 🎉 * Fix static type checking error with `AccessTokenProtocol`. Thanks Nerixjk 🎉
Improvements ------------
* Bump dependencies * `redis >=4.3.3,<6.0.0`
12.1.1
Bug fixes and improvements --------------------------
This version brings Pydantic V2 support. Like FastAPI, it keeps backward-compatibility with Pydantic V1, so you can upgrade safely and at your own pace.
Apart your own Pydantic schemas, no changes are needed to your FastAPI Users setup.
Thanks AdamIsrael for the initial work and research 🎉