All Versions
49
Latest Version
Avg Release Cycle
42 days
Latest Release
989 days ago

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)
  • v3.0.0.b12 Changes

    November 16, 2020

    🔋 Features:

    • Backwards-incompatible: Rework Instance: merge BaseInstance, Instance and LazyLoaderInstance into a single abstract Instance class. Remove templates argument from Instance. Rename Instance.init to Instance.set_db. Don't republish concrete framework instances in umongo top module. (see #314)
    • ➕ Add session context manager to PyMongoInstance and MotorAsyncIOInstance. This allows to use session related features (causally consistent reads, transactions) from umongo. (see #315)
  • v3.0.0.b11 Changes

    November 06, 2020

    🔋 Features:

    • Backwards-incompatible: Allow setting arbitrary attributes on Document and EmbeddedDocument 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 to commit 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).
  • v3.0.0.b10 Changes

    October 12, 2020

    🔋 Features:

    • 👍 Allow passing Document and EmbeddedDocument in queries. (see #303)
  • 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 provides NaiveDateTimeField and AwareDateTimeField. (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: pass filter as first positional argument (see #215).

    Other changes:

    • 👌 Support Python 3.8 (see #210).
  • v2.1.1 Changes

    October 04, 2019

    🐛 Bug fixes:

    • 🛠 Fix ObjectId bonus field: catch TypeError when deserializing (see #207).
  • v2.1.0 Changes

    June 19, 2019

    🔋 Features:

    • ➕ Add support for motor 2.+ by adding a count_documents class method to the MotorAsyncIODocument 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 by MotorAsyncIODocument.find strictly adheres to the interface provided by the underlying driver.
  • v2.0.5 Changes

    June 13, 2019

    🐛 Bug fixes:

    • 👀 Ensure Reference and GenericReference fields round-trip (see #200).