2.6.0
版本发布时间: 2023-11-24 16:03:48
doctrine/mongodb-odm最新发布版本:2.9.0(2024-09-20 20:33:49)
Release Notes for 2.6.0
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.
2.6.0
-
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
Enhancement
- 2583: Support minDistance and maxDistance options for $near and $nearSphere operators thanks to @alcaeus and @AlexMinaev19
- 2554: Add sort operator to $search stage thanks to @alcaeus
- 2515: Drop support for PHP 7.4 thanks to @alcaeus
Feature
- 2569: Implement ObjectManager::isUninitializedObject thanks to @malarzm
- 2547: ReferenceMany: insert an empty array thanks to @khaperets
- 2514: Support new aggregation operators in builder thanks to @alcaeus
- 2513: Support new aggregation pipeline stages in builder thanks to @alcaeus
Task
- 2564: Use PHPUnit 10 thanks to @franmomu
- 2563: Support Symfony 7 by adding return types conditionally thanks to @franmomu
- 2560: Last PHP 8.1 chores thanks to @malarzm
- 2559: Drop support for symfony components <5.4 thanks to @malarzm
- 2558: feat: Symfony 7 support thanks to @kbond
- 2557: Remove unusable Match classes thanks to @malarzm
- 2556: Require PHP 8.1 thanks to @malarzm
- 2544: Cleanup thanks to @alcaeus