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 10 of 17

5.1.4

Not secure
Bug fixes

* Fix 561: check if e-mail not already exists when updating e-mail.
* Fix 609: make behavior more consistent on request verify token. Now, it always returns 202 even if the user is already verified.

Improvements

* Document the `LOGIN_USER_NOT_VERIFIED` error code for the `/login` route.

5.1.3

Not secure
Improvements

* Allow `lifetime_seconds` to be `None` in `CookieAuthentication` to allow session cookies.
* Bump dependencies:
* `tortoise-orm >=0.16.0,<0.18.0`
* `ormar >=0.9.5,<0.10.0`

5.1.2

Not secure
Bug fixes

* Fix `BaseUserDB` typing by making `email`, `is_active`, `is_superuser` and `is_verified` non optional

5.1.1

Not secure
Improvements

* Fix 515: remove deprecated user callables in internal codebase
* Add `py.typed` to ensure mypy is type checking the library in external projects

5.1.0

Not secure
New features

* New database backend for [ormar](https://collerek.github.io/ormar/). Thanks paolodina and collerek 🎉 [[Documentation](https://frankie567.github.io/fastapi-users/configuration/databases/ormar/)]
* New parametrized dependency callable `current_user` that will replace `get_current_user` and friends. [[Documentation](https://frankie567.github.io/fastapi-users/usage/dependency-callables/)]
* Old dependency callables are still provided for backward-compatibility but are now **deprecated** and will be removed in the future.

Bug fixes

* Fix 444/475: add a path convertor to prevent custom routes in `/users` router to be catched by default routes.

Improvements

* Bump dependencies
* `pyjwt ==2.0.1`
* Add a contributors section to README ✨
* If I forgot to add you and wish to appear there, please ping me 👍

5.0.0

Not secure
Breaking changes

* New property `is_verified` in `User` model.
* If you use **SQLAlchemy** or **Tortoise** databases adapters, you'll have to make a migration to update your database schema.
* See: https://frankie567.github.io/fastapi-users/migration/4x_to_5x/

New features

* The long awaited e-mail verification routes. [[Documentation](https://frankie567.github.io/fastapi-users/configuration/routers/verify/)] Thanks eddsalkield and mark-todd 🎉
* `after_reset_password` handler to run logic after a successful password reset. [[Documentation](https://frankie567.github.io/fastapi-users/configuration/routers/reset/#after-reset-password)]

Bug fixes

* Fix 438: issue with OAuth accounts and PostgreSQL. Thanks slado122 🎉

Page 10 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.