github BeanieODM/beanie 1.27.0

12 hours ago

This is Beanie's first-ever community release! A big thanks to @roman-right and all the other contributors who made this possible!

What's Changed

Add tests on all major mongo version

Fix return type from document update

Fix expression type hint not allowing some type #1020

Fix type hint using pymongo client session instead of motor client session

Fix logical operator typing #1000

Use session in document insert

Use sequence instead of list in init_beanie

Replace deprecated datetime.utcnow with datetime.now

Fix uniondoc type hint missing in init_beanie and on findinterface

Add test to ensure dict with enum keys are encoded properly

Project publishing instruction + changelog generation script

Revert project publishing gh action

Extend motor option to beanie

Fix regex storing

Remove links to ko-fi from the project

Fix typo in source code comment in inheritance.md

Fix gh action to grant permissions and use tags

Fix: example of find by id and link to finding-documents

Fix incorrect type serialization when dumping to python

Use ruff format instead of black

Gh action: set new version and publish on push

Feature / fix: allow settings to be inherited and extended (fixes #644)

Fix: issue #951

Allow unordered parameter on bulkwriter

Fix: set default value in findinterface._inheritance_inited to avoid …

Fix example in multi-model.md

Add missing type signature to basefindcomparisonoperator constructor

Removed calls to function causing deprecation warning where possible

Update migrations.md

New Contributors

Full Changelog: 1.26.0...1.27.0

Don't miss a new beanie release

NewReleases is sending notifications on new releases.