-
-
Notifications
You must be signed in to change notification settings - Fork 515
Merge release 2.12.0 into 3.0.x #2809
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
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
* Upgrade to PHPStan 1.12 * Ensure we don't have phpstan deprecation * [doc] Set TKey type on Collection https://github.com/doctrine/collections/blob/2eb07e5953eed811ce1b309a7478a3b236f2273d/src/Collection.php#L29 * Upgrade to phpstan 2 * Run PHPStan on PHP 8.4 * PersistentCollections is not always present Path "tests/PersistentCollections" is neither a directory, nor a file path, nor a fnmatch pattern. If the excluded path can sometimes exist, append (?) to its config entry to mark it as optional. Example: parameters: excludePaths: analyseAndScan: - tests/PersistentCollections (?) * Keep type assertions even when type is declared * Use @param-out for by-reference parameter phpstan/phpstan#10823 * Set properties to null instead of unset, as property hooks could be used in child classes * Fix generic types * Fix property.unusedType on private collection property * Fix type of $visited parameter set by-reference, changed since we use spl_object_id * ReflectionProperty::isInitialized() is always available since PHP 8.4 * Ignore missingType.generics on UnitOfWork::$persisters It should be a class-string-map, but not supported by phpstan phpstan/phpstan#9521 * Don't check Metadata generic type * Ignore arguments.count error on method calls with variable name * Update baseline * Fix type of Profile::$profileId * Remove incorrect @throw annotation * Make Expr constructor final, as it is instanciated with new static
…2773) CommandSucceededEvent|CommandFailedEvent::getServer() has been deprecated in ext-mongodb 1.20 and removed in 2.0.0. For backward compatibility: we keep this method in MongoDB ODM, but throw an exception the extension is not compatible. I'm not adding a trigger_deprecation as this is already triggered by the extension method call. The new methods getPort() and getHost() are added as proxy to extension methods that are always available in the required ext-mongodb 1.21+. This is not covered by tests, I can add tests on CommandLogger before merging.
Bumps [doctrine/.github](https://github.com/doctrine/.github) from 7.2.2 to 7.3.0. - [Release notes](https://github.com/doctrine/.github/releases) - [Commits](doctrine/.github@7.2.2...7.3.0) --- updated-dependencies: - dependency-name: doctrine/.github dependency-version: 7.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
If search indexes are not enabled on the server, we should simply skip any search index operation. This commit adds an error code to the search index error check already in place.
PHPORM-356: Skip search indexes not enabled exception
Highlights event names by formatting them as code in the doc
* Run tests with MongoDB 8.0 replica set * Wait for replication to catch up if the read preference is not PRIMARY * Disable transactions for TimeSeriesTest Cannot insert into a time-series collection in a multi-document transaction: doctrine_odm_tests.TimeSeriesDocument
* Update maintained versions file * Remove aliases
Merge release 2.11.3 into 2.12.x
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--------- Co-authored-by: Yevhen Sidelnyk <zsidelnik@gmail.com>
Add Automatic Queryable Encryption to the MongoDB Documents. This feature requires a MongoDB Enterprise license or a MongoDB Atlas cluster. https://jira.mongodb.org/browse/PHPORM-13 --------- Co-authored-by: Andreas Braun <git@alcaeus.org> Co-authored-by: Jeremy Mikola <jmikola@gmail.com>
Prepare release 2.12.x
…chAfter` markers (#2808) * feat: allow to paginate search aggregation with searchBefore and searchAfter markers * chore: reduce testing scenarios * chore: add new skip rules to phpstan-baseline.neon --------- Co-authored-by: bitgandtter <yasmanycm@gmail.com>
GromNaN
approved these changes
Aug 29, 2025
…to-3.0.x_wpTxYBPD
933eaee to
c88837c
Compare
GromNaN
approved these changes
Aug 29, 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.12.0
Feature release (minor)
2.12.0
Feature
$searchaggregation withsearchBeforeandsearchAftermarkers thanks to @bitgandtterClassLocatorfrom Doctrine Persistence 4.1 in the attribute and annotation drivers thanks to @GromNaNTask
assertcalls thanks to @GromNaNEnhancement
APM\Command::getServer(), addgetPort()andgetHost()instead thanks to @GromNaN