Skip to content

Releases: fastapi-users/fastapi-users

v0.5.1

11 Jan 09:57
Compare
Choose a tag to compare

Improvements

  • Expose more options to tune the generated cookie with Cookie authentication. [Documentation]
  • Bump dependencies:
    • fastapi==0.46.0

v0.5.0

04 Jan 15:05
Compare
Choose a tag to compare

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 named TortoiseBaseUserModel. [Documentation]

v0.4.1

17 Dec 14:56
Compare
Choose a tag to compare

Fixes

  • Fix #77: with Tortoise ORM, use a CharField as primary key instead of a TextField. Thanks @grigi!

Improvements

  • Bump dependencies:
    • fastapi==0.45.0
    • tortoise==0.15.5
    • motor==2.1.0
    • sqlalchemy==1.3.12

v0.4.0

04 Dec 12:39
Compare
Choose a tag to compare

New features

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

25 Nov 12:18
Compare
Choose a tag to compare

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

31 Oct 20:55
Compare
Choose a tag to compare

Fixes

  • Fix #35: import error when trying to import fastapi_users.db when optional mongodb/sqlalchemy depencies are not installed. Thanks @erkandem!

Improvements

v0.3.0

29 Oct 12:51
Compare
Choose a tag to compare

New features

Breaking changes

  • SQLAlchemy users should install the library with the associated optional dependencies: pip install fastapi-users[sqlalchemy]. [Documentation]

v0.2.0

25 Oct 06:40
Compare
Choose a tag to compare

New features

Breaking changes

  • on_after_forgot_password event handler is now declared using a decorator. [Documentation]

v0.1.0

20 Oct 08:41
Compare
Choose a tag to compare

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

➡️ Read the documentation