Releases: fastapi-users/fastapi-users
Releases · fastapi-users/fastapi-users
v0.5.1
Improvements
- Expose more options to tune the generated cookie with Cookie authentication. [Documentation]
- Bump dependencies:
fastapi==0.46.0
v0.5.0
Fixes
- Fix #83: custom fields where not output in API responses. Thanks @MariusMez!
Breaking changes
- Each User Pydantic model variations should be defined by the end-developer and passed to the
FastAPIUsers
object. [Documentation] [Documentation] - Pydantic model for the DB representation should be passed to the DB adapter. [Documentation]
- Tortoise base model class is now an
abstract
model and is now namedTortoiseBaseUserModel
. [Documentation]
v0.4.1
v0.4.0
New features
- Multiple authentication backends. [Documentation]
- Tortoise ORM database adapter. [Documentation] Thanks @prostomarkeloff!
Breaking changes
- Authentication is now configured with a list, to allow multiple authentication backends. [Documentation]
- There are several login routes, one for each authentication backend. [Documentation]
Improvements
- Bump dependencies:
fastapi==0.44.0
Known limitations
- Automatic documentation doesn't discover authentication method. See #68.
v0.3.2
Fixes
- Fix #36: fix token url in auto doc
Improvements
- Bump dependencies:
databases==0.2.5
sqlalchemy==1.3.11
fastapi==0.43.0
- Documentation improvements (#40). Thanks @prostomarkeloff!
- Test pipeline is now run both on Python 3.7 and 3.8
v0.3.1
Fixes
- Fix #35: import error when trying to import
fastapi_users.db
when optionalmongodb
/sqlalchemy
depencies are not installed. Thanks @erkandem!
Improvements
- Add error codes on error responses. [Documentation]
v0.3.0
New features
- MongoDB database adapter. [Documentation]
- Superuser routes to list, get, update and delete users. [Documentation]
Breaking changes
- SQLAlchemy users should install the library with the associated optional dependencies:
pip install fastapi-users[sqlalchemy]
. [Documentation]
v0.2.0
New features
- Define several handlers per event thanks to decorators. [Documentation]
- Add an after register event. [Documentation]
Breaking changes
on_after_forgot_password
event handler is now declared using a decorator. [Documentation]
v0.1.0
First working version 🎉
- Extensible base user model
- Ready-to-use register, login, forgot and reset password routes.
- Customizable database backend
- SQLAlchemy backend included
- Customizable authentication backend
- JWT authentication backend included