8000 Merge release 2.20.3 into 2.21.x by github-actions[bot] · Pull Request #11929 · doctrine/orm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Merge release 2.20.3 into 2.21.x #11929

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 26 commits into from
May 2, 2025
Merged

Conversation

jorenMartens and others added 26 commits November 7, 2024 10:48
[DDC-551] fix, add filter support in oneToOne relation 2.20.x
…ctor

This fixes a bug that arises when using Pagination and an entity relation is mapped with fetch-mode EAGER but setFetchMode LAZY (or anything that is not EAGER) has been used on the query. If the query use WITH condition, an exception is incorrectly raised (Associations with fetch-mode=EAGER may not be using WITH conditions).
The class LimitSubqueryOutputWalker clones the query, but not its parameters and hints, so the generated subquery does not know that fetch-mode has been overridden.

Fixes #11741
Clone query hints and parameters in `LimitSubqueryOutputWalker` constructor
Fix DQL example with composite key
update message to use attribute instead of annotation
Bumps [doctrine/.github](https://github.com/doctrine/.github) from 7.2.1 to 7.2.2.
- [Release notes](https://github.com/doctrine/.github/releases)
- [Commits](doctrine/.github@7.2.1...7.2.2)

---
updated-dependencies:
- dependency-name: doctrine/.github
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…0.x/doctrine/dot-github-7.2.2

Bump doctrine/.github from 7.2.1 to 7.2.2
…-attribute

Update message of `ORMInvalidArgumentException`
They don't have a special meaning, and are rendered like this:
<strong>*REQUIRED</strong>*.
Fix docs typo (nulable -> nullable)
Co-authored-by: Grégoire Paris <postmaster@greg0ire.fr>
These URLs are meant as identifiers rather than actual urls intended to
be used to perform an HTTP request.
Add more detailed caveats for using the Collection filtering API
The old proxy implementation of doctrine/common was triggered by public
methods rather than access to properties (making public properties
unsupported in entities), so tests could use public instance properties
to track the state of postLoad lifecycle callbacks without triggering
the proxy initialization when reading that state (which then changes the
state of triggering the postLoad callback).
As the new proxy implementation hooks into properties instead, the tests
now use a static method (ensuring it is reset properly before loading
the instance for which we care about the tracking) instead of an
instance property.
PostLoad listeners might initialize values for transient properties, so
the proxy should not skip initialization when using transient
properties.

Co-authored-by: Nicolas Grekas <nicolas.grekas@gmail.com>
Fix the initialization of lazy-ghost proxies with postLoad listeners
@greg0ire greg0ire merged commit 528b883 into 2.21.x May 2, 2025
74 checks passed
@greg0ire greg0ire deleted the 2.20.x-merge-up-into-2.21.x_KkdqS0u7 branch May 2, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants
0