μMongo v3.0.0.b9 Release Notes
Release Date: 2020-10-05 // over 3 years ago-
🔋 Features:
- ➕ Add support for motor 2.2 (see #294). (Picked from 2.3.0.)
- Backwards-incompatible: Add
ExposeMissing
context manager to returnmissing
rather thanNone
when dumping. ReplaceFromUmongoSchema
withRemoveMissingSchema
. This schema removes missing fields when dumping by usingExposeMissing
internally. Make this feature opt-in by requiring the user to specifyRemoveMissingSchema
asMA_BASE_SCHEMA_CLS
. (see #261) - Backwards-incompatible: Remove
mongo_world
parameter fromSchema.as_marshmallow_schema
. Schemas generated by this method are meant to (de)serialize umongo objects, notdict
straight from database. (see #299) - Backwards-incompatible: Remove
umongo.Schema
. Schemas should inherit fromumongo.abstract.BaseSchema
. ExposeRemoveMissingSchema
asumongo.RemoveMissingSchema
. (see #301)
Other changes:
- Backwards-incompatible: Drop Python 3.6 support (see #298).