Fastapi-users

Latest version: v13.0.0

Safety actively analyzes 630094 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 17

7.0.0

Not secure
Breaking changes

* The deprecated dependencies to retrieve current user have been removed. Use the `current_user` factory instead. [[Documentation](https://fastapi-users.github.io/fastapi-users/usage/current-user/)]
* When trying to authenticate a not verified user, a **status code 403** is raised instead of status code 401. Thanks daanbeverdam 🎉 [[Documentation](https://fastapi-users.github.io/fastapi-users/usage/current-user/#current_user)]
* Your `UserUpdate` model shouldn't inherit from the base `User` class anymore. If you have custom fields, you should repeat them in this model. [[Documentation](https://fastapi-users.github.io/fastapi-users/configuration/model/#define-your-models)]

Improvements

* Database adapters now live in their [own repositories and packages](https://github.com/fastapi-users).
* When upgrading to v7.0.0, the dependency for your database adapter should automatically be installed.
* The `import` statements remain unchanged.
* [SQLAlchemy + encode/databases adapter](https://github.com/fastapi-users/fastapi-users-db-sqlalchemy) have been updated and now support SQLAlchemy 1.4.
* Secret parameters now support Pydantic's [`SecretStr` class](https://pydantic-docs.helpmanual.io/usage/types/#secret-types). Thanks pocin 🎉

What's coming next?

* [SQLModel](https://sqlmodel.tiangolo.com/) support through a new database adapter
* Better examples running on Repl.it
* Tackle 633, 687 and 688

6.1.3

Not secure
Miscellaneous

* Update URL:
* Repository is now at: https://github.com/fastapi-users/fastapi-users/
* Documentation is now at: https://fastapi-users.github.io/fastapi-users/

6.1.2

Not secure
Improvements

* Bump dependencies:
* `fastapi >=0.65.2,<0.69.0`

6.1.1

Not secure
Fixes

* Fix 646: add a `python_type` to the GUID column type for SQLAlchemy database backend. Thanks mark-todd 🎉
* Fix users delete route returning `null` in content with a 204 status code (see 650). Thanks jnu 🎉

Improvements

* Bump dependencies:
* `fastapi >=0.65.2,<0.67.0`

6.1.0

Not secure
New features

* Password validation feature: use your own function to validate password. It'll get called consistently at registration, password reset and user update. [[Documentation](https://frankie567.github.io/fastapi-users/configuration/password-validation/)]

Improvements

* Bump dependencies
* `fastapi >=0.63.0,<0.66.0`
* `pyjwt ==2.1.0`
* Improve documentation regarding JWTAuthentication's `tokenUrl` argument. Thanks eddsalkield 🎉

6.0.0

Not secure
Bug fixes

* Fix 600: the Tortoise ORM integration has been heavily reworked to better handle foreign keys and nested objects. **If you use Tortoise ORM, you should update your configuration to make it work**. [[Documentation](https://frankie567.github.io/fastapi-users/configuration/databases/tortoise/#tweak-userdb-model)]

Page 9 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.