Skip to content

Releases: BeanieODM/beanie

1.27.0

07 Oct 17:49
fb32f59
Compare
Choose a tag to compare

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

1.26.0

01 May 19:47
51e73eb
Compare
Choose a tag to compare

Feature: soft delete

Update deprecated call of general_plain_validator_function (#676)

Annotate decorators that wrap document methods (#679)

Update relations docs to indicate that backlinks are virtual.

Docs: fix typo (#869)

Add possibility of leveraging enum in find query

Handle typeerror in validator of pydanticobjectid

1.25.0

25 Jan 05:53
72b35f9
Compare
Choose a tag to compare

Encode Date Objects

Fix: Findinterface Type-Hints Break On View Models

Fix: Count With Text Queries And Links

Update Migration Command To Enable/Disable Transactions

Sync Method

Limit Nesting Level Of Linked Documents

WARNING: This is a breaking change. Please, read the docs before updating.

1.24.0

24 Dec 23:33
f2e1439
Compare
Choose a tag to compare

Exclude revision_id From The get_changes Method

Add Support For Custom Bucket Fields In Time Series

Add Bson Maxkey And Minkey

Update Model During Save Validation

Fix init_beanie document_models Type Hint

Fix Encoding Keys In Mapping Branch Of Encoder

Improve Write Performances

Doc Update: Queue

Tests For Indexed Fields

Rework Revision

Add Missing Type Signature To Document Constructor

1.23.6

13 Nov 03:49
6864b36
Compare
Choose a tag to compare

Fix Multiprocessing Mode

1.23.5

13 Nov 03:26
f9f96a9
Compare
Choose a tag to compare

Multiprocessing Mode For Init

1.23.4

12 Nov 23:20
bc854e7
Compare
Choose a tag to compare

Args For get_model_dump

1.23.3

11 Nov 01:13
8ae7ae0
Compare
Choose a tag to compare

Fix Id Notation

1.23.2

09 Nov 04:30
dbfc729
Compare
Choose a tag to compare

Fix Aggregations With Text Queries

Handle Annotated Indexes

Fix Docstring

Build Aggregation Pipeline From Find Query Without Fetch

1.23.1

24 Oct 03:51
5d1e91e
Compare
Choose a tag to compare

Fix: Issue #631

Replace Custom 'Hidden=True' Field Attribute With Builtin 'Exclude=True'

Add Support For Indexed Custom Pydantic Fields