Skip to content
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

Merge 3.3.x into 4.0.x #11508

Merged
merged 30 commits into from
Jun 21, 2024
Merged

Merge 3.3.x into 4.0.x #11508

merged 30 commits into from
Jun 21, 2024

Conversation

derrabus
Copy link
Member

No description provided.

greg0ire and others added 27 commits May 24, 2024 00:25
…f fetch-mode EAGER and WITH condition.

This fixes a bug that arises when 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).

Fixes doctrine#11128

Co-Authored-By: Albert Prat <albert.prat@interactiu.cat>
One has been deprecated in favor of the other.
…nal-doc

docs: update EntityManager#transactional to EntityManager#wrapInTransaction
Consider usage of setFetchMode when checking for simultaneous usage of fetch-mode EAGER and WITH condition
Use ramsey/composer-install in PHPBench workflow
fix(docs): use string value in `addAttribute`
…e#11490)

Also use MARIADB env names and the healthcheck.sh included in the container.
Skip joined entity creation for empty relation (doctrine#10889)
Fix OneToManyPersister::deleteEntityCollection missing discriminator column/value. (doctrineGH-11500)
* 2.19.x:
  Fix OneToManyPersister::deleteEntityCollection missing discriminator column/value. (doctrineGH-11500)
  Skip joined entity creation for empty relation (doctrine#10889)
  ci: maintained and stable mariadb version (11.4 current lts) (doctrine#11490)
  fix(docs): use string value in `addAttribute`
  Replace assertion with exception (doctrine#11489)
  Use ramsey/composer-install in PHPBench workflow
  update EntityManager#transactional to EntityManager#wrapInTransaction
  Fix cloning entities
  Consider usage of setFetchMode when checking for simultaneous usage of fetch-mode EAGER and WITH condition.
It was used for the reverse engineering feature, which has been removed.
When using ghost objects, the method was leaking a `static` return type due to the way it was implemented, which is incompatible with the native return type that will be added in doctrine/persistence v4.
Add the proper void return type on the __load method of proxies
FileDriver became templatable, and some very wrong phpdoc has been
fixed, causing Psalm to better understand the 2 FileDriver classes in
this project.
….3.3-release

Address doctrine/persistence 3.3.3 release
* 3.2.x:
  Fix deprecated array access usage (doctrine#11517)
  Address doctrine/persistence 3.3.3 release
  Add the propoer void return type on the __load method of proxies
  Remove unneeded CS rule
* 3.3.x:
  Fix deprecated array access usage (doctrine#11517)
  Address doctrine/persistence 3.3.3 release
  Add the propoer void return type on the __load method of proxies
  Deprecate DatabaseDriver
  Remove unneeded CS rule
  Fix OneToManyPersister::deleteEntityCollection missing discriminator column/value. (doctrineGH-11500)
  Skip joined entity creation for empty relation (doctrine#10889)
  ci: maintained and stable mariadb version (11.4 current lts) (doctrine#11490)
  fix(docs): use string value in `addAttribute`
  Replace assertion with exception (doctrine#11489)
  Use ramsey/composer-install in PHPBench workflow
  update EntityManager#transactional to EntityManager#wrapInTransaction
  Fix cloning entities
  Consider usage of setFetchMode when checking for simultaneous usage of fetch-mode EAGER and WITH condition.
  Update branch metadata (doctrine#11474)
@derrabus derrabus merged commit 42a36e1 into doctrine:4.0.x Jun 21, 2024
39 checks passed
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