μMongo v3.0.0.b6 Release Notes
Release Date: 2020-05-04 // almost 4 years ago-
🔋 Features:
Backwards-incompatible:
abstract
inEmbeddedDocument
behaves consistently withDocument
. The_cls
/cls
field is only added on concrete embedded documents subclassing concrete embedded documents. AndEmbeddedField
only accepts concrete embedded documents. (see #86)Document
andEmbeddedDocument
may inherits from mixin classes. The mixin class should appear first (leftmost) in the bases:class MyDocument(MyMixin, Document)
. (see #188)
Other changes:
- Backwards-incompatible: marshmallow imports throughout the code are done as
import marshmallow as ma
. For convenience,missing
andValidationError
can still be imported asumongo.missing
andumongo.ValidationError
.