μMongo v3.0.0.b14 Release Notes
Release Date: 2020-12-08 // over 3 years ago-
🔋 Features:
- Provide
Instance
subclasses for each framework to help users migrating a database from umongo 2 to umongo 3 (see #319). - Backwards-incompatible: Postpone embedded document resolution in
EmbeddedField
to allow passing an embedded document as string before its registration. Unknown embedded document errors inEmbeddedField
are now detected at runtime, not registration time. Also, indexes are now collected on first use rather than upon registration and should be accesses throughDocument.indexes
cached property rather thanDocument.opts.indexes
. (see #322) - Backwards-incompatible: Make
BaseSchema
ordered. This fixes querying on embedded documents. MakeBaseMarshmallowSchema
ordered as well. (see #323) - Backwards-incompatible: Make
RemoveMissingSchema
opt-out. By default, generated pure marshmallow schemas now skip missing values fromDocument
instances rather that returningNone
. This can be changed by settingMA_BASE_SCHEMA_CLS
. (see #325)
- Provide