Skip to content

Releases: fastapi-users/fastapi-users-db-beanie

v3.0.0

27 Jun 13:40
v3.0.0
eedd103
Compare
Choose a tag to compare

Bump version 2.0.0 → 3.0.0

Breaking changes

  • Drop Python 3.7 support

v2.0.0

14 Apr 13:43
v2.0.0
5328ef2
Compare
Choose a tag to compare

Bump version 1.1.4 → 2.0.0

Breaking changes

  • BeanieBaseUser and BeanieBaseAccessToken are now pure mixins and doesn't inherit Document by default. This change was made to avoid Beanie from creating duplicate collections in your database. You now need to inherit from Document yourself when declaring your model.
  • BeanieBaseUser now only supports PydanticObjectId as ID type.

BEFORE

class User(BeanieBaseUser[PydanticObjectId]):
    pass

AFTER

class User(BeanieBaseUser, Document):
    pass

BEFORE

class AccessToken(BeanieBaseAccessToken[PydanticObjectId]):
    pass

AFTER

class AccessToken(BeanieBaseAccessToken, Document):
    pass

Bug fixes

  • Fix support for Beanie >= 0.18.

v1.1.4

24 Jan 10:35
v1.1.4
d380a5b
Compare
Choose a tag to compare

Bump version 1.1.3 → 1.1.4

Improvements

  • Bump dependencies
    • beanie >=1.11.0,<2.0.0

v1.1.3

16 Jan 09:44
v1.1.3
8577fd1
Compare
Choose a tag to compare

Bump version 1.1.2 → 1.1.3

Improvements

  • Enable Python 3.11 support
  • Bump dependencies:
    • beanie >=1.11.0,<1.17

v1.1.2

25 Oct 06:59
v1.1.2
217b1d3
Compare
Choose a tag to compare

Bump version 1.1.1 → 1.1.2

Improvements

  • Bump dependencies:
    • beanie >=1.11.0,<1.14

v1.1.1

27 Jun 10:00
347e9ec
Compare
Choose a tag to compare

Bug fixes and improvements

  • Fix #2 Beanie depreciation warning: base model now uses Settings metaclass instead of Collection. Thanks @vittoriozamboni 🎉
  • Fix warning during unit tests in Python 3.10. Thanks @vittoriozamboni 🎉

v1.1.0

25 May 14:14
9ca6d87
Compare
Choose a tag to compare

Improvements

  • Bump dependencies: