Fix | August 2023
Fixed Issues:
- [BUG] Issue with
List[Link[Type]]
whenfetch_all_links
is called - Loosen type requirement for
insert_many()
? - [BUG] Updating documents with a frozen BaseModel as field raises TypeError
- [BUG] Not operator cant be on top level
- [BUG]
Text
query doesn't work withfetch_links=True
- [BUG] List type fields in updated model record do not get update.
- [BUG] Undefined behavior when chaining update methods
- [BUG] Revision Id is in Responsemodel
- [BUG] Custom types like bson.Binary require
__get_pydantic_core_schema__
- [BUG]
validate_on_save
doesn't work withDocument.save()
- [BUG] Beanie persists
root
field - Beanie 1.21 still triggers many deprecation warnings with Pydantic v2
- [BUG] TypeError: expected 1 argument, got 0 when beanie.Document has method wrapped in pydantic.validate_call