All Versions
49
Latest Version
Avg Release Cycle
42 days
Latest Release
1167 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v3.0.0.b13 Changes
November 23, 2020🐛 Bug fixes:
- 🛠 Fix a bug introduced in 3.0.0b12 preventing instance initialization with DB
as parameter as in
instance = PyMongoInstance(db)
. (see #318)
- 🛠 Fix a bug introduced in 3.0.0b12 preventing instance initialization with DB
as parameter as in
-
v3.0.0.b12 Changes
November 16, 2020🔋 Features:
- Backwards-incompatible: Rework
Instance
: mergeBaseInstance
,Instance
andLazyLoaderInstance
into a single abstractInstance
class. Removetemplates
argument fromInstance
. RenameInstance.init
toInstance.set_db
. Don't republish concrete framework instances inumongo
top module. (see #314) - ➕ Add
session
context manager toPyMongoInstance
andMotorAsyncIOInstance
. This allows to use session related features (causally consistent reads, transactions) from umongo. (see #315)
- Backwards-incompatible: Rework
-
v3.0.0.b11 Changes
November 06, 2020🔋 Features:
- Backwards-incompatible: Allow setting arbitrary attributes on
Document
andEmbeddedDocument
instances. This change is part of a refactor meant to simplify set / get / delete operations on document objets and (marginally) improve performance. (see #272) - 👉 Use structured information provided with
DuplicateKeyError
rather than parse the error message string (see #309). - ➕ Add
replace
argument tocommit
method to force writing the whole document rather than updating (see #310).
Other changes:
- 👌 Support Python 3.9 (see #311).
- Backwards-incompatible: Drop motor<2.0.0 support (see #312).
- Backwards-incompatible: Drop MongoDB<4.2 support (see #313).
- Backwards-incompatible: Allow setting arbitrary attributes on
-
v3.0.0.b10 Changes
October 12, 2020🔋 Features:
- 👍 Allow passing
Document
andEmbeddedDocument
in queries. (see #303)
- 👍 Allow passing
-
v3.0.0.b1 Changes
March 29, 2020🔋 Features:
- 👌 Support marshmallow 3 (see #154).
- All field parameters beginning with
"marshmallow_"
are passed to the marshmallow schema, rather than only a given list of known parameters. (see #228)
Other changes:
- Backwards-incompatible: Drop support for marshmallow 2. See marshmallow upgrading guide for a comprehensive list of changes. (see #154)
- Backwards-incompatible:
StrictDateTimeField
is removed as marshmallow now providesNaiveDateTimeField
andAwareDateTimeField
. (see #154) - Backwards-incompatible:
default
shall now be provided in deserialized form. (see #154)
-
v2.3.0 Changes
September 06, 2020🔋 Features:
- ➕ Add support for motor 2.2 (see #294).
-
v2.2.0 Changes
December 18, 2019🐛 Bug fixes:
- 🛠 Fix
find
/find_one
: passfilter
as first positional argument (see #215).
Other changes:
- 👌 Support Python 3.8 (see #210).
- 🛠 Fix
-
v2.1.1 Changes
October 04, 2019🐛 Bug fixes:
- 🛠 Fix
ObjectId
bonus field: catchTypeError
when deserializing (see #207).
- 🛠 Fix
-
v2.1.0 Changes
June 19, 2019🔋 Features:
- ➕ Add support for motor 2.+ by adding a
count_documents
class method to theMotorAsyncIODocument
class.count_documents
attempts to transparently use the correct motor call signature depending on which version of the driver is installed. Note that the behavior of the cursor object returned byMotorAsyncIODocument.find
strictly adheres to the interface provided by the underlying driver.
- ➕ Add support for motor 2.+ by adding a
-
v2.0.5 Changes
June 13, 2019🐛 Bug fixes:
- 👀 Ensure
Reference
andGenericReference
fields round-trip (see #200).
- 👀 Ensure