doctrine/mongodb
Abandoned by its maintainers. Doctrine MongoDB Abstraction Layer
1.6.4
11M downloads/mo
#3544 most downloaded on Packagist
doctrine/mongodb
What this package is like to depend on
Last release 7 years ago
no release in 18 months
Ships fairly regularly
a new release about every 4 months
Some releases are documented
notes for 10 of 32 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
35 releases · first in 2012
0 releases in the last 12 months
see the full history below
Release timeline
35 releases · Aug 2012 to Jul 2019Releases
latest 35-
1.6.411 Jul 2019Release notes
Open source →1.6.4
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
bug
-
1.6.320 Jul 2018Release notes
Open source →We are happy to announce the immediate availability of Doctrine MongoDB Abstraction Layer 1.6.3.
Bug fixes in this release
This release fixes a bug with the
popFirstandpopLastmethods inExprwhich causes the wrong elements to be removed.A full list of issues and pull requests included in this release may be found in the 1.6.3 milestone.
PHP version support
This library requires PHP 5.6 or newer. If you are using PHP 7.0 or newer, you can use this library by adding a polyfill for
ext-mongo, like mongo-php-adapter. -
1.6.230 Apr 2018Release notes
Open source →We are happy to announce the immediate availability of Doctrine MongoDB Abstraction Layer 1.6.2.
Bug fixes in this release
This release fixes a bug when uploading GridFS files when the read preference on the collection has been set to
secondaryorsecondaryPreferred.A full list of issues and pull requests included in this release may be found in the 1.6.2 milestone.
PHP version support
This library requires PHP 5.6 or newer. If you are using PHP 7.0 or newer, you can use this library by adding a polyfill for
ext-mongo, like mongo-php-adapter. -
1.6.109 Oct 2017Release notes
Open source →We are happy to announce the immediate availability of Doctrine MongoDB Abstraction Layer 1.6.1.
Bug fixes in this release
This release fixes a bug with empty
$matchstages in aggregation builder and fixes the generated pipeline stage for$bucketAutoaggregation pipeline stages.A full list of issues and pull requests included in this release may be found in the 1.6.1 milestone.
PHP version support
This library requires PHP 5.6 or newer. If you are using PHP 7.0 or newer, you can use this library by adding a polyfill for
ext-mongo, like mongo-php-adapter. -
1.6.009 Aug 2017Release notes
Open source →We are happy to announce the immediate availability of Doctrine MongoDB Abstraction Layer 1.6.0.
Bug fixes in this release
This release fixes a BC break introduced in 1.5.0 which prevented correct conversion of expression object within aggregation builder stages.
A full list of issues and pull requests included in this release may be found in the 1.6.0 milestone.
PHP version support
This library requires PHP 5.6 or newer. If you are using PHP 7.0 or newer, you can use this library by adding a polyfill for
ext-mongo, like mongo-php-adapter. -
1.5.030 Jun 2017Release notes
Open source →We are happy to announce the immediate availability of Doctrine MongoDB Abstraction Layer 1.5.0.
Release highlights
Aggregation builder
This release adds support for aggregation pipeline changes introduced in MongoDB. Details can be found in the changelog.
Bug fixes in this release
Notable fixes may be found in the changelog. A full list of issues and pull requests included in this release may be found in the 1.5.0 milestone.
PHP version support
This library requires PHP 5.6 or newer. If you are using PHP 7.0 or 7.1, you can use this library by adding a polyfill for
ext-mongo, like mongo-php-adapter. -
1.4.022 Nov 2016Release notes
Open source →We are happy to announce the immediate availability of Doctrine MongoDB Abstraction Layer 1.4.0.
Release highlights
Passing context options to the driver
With this release it's possible to pass driver options to the connection class, which will then be passed on to the MongoDB driver. For example, to pass a stream context with SSL context options, you could use the following code snippet:
$context = stream_context_create([ 'ssl' => [ 'allow_self_signed' => false, ] ]); $connection = new \Doctrine\MongoDB\Connection(null, [], null, null, ['context' => $context]);
Passing multiple expressions to logical operators
The
addAnd,addNorandaddOrmethods in the query and aggregation builders now take multiple expression objects. Instead of having to call the method repeatedly, you may call it once with multiple arguments:// Before $builder ->addAnd($someExpression) ->addAnd($otherExpression); // After $builder->addAnd($someExpression, $otherExpression);
Deprecations
The
updateandmultiplemethods in the query have been deprecated in favor ofupdateOneandupdateMany. These deprecations help people using ODM prepare for the next version of ODM which will utilize the new MongoDB library API.Bug fixes in this release
Notable fixes may be found in the changelog. A full list of issues and pull requests included in this release may be found in the 1.4.0 milestone.
PHP version support
With this release, we have dropped support for PHP 5.5. Users using PHP 5.5 or older are encouraged to upgrade to a newer PHP version. If you are using PHP 7.0 or 7.1, you can use this library by adding a polyfill for
ext-mongo, like mongo-php-adapter. -
1.3.019 Mar 2016Release notes
Open source →This release drops compatibility with PHP 5.3 and PHP 5.4 and requires
ext-mongo>= 1.5. Older driver versions are no longer supported.Pull requests completed for the 1.3.0 release:
- #227: Specify time limit operation on a mongodb cursor
- #233: Allow Event Listeners the ability to modify context information in the event
preFindAndRemove, preFindAndUpdate, preFindOne, preGetDBRef, preGroup, preInsert, preMapReduce, preNear, preRemove, postRemove, preSave, preUpdate, postUpdate - #234: Add support for
$commentoperator - #235: Add support for
$setOnInsertoperator - #238: Bump PHP and mongo version requirements
- #240: Add new MongoDB 3.2 features to aggregation builder
- #241: Add query operators introduced with MongoDB 3.2
query builder - #251: Corrected fluent interface docblocks
- #255: Add expr method to aggregation expression object
- #256: Allow using operators in group stages
-
1.2.219 Mar 2016Release notes
Open source →Pull requests completed for the 1.2.2 release:
- #250: Fix wrong syntax for dateToString operator
-
1.2.124 Nov 2015 -
1.2.018 Aug 2015Nothing published for this version
-
1.1.825 Feb 2015Nothing published for this version
-
1.1.730 Jan 2015Nothing published for this version
-
1.1.629 Apr 2014Nothing published for this version
-
1.1.528 Mar 2014Nothing published for this version
-
1.1.428 Mar 2014Nothing published for this version
-
1.1.327 Mar 2014Nothing published for this version
-
1.1.209 Jan 2014Nothing published for this version
-
1.1.105 Dec 2013Nothing published for this version
-
1.1.002 Dec 2013Nothing published for this version
-
1.0.1124 Feb 2015Nothing published for this version
-
1.0.1030 Jan 2015Nothing published for this version
-
1.0.929 Apr 2014Nothing published for this version
-
1.0.828 Mar 2014Nothing published for this version
-
1.0.728 Mar 2014Nothing published for this version
-
1.0.627 Mar 2014Nothing published for this version
-
1.0.509 Jan 2014Nothing published for this version
-
1.0.401 Nov 2013Nothing published for this version
-
1.0.323 Apr 2013Nothing published for this version
-
1.0.216 Jan 2013Nothing published for this version
-
1.0.110 Jan 2013Nothing published for this version
-
1.0.019 Dec 2012Nothing published for this version
-
1.0.0-BETA305 Dec 2012 pre-releaseNothing published for this version
-
1.0.0-BETA205 Dec 2012 pre-releaseNothing published for this version
-
1.0.0-BETA102 Aug 2012 pre-releaseNothing published for this version