Release Notes for 2.13.0
Feature release (minor)
Highlights
- New Vector field type and
$vectorSearch
aggregation builder - New UUID field type using Symfony UID component
- Fix field name mapping when querying embedded fields
2.13.0
- Total issues resolved: 4
- Total pull requests resolved: 21
- Total contributors: 7
Bug
- 2844: Use double-quotes for array-shape annotations, as PHPStorm does not understand single-quotes thanks to @GromNaN
Enhancement
- 2857: Validate
filter
andqueryVector
parameter in$vectorSearch
stage builder thanks to @GromNaN - 2855: Document methods
Type::closureToMongo()
andclosureToPHP()
thanks to @GromNaN - 2829: Add test on Atlas Search features using an MongoDB Atlas Local Docker thanks to @GromNaN
Feature
- 2854: Add field type for Binary vectors thanks to @GromNaN
- 2841: Add an assertion on missing search index when a
$search
or$vectorSearch
pipeline returns an empty result thanks to @GromNaN - 2831: Prepare field names for search indexes and vector search indexes thanks to @GromNaN
- 2830: Add
SchemaManager::waitForSearchIndexes()
thanks to @GromNaN - 2827: Support dot syntax when preparing nested query values thanks to @alcaeus and @o10g
- 2826: Support symfony UUID thanks to @alcaeus
- 2822: PHPORM-382 Add $vectorSearch stage to the aggregation builder thanks to @GromNaN
- 2820: PHPORM-381 Add class metadata for vector search indexes thanks to @GromNaN
- 2815: Enable optimistic locking using an
ObjectId
as version field thanks to @GromNaN
Documentation
- 2856: Add an example for using the
compound
search operator thanks to @GromNaN - 2846: Documentation for Vector Search thanks to @GromNaN
Task
- 2859: Randomize the collection name to avoid collisions when search indexes are created or dropped asynchronously thanks to @GromNaN
- 2853: Fix test on using a Binary vector in the
$vectorSearch
aggregation thanks to @GromNaN - 2849: Use docs-builder package for building docs thanks to @paulinevos
- 2839: Always ignore missing generic type for
ClassMetadata
andDocumentPersister
thanks to @GromNaN - 2816: Fix duplicate slug in .doctrine-project.json thanks to @GromNaN
- 2823: Deprecate
Stage::search()
because the$search
stage must be the first of the pipeline thanks to @GromNaN