-
-
Notifications
You must be signed in to change notification settings - Fork 514
Merge release 2.13.0 into 3.0.x #2863
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Parent:
compat with 3.0 annotations
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enable code analysis in PHPStorm
Support custom type for optimistic locking
Merge release 2.12.1 into 2.13.x
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v5...v6) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* PHPORM-381 Add class metadata for vector search indexes * Test SchemaManager with vector search * Document the #[VectorSearchIndex] attribute * Copilot review
… of the pipeline (#2823)
* Add new type for Symfony UUIDs * Add UUID type to type class * Don't transform PHP UUIDs again * Support generating Symfony UUID objects in AUTO generator * Deprecate string-based UUID generator * Add documentation around UUIDs * Apply Copilot review feedback * Unify logic in binary uuid type * Apply code review feedback * Undo type conditional change to fix errors * Add documentation around UUID generator deprecation * Link to Symfony UID component * Explain deprecation of UUID generator in docs * Simplify ID generator docblocks * Fix ObjectId check when using auto generation * Use InvalidArgumentException in type
…#2829) | Q | A |------------- | ----------- | Type | improvement | BC Break | no | Fixed issues | [PHPORM-390](https://jira.mongodb.org/browse/PHPORM-390) - Run Atlas tests with MongoDB Atlas Local - Add integration test for Vector Search - Add integration test for Search The `configureFailPoint` command is not available in Atlas Local. I mark the tests as skipped instead of adding a group to exclude them from atlas.
* Ignore PHPStan errors for unused properties in document classes * Remove PHPStan baseline errors due to ext-mongodb 1.x * Hide property.onlyRead and onlyWritten errors for Document classes
* Fix return type of compound search operators * Improve array type for geometries
Merge release 2.12.2 into 2.13.x
…aggregations (#2831) Map field names in search and vector search index definitions. Since the $search and $vectorSearch stages must always be first, we know there is no field name mapped from a previous stage.
…nderstand single-quotes (#2844)
Bumps [doctrine/.github](https://github.com/doctrine/.github) from 7.3.0 to 8.0.0. - [Release notes](https://github.com/doctrine/.github/releases) - [Commits](doctrine/.github@7.3.0...8.0.0) --- updated-dependencies: - dependency-name: doctrine/.github dependency-version: 8.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Support dot syntax when preparing nested query values * Refactor query element preparation for more consistency * Address code review feedback * Add tests and fix preparation of positional operators * Fix preparation of references in queries * Update PHPStan baseline * Narrow type for value when preparing persistent collection
…Search` pipeline returns an empty result (#2841)
Bumps [doctrine/.github](https://github.com/doctrine/.github) from 8.0.0 to 10.1.0. - [Release notes](https://github.com/doctrine/.github/releases) - [Commits](doctrine/.github@8.0.0...10.1.0) --- updated-dependencies: - dependency-name: doctrine/.github dependency-version: 10.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add a note about the required index for $search and $vectorSearch stages * Add Vector Search tutorial
… are created or dropped asynchronously (#2859)
Merge 2.12.x into 2.13.x
Bumps [doctrine/.github](https://github.com/doctrine/.github) from 10.1.0 to 12.0.0. - [Release notes](https://github.com/doctrine/.github/releases) - [Commits](doctrine/.github@10.1.0...12.0.0) --- updated-dependencies: - dependency-name: doctrine/.github dependency-version: 12.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
GromNaN
approved these changes
Oct 20, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Release Notes for 2.13.0
Feature release (minor)
2.13.0
Bug
Enhancement
filterandqueryVectorparameter in$vectorSearchstage builder thanks to @GromNaNType::closureToMongo()andclosureToPHP()thanks to @GromNaNDocumentation
compoundsearch operator thanks to @GromNaNFeature
$searchor$vectorSearchpipeline returns an empty result thanks to @GromNaNSchemaManager::waitForSearchIndexes()thanks to @GromNaNObjectIdas version field thanks to @GromNaNTask
2853: Fix test on using a Binary vector in the
$vectorSearchaggregation thanks to @GromNaN2849: Use docs-builder package for building docs thanks to @paulinevos
2839: Always ignore missing generic type for
ClassMetadataandDocumentPersisterthanks to @GromNaN2816: Fix duplicate slug in .doctrine-project.json thanks to @GromNaN
2823: Deprecate
Stage::search()because the$searchstage must be the first of the pipeline thanks to @GromNaN