Releases: BeanieODM/beanie
Releases · BeanieODM/beanie
1.29.0
Note
This release fixes a regression introduced in Version 1.28.0 that caused errors with the generated JSON Schema. Shout-out to @staticxterm for helping us resolve the issue.
What's Changed
- fix:
Owner
model missing ininit_beanie
in Inheritance documentation's Inserts example by @ksayer in #1090 - Add coverage configuration to pyproject.toml by @staticxterm in #1091
- Make
diacritic_sensitive
parameter optional to support $text operator on Cosmos DB by @mykolaskrynnyk in #1089 - Fix serialization of Link/BackLink and OpenAPI schema generation by @staticxterm in #1080
- Bulk Writer improving & bulk_writer method for document and possibility to bypass mongo document validation + comment parameter by @CAPITAINMARVEL in #1079
- Use strings to specify MongoDB versions in CI by @Viicos in #1094
- Add tests with case of {id} in fastapi path by @dantetemplar in #1100
New Contributors
- @ksayer made their first contribution in #1090
- @staticxterm made their first contribution in #1091
- @mykolaskrynnyk made their first contribution in #1089
- @Viicos made their first contribution in #1094
- @dantetemplar made their first contribution in #1100
Full Changelog: 1.28.0...1.29.0
1.28.0
Breaking
Drops support for Python 3.7
What's Changed
- Handle limit and session in .count() method by @CAPITAINMARVEL in #1040
- Add DocumentDB compatibility to fetch_links by @whitfin in #1042
- Drop support for Python 3.7 by @07pepa in #1044
- update pre-commit by @07pepa in #1046
- fix issues caused by #1044 by @07pepa in #1053
- modify tests to not raise deprecation warnings by @07pepa in #1047
- Fix kwargs/args untyped by @CAPITAINMARVEL in #1049
- Fix PydanticObjectId fields being parsed into str by @07pepa in #1060
- add python 3.13 and JIT into testing by @07pepa in #1051
- Add missing type hint to
find_many_in_all
method by @vasuman in #1068 - feat(skip_index): possibility added to skip index actions by @jorma16 in #942
New Contributors
- @whitfin made their first contribution in #1042
- @vasuman made their first contribution in #1068
- @jorma16 made their first contribution in #942
Full Changelog: 1.27.0...1.28.0
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