The Official PHP MongoDB ORM/ODM
This release introduces support for transactions when calling DocumentManager::flush
.
doctrine/persistence
3 thanks to @franmomu2586: Transaction support thanks to @alcaeus
1888: Transaction support thanks to @Steveb-p
2502: Decouple AttributeDriver from AnnotationDriver thanks to @franmomu
doctrine/annotations
dependency optional thanks to @franmomu2.6.x bugfix release (patch)
2.6.x bugfix release (patch)
2.6.x bugfix release (patch)
This release adds a number of aggregation pipeline stages and operators to the aggregation builder. It now supports Atlas Search using the $search
aggregation pipeline stage, as well as the $densify
, $fill
, and $setWindowFields
stages.
Support for PHP 7.4 and PHP 8.0 has been dropped, and the library now requires PHP 8.1 or newer.
Total issues resolved: 3
Total pull requests resolved: 19
Total contributors: 7
2584: Deprecate DocumentRepository::clear thanks to @alcaeus and @TranquilCapybara16493
2579: Aggregation uses CursorInterface instead of Cursor thanks to @alcaeus
2517: Add $setWindowFields aggregation pipeline stage and window operators thanks to @alcaeus
2516: Add $search stage to aggregation pipeline builder thanks to @alcaeus
Query::__construct()
can not use an empty array as default value thanks to @phansys2.5.x bugfix release (patch)
UnitOfWork::clear()
thanks to @franmomu