μMongo v3.0.0.b8 Release Notes
Release Date: 2020-07-22 // almost 4 years ago-
🔋 Features:
👀 Let
Document
inherit fromEmbeddedDocument
(see #266).➕ Add
MixinDocument
allowingDocument
andEmbeddedDocument
to inherit fields and pre/post methods from mixin objects. The mixin class should appear first (leftmost) in the bases:class MyDocument(MyMixin, Document)
. (see #278)Backwards-incompatible: Remove
as_attribute
argument ofBaseInstance.register
method. Documents can not be accessed by name as instance attributes anymore. (see #290)
🐛 Bug fixes:
- Fix passing
None
to a field with_required_validate
method (see #289).