Doctrine MongoDB ODM 1.1.2 and 1.0.8 released

Posted on October 7, 2016 by Andreas Braun


We are happy to announce the immediate availability of Doctrine MongoDB ODM 1.1.2 and 1.0.8.

MongoDB ODM 1.0.8

  • calling dropCollections() in the SchemaManager did not drop GridFS collections. #1468
  • calling clear() on an uninitialized collection with orphanRemoval enabled failed to remove orphaned documents. #1500 - Documents with identifiers evaluating to false (e.g. empty string or 0) could not be reference using createDBRef() in DocumentManager. #1503

MongoDB ODM 1.1.2

  • This release contains the bugfixes outlined for ODM 1.0.8 above

  • Querying for referenced objects in findBy() or findOneBy() did not work properly due to incorrect preparation of the DBRef objects. #1481

Installation

You can install the latest version using the following composer.json definitions:

{
    "require": {
        "doctrine/mongodb-odm": "^1.1.2"
    }
}

Support for Doctrine ODM 1.0.x

As outlined previously, support for MongoDB ODM 1.0.x will end on December 9th, 2016. If you have not upgraded to version 1.1 yet, please do so to receive future bug fixes.