μMongo v3.0.0.b8 Release Notes

Release Date: 2020-07-22 // over 1 year ago
  • 🔋 Features:

    • 👀 Let Document inherit from EmbeddedDocument (see #266).

    • ➕ Add MixinDocument allowing Document and EmbeddedDocument 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 of BaseInstance.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).