Releases: BeanieODM/beanie
Releases · BeanieODM/beanie
1.27.0
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
- Author - CAPITAINMARVEL
- PR #1030
Fix expression type hint not allowing some type #1020
- Author - CAPITAINMARVEL
- PR #1023
Fix type hint using pymongo client session instead of motor client session
- Author - CAPITAINMARVEL
- PR #1022
Fix logical operator typing #1000
- Author - janas-adam
- PR #1021
Use session in document insert
- Author - andraghetti
- PR #1018
Use sequence instead of list in init_beanie
Replace deprecated datetime.utcnow with datetime.now
- Author - adeelsohailahmed
- PR #1014
Fix uniondoc type hint missing in init_beanie and on findinterface
- Author - CAPITAINMARVEL
- PR #1007
Add test to ensure dict with enum keys are encoded properly
- Author - adeelsohailahmed
- PR #1001
Project publishing instruction + changelog generation script
- Author - roman-right
- PR #998
Revert project publishing gh action
- Author - roman-right
- PR #996
Extend motor option to beanie
Fix regex storing
Remove links to ko-fi from the project
- Author - roman-right
- PR #986
Fix typo in source code comment in inheritance.md
Fix gh action to grant permissions and use tags
- Author - roman-right
- PR #972
Fix: example of find by id and link to finding-documents
- Author - fredowashere
- PR #970
Fix incorrect type serialization when dumping to python
Use ruff format instead of black
- Author - roman-right
- PR #962
Gh action: set new version and publish on push
- Author - roman-right
- PR #961
Feature / fix: allow settings to be inherited and extended (fixes #644)
Fix: issue #951
- Author - IterableTrucks
- PR #952
Allow unordered parameter on bulkwriter
- Author - thiagosalvatore
- PR #948
Fix: set default value in findinterface._inheritance_inited to avoid …
- Author - Robert-Nogueira
- PR #935
Fix example in multi-model.md
Add missing type signature to basefindcomparisonoperator
constructor
- Author - aaronted009
- PR #925
Removed calls to function causing deprecation warning where possible
Update migrations.md
- Author - marwan-alloreview
- PR #915
New Contributors
- @aaronted009 made their first contribution in #925
- @gianpaj made their first contribution in #932
- @Robert-Nogueira made their first contribution in #935
- @thiagosalvatore made their first contribution in #948
- @07pepa made their first contribution in #968
- @fnogatz made their first contribution in #984
- @dotKokott made their first contribution in #960
- @fredowashere made their first contribution in #970
- @marwan-alloreview made their first contribution in #915
- @CAPITAINMARVEL made their first contribution in #1007
- @janas-adam made their first contribution in #1021
- @andraghetti made their first contribution in #1018
- @Dudesons made their first contribution in #995
- @adeelsohailahmed made their first contribution in #1014
Full Changelog: 1.26.0...1.27.0
1.26.0
Feature: soft delete
- Author - Ali Moradi
- PR #901
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.
- Author - Josh Borrow
- PR #904
Docs: fix typo (#869)
- Author - Valentin Oliver Loftsson
- PR #899
Add possibility of leveraging enum in find query
Handle typeerror in validator of pydanticobjectid
- Author - Christian Grotheer
- PR #861
1.25.0
Encode Date Objects
- Author - George Sakkis
- PR #816
Fix: Findinterface Type-Hints Break On View Models
- Author - Guy Tsitsiashvili
- PR #819
Fix: Count With Text Queries And Links
- Author - Benjamin Earle
- PR #826
Update Migration Command To Enable/Disable Transactions
- Author - Mahmoud Mabrouk
- PR #828
Sync Method
- Author - Roman Right
- PR #831
Limit Nesting Level Of Linked Documents
WARNING: This is a breaking change. Please, read the docs before updating.
- Author - Roman Right
- PR #834
1.24.0
Exclude revision_id From The get_changes Method
- Author - Roman Right
- PR #759
Add Support For Custom Bucket Fields In Time Series
- Author - Lucas Hardt
- PR #760
Add Bson Maxkey And Minkey
Update Model During Save Validation
- Author - Roman Right
- PR #776
Fix init_beanie document_models Type Hint
- Author - Capi Etheriel
- PR #784
Fix Encoding Keys In Mapping
Branch Of Encoder
Improve Write Performances
- Author - Thibault Djaballah
- PR #786
Doc Update: Queue
- Author - Roman Right
- PR #794
Tests For Indexed Fields
- Author - Roman Right
- PR #795
Rework Revision
- Author - Roman Right
- PR #797
Add Missing Type Signature To Document
Constructor
1.23.6
Fix Multiprocessing Mode
- Author - Roman Right
- PR #782
1.23.5
Multiprocessing Mode For Init
- Author - Roman Right
- PR #781
1.23.4
Args For get_model_dump
- Author - Roman Right
- PR #780
1.23.3
Fix Id Notation
- Author - Roman Right
- PR #772
1.23.2
Fix Aggregations With Text Queries
- Author - Benjamin Earle
- PR #752
Handle Annotated Indexes
- Author - Benjamin Earle
- PR #762
Fix Docstring
- Author - Andrew Grinevich
- PR #766
Build Aggregation Pipeline From Find Query Without Fetch
- Author - Roman Right
- PR #770
1.23.1
Fix: Issue #631
- Author - IterableTrucks
- PR #734
Replace Custom 'Hidden=True' Field Attribute With Builtin 'Exclude=True'
- Author - George Sakkis
- PR #741