All Versions
49
Latest Version
Avg Release Cycle
42 days
Latest Release
1948 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v2.0.4 Changes
May 28, 2019🐛 Bug fixes:
- Include modified
BaseDataObject
inBaseDataProxy.get_modified_fields
andBaseDataProxy.get_modified_fields_by_mongo_name
(see #195). - 👀 Always return a boolean in
List.is_modified
(see #195). List
: callset_modified
when deleting an element using thedel
builtin (see #195).
- Include modified
-
v2.0.3 Changes
April 10, 2019🐛 Bug fixes:
- 🛠 Fix millisecond overflow when milliseconds round to 1s in
StrictDateTimeField
(see #189).
- 🛠 Fix millisecond overflow when milliseconds round to 1s in
-
v2.0.2 Changes
April 10, 2019🐛 Bug fixes:
- 🛠 Fix millisecond overflow when milliseconds round to 1s in
DateTimeField
andLocalDateTimeField
(see #189).
- 🛠 Fix millisecond overflow when milliseconds round to 1s in
-
v2.0.1 Changes
March 25, 2019🐛 Bug fixes:
- 🛠 Fix deserialization of
EmbeddedDocument
containing fields overriding_deserialize_from_mongo
(see #186).
- 🛠 Fix deserialization of
-
v2.0.0 Changes
March 18, 2019🔋 Features:
- Backwards-incompatible:
missing
attribute is no longer used in umongo fields, onlydefault
is used.marshmallow_missing
andmarshmallow_default
attribute can be used to overwrite the value to use in the pure marshmallow field returned byas_marshmallow_field
method (see #36 and #107). - Backwards-incompatible:
as_marshmallow_field
does not passload_from
,dump_to
andattribute
to the pure marshmallow field anymore. It only passesvalidate
,required
,allow_none
,dump_only
,load_only
anderror_messages
, as well asdefault
andmissing
values inferred from umongo'sdefault
. Parameters prefixed withmarshmallow_
in the umongo field are passed to the pure marshmallow field and override their non-prefixed counterpart. (see #170) - Backwards-incompatible:
DictField
andListField
don't default to emptyDict
/List
. To keep old behaviour, passdict
/list
as default. (see #105) - Backwards-incompatible: Serialize empty
Dict
/List
as empty rather than missing (see #105). - Round datetimes to millisecond precision in
DateTimeField
,LocalDateTimeField
andStrictDateTimeField
to keep consistency between object and database representation (see #172 and #175). - ➕ Add
DateField
(see #178).
🐛 Bug fixes:
- 🛠 Fix passing a default value to a
DictField
/ListField
as a raw Pythondict
/list
(see #78). - 👀 The
default
parameter of a Field is deserialized and validated (see #174).
Other changes:
- 👌 Support Python 3.7 (see #181).
- Backwards-incompatible: Drop Python 3.4 support (see #176) and only use async/await coroutine style in asyncio framework (see #179).
- Backwards-incompatible:
-
v1.2.0 Changes
February 08, 2019- Add
Schema
cache toas_marshmallow_schema
(see #165). - ➕ Add
DecimalField
. This field only works on MongoDB 3.4+. (see #162)
- Add
-
v1.1.0 Changes
January 14, 2019- 🛠 Fix bug when filtering by id in a Document subclass find query (see #145).
- Fix getattr to allow copying and deepcopying Document and EmbeddedDocument (see #157).
- ➕ Add Document.clone() method (see #158).
-
v1.0.0 Changes
November 29, 2018- Raise
UnknownFieldInDBError
when an unknown field is found in database and not usingBaseNonStrictDataProxy
(see #121) - 🛠 Fix (non fatal) crash in garbage collector when using
WrappedCursor
with mongomock - 👀 Depend on pymongo 3.7+ (see #149)
- Pass
as_marshmallow_schema params
to nested schemas. Since this change, every field'sas_marshmallow_schema
method should expect unknown**kwargs
(see #101). - Pass params to container field in
ListField.as_marshmallow_schema
(see #150) - Add
meta
kwarg toas_marshmallow_schema
to pass adict
of attributes for the schema'sMeta
class (see #151)
- Raise
-
v0.15.0 Changes
August 15, 2017- ➕ Add
strict
option to (Embedded)DocumentOpts to allow loading of document with unknown fields from mongo (see #115) - 🛠 Fix fields serialization/deserialization when allow_none is True (see #69)
- 🛠 Fix ReferenceFild assignment from another ReferenceField (see #110)
- 🛠 Fix deletion of field proxied by a property (see #109)
- 🛠 Fix StrictDateTime bonus field: _deserialize does not accept datetime.datetime instances (see #106)
- ➕ Add force_reload param to Reference.fetch (see #96)
- ➕ Add
-
v0.14.0 Changes
March 03, 2017- 🛠 Fix bug in mashmallow tag handling (see #90)
- 🛠 Fix allow none in DataProxy.set (see #89)
- 👌 Support motor 1.1 (see #87)