-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 release 2.20.0 into 3.0.x #11662
Commits on Feb 7, 2024
-
* Add TokenType class Co-authored-by: Alexander M. Turek <[email protected]> * Deprecated Lexer constants in favour of TokenType * Replace all Lexer::T_ occurrences with TokenType::T_ * Add upgrade note * Fixed import Lexer => TokenType * Fixed deprecation phpdoc * Replaced int value with matching constant of TokenType * Update src/Query/Lexer.php --------- Co-authored-by: Alexander M. Turek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5049b61 - Browse repository at this point
Copy the full SHA 5049b61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7baef1e - Browse repository at this point
Copy the full SHA 7baef1eView commit details
Commits on Feb 13, 2024
-
Merge pull request #11255 from doctrine/2.18.x
Merge 2.18.x up into 2.19.x
Configuration menu - View commit details
-
Copy full SHA for afbf293 - Browse repository at this point
Copy the full SHA afbf293View commit details
Commits on Feb 16, 2024
-
#11090 - Fix obtaining an identifier in cases where the hydration has…
… not yet fully completed on eagerLoadCollections
Configuration menu - View commit details
-
Copy full SHA for e5e3166 - Browse repository at this point
Copy the full SHA e5e3166View commit details
Commits on Feb 17, 2024
-
Merge pull request #11267 from doctrine/2.18.x
Merge 2.18.x up into 2.19.x
Configuration menu - View commit details
-
Copy full SHA for b59189a - Browse repository at this point
Copy the full SHA b59189aView commit details
Commits on Feb 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c0dfba2 - Browse repository at this point
Copy the full SHA c0dfba2View commit details
Commits on Feb 22, 2024
-
provides a test case for github issue 11154
After 2.17 (some?) EAGER fetched OneToMany associations stopped working, if they have multiple join columns. Loads for these associations will trigger a `MessingPositionalParameter` exception "Positional parameter at index 1 does not have a bound value". This test case should reproduce this issue, so it can be fixed.
Mark Schmale committedFeb 22, 2024 Configuration menu - View commit details
-
Copy full SHA for 8d4718f - Browse repository at this point
Copy the full SHA 8d4718fView commit details -
Merge branch '2.18.x' into 2.19.x
* 2.18.x: Backport QueryParameterTest (#11288)
Configuration menu - View commit details
-
Copy full SHA for c9c493b - Browse repository at this point
Copy the full SHA c9c493bView commit details
Commits on Feb 24, 2024
-
Merge pull request #11301 from doctrine/2.18.x
Merge 2.18.x up into 2.19.x
Configuration menu - View commit details
-
Copy full SHA for 7797811 - Browse repository at this point
Copy the full SHA 7797811View commit details
Commits on Feb 25, 2024
-
`getAssociationMappedByTargetField()` returns `null` when called with the owning side of an association. This is undocumented and wrong because the phpdoc advertises a string as a return type. Instead, callers should ensure they are calling that method with an inverse side. Closes #11250
Configuration menu - View commit details
-
Copy full SHA for 08d3f72 - Browse repository at this point
Copy the full SHA 08d3f72View commit details
Commits on Feb 26, 2024
-
Merge pull request #11309 from greg0ire/deprecate-invalid-call
Deprecate invalid method call
Configuration menu - View commit details
-
Copy full SHA for abd9186 - Browse repository at this point
Copy the full SHA abd9186View commit details
Commits on Feb 28, 2024
-
Merge pull request #11317 from doctrine/2.18.x
Merge 2.18.x up into 2.19.x
Configuration menu - View commit details
-
Copy full SHA for 791667a - Browse repository at this point
Copy the full SHA 791667aView commit details
Commits on Feb 29, 2024
-
Merge branch '2.18.x' into 2.19.x
* 2.18.x: PHPStan 1.10.59 (#11320)
Configuration menu - View commit details
-
Copy full SHA for 83c81f6 - Browse repository at this point
Copy the full SHA 83c81f6View commit details
Commits on Mar 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 98f9de2 - Browse repository at this point
Copy the full SHA 98f9de2View commit details
Commits on Mar 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e62571c - Browse repository at this point
Copy the full SHA e62571cView commit details
Commits on Mar 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 12e0cef - Browse repository at this point
Copy the full SHA 12e0cefView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd4449c - Browse repository at this point
Copy the full SHA bd4449cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a809a71 - Browse repository at this point
Copy the full SHA a809a71View commit details
Commits on Mar 11, 2024
-
doctrine/rst-parser does not appear to support orphan metadata yet, and renders it verbatim on the website. Let's move this to the CI job.
Configuration menu - View commit details
-
Copy full SHA for 9acca22 - Browse repository at this point
Copy the full SHA 9acca22View commit details -
Merge pull request #11347 from greg0ire/remove-orphan
Remove guides-specific markup
Configuration menu - View commit details
-
Copy full SHA for 94d45a0 - Browse repository at this point
Copy the full SHA 94d45a0View commit details
Commits on Mar 16, 2024
-
Remove tests for already working case as they add no value other than…
… exploration, and we only need the regression test.
Configuration menu - View commit details
-
Copy full SHA for 16f355f - Browse repository at this point
Copy the full SHA 16f355fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e399d21 - Browse repository at this point
Copy the full SHA e399d21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6501890 - Browse repository at this point
Copy the full SHA 6501890View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b6cf58 - Browse repository at this point
Copy the full SHA 1b6cf58View commit details -
Merge pull request #11090 from dbannik/2.17.x-failed-getting-entity-w…
…ith-fetch-eager [2.17.x] Failed getting entity with fetch eager property
Configuration menu - View commit details
-
Copy full SHA for abcad6f - Browse repository at this point
Copy the full SHA abcad6fView commit details -
Merge pull request #11360 from doctrine/2.19.x-merge-up-into-2.20.x_a…
…XnS7Xw9 Merge release 2.19.1 into 2.20.x
Configuration menu - View commit details
-
Copy full SHA for a3e3a3b - Browse repository at this point
Copy the full SHA a3e3a3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fcd02b1 - Browse repository at this point
Copy the full SHA fcd02b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 820a0da - Browse repository at this point
Copy the full SHA 820a0daView commit details
Commits on Mar 17, 2024
-
[Documentation] Query Result Formats
Page: https://www.doctrine-project.org/projects/doctrine-orm/en/2.19/reference/dql-doctrine-query-language.html#query-result-formats Follow-up of #11359 The table I suggested is probably not working, since the text for each method is too long. And what I really wanted is to make it more *scanable*. So I tried boldfacing - if this doesn't work, I'll try something else. Questions: 1. This section here is basically the same as https://www.doctrine-project.org/projects/doctrine-orm/en/2.10/reference/dql-doctrine-query-language.html#hydration-modes ! So I'll try to merge them (in another PR), OK? I think the list is a better format (more scanable) - since those methods all work the same, there's no need for a full-blown code sample for each, IMO. 2. `getSingleColumnResult()` is missing.
Configuration menu - View commit details
-
Copy full SHA for ae84225 - Browse repository at this point
Copy the full SHA ae84225View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b4b9b7 - Browse repository at this point
Copy the full SHA 4b4b9b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 528ef40 - Browse repository at this point
Copy the full SHA 528ef40View commit details -
Merge pull request #11373 from kaznovac/patch-3
Minor code style fix in AbstractRemoteControl
Configuration menu - View commit details
-
Copy full SHA for 80aae27 - Browse repository at this point
Copy the full SHA 80aae27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1622b78 - Browse repository at this point
Copy the full SHA 1622b78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e6d5c0 - Browse repository at this point
Copy the full SHA 5e6d5c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e3c023 - Browse repository at this point
Copy the full SHA 3e3c023View commit details -
Remove outdated git metadata files (#11362)
Some of it seems related to the previous documentation build system, some of it seems related to IntelliJ.
Configuration menu - View commit details
-
Copy full SHA for 08a9e60 - Browse repository at this point
Copy the full SHA 08a9e60View commit details
Commits on Mar 18, 2024
-
Merge pull request #11289 from themasch/reproduce-issue-11154-composi…
…te-key-eager-fetch-one Do not use batch loading for collections with composite identifier
Configuration menu - View commit details
-
Copy full SHA for 40a0964 - Browse repository at this point
Copy the full SHA 40a0964View commit details -
Merge pull request #11378 from doctrine/2.19.x-merge-up-into-2.20.x_e…
…yF2lMAL Merge release 2.19.2 into 2.20.x
Configuration menu - View commit details
-
Copy full SHA for bcdc5bd - Browse repository at this point
Copy the full SHA bcdc5bdView commit details
Commits on Mar 19, 2024
-
Improve lazy ghost performance by avoiding self-referencing closure. (#…
…11376) * Improve lazy ghost performance by avoiding self-referencing closure. Co-authored-by: Nicolas Grekas <[email protected]> * update baselien --------- Co-authored-by: Nicolas Grekas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d1a497 - Browse repository at this point
Copy the full SHA 9d1a497View commit details
Commits on Mar 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d15624f - Browse repository at this point
Copy the full SHA d15624fView commit details -
[Documentation] Removing "Doctrine Mapping Types" ... (#11384)
... in favor of https://www.doctrine-project.org/projects/doctrine-dbal/en/3.8/reference/types.html#reference Page: https://www.doctrine-project.org/projects/doctrine-orm/en/2.19/reference/basic-mapping.html#doctrine-mapping-types As announced in doctrine/dbal#6336 (comment) , the goal is to remove this duplicated type information from ORM and replace it with a link to DBAL. In doctrine/dbal#6341 , I'm adding any detail which I'm deleting here to the DBAL.
Configuration menu - View commit details
-
Copy full SHA for 5ccbc20 - Browse repository at this point
Copy the full SHA 5ccbc20View commit details
Commits on Mar 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 716da7e - Browse repository at this point
Copy the full SHA 716da7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for db6e702 - Browse repository at this point
Copy the full SHA db6e702View commit details -
Merge branch '2.19.x' into 2.20.x
* 2.19.x: Remove unused variable (#11391)
Configuration menu - View commit details
-
Copy full SHA for 083f642 - Browse repository at this point
Copy the full SHA 083f642View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95795c8 - Browse repository at this point
Copy the full SHA 95795c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a5a4c6 - Browse repository at this point
Copy the full SHA 1a5a4c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46d0865 - Browse repository at this point
Copy the full SHA 46d0865View commit details
Commits on Mar 22, 2024
-
Fix psalm errors: remove override of template type
See doctrine/collections#368 for the same issue in doctrine/collections which has been fixed there. The issue happens when using ->contains(). Running psalm emits > InvalidArgument - Argument 1 of Doctrine\ORM\PersistentCollection::contains > expects > TMaybeContained:fn-doctrine\common\collections\readablecollection::contains > as mixed, but … provided. Solution: we should either not define @template TMaybeContained or re-define the complete psalm docblock from ReadableCollection. Repairing the docblock necessitates an update to the psalm baseline: one "known issue" is no longer an issue and thus removed.
Configuration menu - View commit details
-
Copy full SHA for c54c557 - Browse repository at this point
Copy the full SHA c54c557View commit details -
Configuration menu - View commit details
-
Copy full SHA for be307ed - Browse repository at this point
Copy the full SHA be307edView commit details
Commits on Mar 23, 2024
-
Merge pull request #11372 from ThomasLandauer/patch-12
[Documentation] Query Result Formats
Configuration menu - View commit details
-
Copy full SHA for e4a6c04 - Browse repository at this point
Copy the full SHA e4a6c04View commit details -
Merge pull request #11389 from tantegerda1/2.19.x
Fix psalm errors: remove override of template type
Configuration menu - View commit details
-
Copy full SHA for 6090141 - Browse repository at this point
Copy the full SHA 6090141View commit details
Commits on Mar 27, 2024
-
[Documentation] Merging "Query Result Formats" with "Hydration Modes"
Page: https://www.doctrine-project.org/projects/doctrine-orm/en/2.19/reference/dql-doctrine-query-language.html#query-result-formats As announced in #11372 (comment), I merged the (mostly) identical sections. * I changed the `const`s from `Query` to `AbstractQuery` * I deleted this - mainly cause I didn't find a nice place for it: > In parentheses are the constants of the ``Query`` class which you can use with the general-purpose method ``Query::execute(array $params = [], $hydrationMode = Query::HYDRATE_OBJECT)``.
Configuration menu - View commit details
-
Copy full SHA for 5f3c1db - Browse repository at this point
Copy the full SHA 5f3c1dbView commit details
Commits on Mar 28, 2024
-
Merge pull request #11403 from ThomasLandauer/patch-10
[Documentation] Merging "Query Result Formats" with "Hydration Modes"
Configuration menu - View commit details
-
Copy full SHA for e9e60f2 - Browse repository at this point
Copy the full SHA e9e60f2View commit details
Commits on Apr 1, 2024
-
Fix templated phpdoc return type (#11407)
* Improve getClassMetadata phpdoc * Update baseline
Configuration menu - View commit details
-
Copy full SHA for 8709fb3 - Browse repository at this point
Copy the full SHA 8709fb3View commit details
Commits on Apr 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b274893 - Browse repository at this point
Copy the full SHA b274893View commit details -
Merge branch '2.19.x' into 2.20.x
* 2.19.x: Fix BIGINT validation (#11414) Fix templated phpdoc return type (#11407) [Documentation] Merging "Query Result Formats" with "Hydration Modes" Fix psalm errors: remove override of template type Update dql-doctrine-query-language.rst Adding `NonUniqueResultException` [Documentation] Query Result Formats
Configuration menu - View commit details
-
Copy full SHA for b725908 - Browse repository at this point
Copy the full SHA b725908View commit details
Commits on Apr 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 90376a6 - Browse repository at this point
Copy the full SHA 90376a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdc41e2 - Browse repository at this point
Copy the full SHA bdc41e2View commit details
Commits on Apr 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fb45784 - Browse repository at this point
Copy the full SHA fb45784View commit details -
Merge pull request #11422 from tomasz-ryba/bugfix/fetch-eager-order-by
Bugfix: respect orderBy for fetch EAGER mode
Configuration menu - View commit details
-
Copy full SHA for 306963f - Browse repository at this point
Copy the full SHA 306963fView commit details
Commits on Apr 25, 2024
-
fix: always cleanup in
AbstractHydrator::toIterable()
(#11101)Previously it didn't cleanup anything as long as the iteration hasn't reached the final row. Co-authored-by: Oleg Andreyev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cbec236 - Browse repository at this point
Copy the full SHA cbec236View commit details
Commits on Apr 26, 2024
-
Update association-mapping.rst
Changed capitalized column names to lowercase for consistency. Other occurances of column names mentioned as lowercase several times at this same page.
Configuration menu - View commit details
-
Copy full SHA for 7d3b3f2 - Browse repository at this point
Copy the full SHA 7d3b3f2View commit details -
Merge pull request #11426 from nasimic/patch-1
Update association-mapping.rst
Configuration menu - View commit details
-
Copy full SHA for 2b81a8e - Browse repository at this point
Copy the full SHA 2b81a8eView commit details -
Keep entities in identity map until the scheduled deletions are execu…
…ted. If the entity gets reloaded from database before the deletions are executed UnitOfWork needs to be able to return the original instance in REMOVED state.
Configuration menu - View commit details
-
Copy full SHA for bb36d49 - Browse repository at this point
Copy the full SHA bb36d49View commit details
Commits on Apr 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4e335f4 - Browse repository at this point
Copy the full SHA 4e335f4View commit details -
Merge pull request #11428 from xificurk/keep-removed-entity-in-identi…
…ty-map Prevent creation of new MANAGED entity instance by reloading REMOVED entity from database
Configuration menu - View commit details
-
Copy full SHA for 8d34460 - Browse repository at this point
Copy the full SHA 8d34460View commit details -
Merge pull request #11429 from SenseException/unused-test-group
Remove unused test group
Configuration menu - View commit details
-
Copy full SHA for c973a62 - Browse repository at this point
Copy the full SHA c973a62View commit details
Commits on Apr 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c363f55 - Browse repository at this point
Copy the full SHA c363f55View commit details
Commits on Apr 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ad5c8e4 - Browse repository at this point
Copy the full SHA ad5c8e4View commit details -
Merge pull request #11430 from W0rma/fix-deprecation-layer-orm-exception
Fix deprecation layer of Doctrine\ORM\ORMException
Configuration menu - View commit details
-
Copy full SHA for 94986af - Browse repository at this point
Copy the full SHA 94986afView commit details -
Merge pull request #11432 from doctrine/2.19.x-merge-up-into-2.20.x_I…
…fraK93L Merge release 2.19.5 into 2.20.x
Configuration menu - View commit details
-
Copy full SHA for 8b6a58f - Browse repository at this point
Copy the full SHA 8b6a58fView commit details
Commits on May 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e6bb4ef - Browse repository at this point
Copy the full SHA e6bb4efView commit details -
Merge pull request #11440 from greg0ire/update-codecov
Upgrade codecov/codecov-action
Configuration menu - View commit details
-
Copy full SHA for 9ab84f7 - Browse repository at this point
Copy the full SHA 9ab84f7View commit details -
Bump doctrine/.github from 3.0.0 to 5.0.1
Bumps [doctrine/.github](https://github.com/doctrine/.github) from 3.0.0 to 5.0.1. - [Release notes](https://github.com/doctrine/.github/releases) - [Commits](doctrine/.github@3.0.0...5.0.1) --- updated-dependencies: - dependency-name: doctrine/.github dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f26b3b9 - Browse repository at this point
Copy the full SHA f26b3b9View commit details -
Merge pull request #11441 from doctrine/dependabot/github_actions/2.1…
…9.x/doctrine/dot-github-5.0.1 Bump doctrine/.github from 3.0.0 to 5.0.1
Configuration menu - View commit details
-
Copy full SHA for 831d865 - Browse repository at this point
Copy the full SHA 831d865View commit details -
Bump ramsey/composer-install from 2 to 3 (#11442)
Bumps [ramsey/composer-install](https://github.com/ramsey/composer-install) from 2 to 3. - [Release notes](https://github.com/ramsey/composer-install/releases) - [Commits](ramsey/composer-install@v2...v3) --- updated-dependencies: - dependency-name: ramsey/composer-install 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>
Configuration menu - View commit details
-
Copy full SHA for c5291b4 - Browse repository at this point
Copy the full SHA c5291b4View commit details
Commits on May 21, 2024
-
Merge branch '2.19.x' into 2.20.x
* 2.19.x: Bump ramsey/composer-install from 2 to 3 (#11442) Bump doctrine/.github from 3.0.0 to 5.0.1 Upgrade codecov/codecov-action
Configuration menu - View commit details
-
Copy full SHA for eb49f66 - Browse repository at this point
Copy the full SHA eb49f66View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee4b03a - Browse repository at this point
Copy the full SHA ee4b03aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 552eae3 - Browse repository at this point
Copy the full SHA 552eae3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d668844 - Browse repository at this point
Copy the full SHA d668844View commit details -
Configuration menu - View commit details
-
Copy full SHA for d31aabb - Browse repository at this point
Copy the full SHA d31aabbView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf3e082 - Browse repository at this point
Copy the full SHA bf3e082View commit details
Commits on May 25, 2024
-
Consider usage of setFetchMode when checking for simultaneous usage o…
…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 #11128 Co-Authored-By: Albert Prat <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9696c34 - Browse repository at this point
Copy the full SHA 9696c34View commit details
Commits on May 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 75bc229 - Browse repository at this point
Copy the full SHA 75bc229View commit details
Commits on May 28, 2024
-
update EntityManager#transactional to EntityManager#wrapInTransaction
One has been deprecated in favor of the other.
Configuration menu - View commit details
-
Copy full SHA for 93c2dd9 - Browse repository at this point
Copy the full SHA 93c2dd9View commit details -
Merge pull request #11460 from IndraGunawan/update-transactional-doc
docs: update EntityManager#transactional to EntityManager#wrapInTransaction
Configuration menu - View commit details
-
Copy full SHA for 4a01a76 - Browse repository at this point
Copy the full SHA 4a01a76View commit details
Commits on May 30, 2024
-
Merge pull request #11445 from aprat84/gh-11128
Consider usage of setFetchMode when checking for simultaneous usage of fetch-mode EAGER and WITH condition
Configuration menu - View commit details
-
Copy full SHA for e063926 - Browse repository at this point
Copy the full SHA e063926View commit details
Commits on Jun 1, 2024
-
Merge pull request #11475 from nicolas-grekas/fix-clone
Fix cloning entities
Configuration menu - View commit details
-
Copy full SHA for 23b35e9 - Browse repository at this point
Copy the full SHA 23b35e9View commit details
Commits on Jun 2, 2024
-
Use ramsey/composer-install in PHPBench workflow
It will handle caching for us.
Configuration menu - View commit details
-
Copy full SHA for 06eca40 - Browse repository at this point
Copy the full SHA 06eca40View commit details -
Merge pull request #11484 from greg0ire/backport-ramsey
Use ramsey/composer-install in PHPBench workflow
Configuration menu - View commit details
-
Copy full SHA for 3a7d7c9 - Browse repository at this point
Copy the full SHA 3a7d7c9View commit details
Commits on Jun 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 59c8bc0 - Browse repository at this point
Copy the full SHA 59c8bc0View commit details
Commits on Jun 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 87a8ee2 - Browse repository at this point
Copy the full SHA 87a8ee2View commit details -
Merge pull request #11493 from SamMousa/fix-docs-11492
fix(docs): use string value in `addAttribute`
Configuration menu - View commit details
-
Copy full SHA for bdc9679 - Browse repository at this point
Copy the full SHA bdc9679View commit details
Commits on Jun 13, 2024
-
ci: maintained and stable mariadb version (11.4 current lts) (#11490)
Also use MARIADB env names and the healthcheck.sh included in the container.
Configuration menu - View commit details
-
Copy full SHA for 39153fd - Browse repository at this point
Copy the full SHA 39153fdView commit details
Commits on Jun 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3b49913 - Browse repository at this point
Copy the full SHA 3b49913View commit details -
Merge pull request #11194 from noemi-salaun/fix/gh10889
Skip joined entity creation for empty relation (#10889)
Configuration menu - View commit details
-
Copy full SHA for 858a1ad - Browse repository at this point
Copy the full SHA 858a1adView commit details
Commits on Jun 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e4d46c4 - Browse repository at this point
Copy the full SHA e4d46c4View commit details
Commits on Jun 17, 2024
-
Merge pull request #11501 from gitbugr/2.19.x
Fix OneToManyPersister::deleteEntityCollection missing discriminator column/value. (GH-11500)
Configuration menu - View commit details
-
Copy full SHA for cc2ad19 - Browse repository at this point
Copy the full SHA cc2ad19View commit details
Commits on Jun 18, 2024
-
Undeprecate PARTIAL for array hydration. (#11366)
* Undeprecate PARTIAL for array hydration. * note about undeprecate partial in UPGRADE.md
Configuration menu - View commit details
-
Copy full SHA for 6874448 - Browse repository at this point
Copy the full SHA 6874448View commit details -
Configuration menu - View commit details
-
Copy full SHA for 066ec1a - Browse repository at this point
Copy the full SHA 066ec1aView commit details -
Merge branch '2.19.x' into 2.20.x
* 2.19.x: Fix OneToManyPersister::deleteEntityCollection missing discriminator column/value. (GH-11500) Skip joined entity creation for empty relation (#10889) ci: maintained and stable mariadb version (11.4 current lts) (#11490) fix(docs): use string value in `addAttribute` Replace assertion with exception (#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.
Configuration menu - View commit details
-
Copy full SHA for 83851a9 - Browse repository at this point
Copy the full SHA 83851a9View commit details
Commits on Jun 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2ea6a1a - Browse repository at this point
Copy the full SHA 2ea6a1aView commit details -
Fetching entities with Composite Key Relations and null values
Remove redundant condition to check if target class contains foreign identifier in order to allow fetching a null for relations with composite keys, when part of the key value is null.
Configuration menu - View commit details
-
Copy full SHA for 96d13ac - Browse repository at this point
Copy the full SHA 96d13acView commit details -
Merge pull request #11509 from greg0ire/remove-unneeded-rule
Remove unneeded CS rule
Configuration menu - View commit details
-
Copy full SHA for 802f20b - Browse repository at this point
Copy the full SHA 802f20bView commit details
Commits on Jun 20, 2024
-
Address doctrine/persistence 3.3.3 release
FileDriver became templatable, and some very wrong phpdoc has been fixed, causing Psalm to better understand the 2 FileDriver classes in this project.
Configuration menu - View commit details
-
Copy full SHA for 77467cd - Browse repository at this point
Copy the full SHA 77467cdView commit details -
Merge pull request #11513 from greg0ire/address-persistence-3.3.3-rel…
…ease Address doctrine/persistence 3.3.3 release
Configuration menu - View commit details
-
Copy full SHA for 68af854 - Browse repository at this point
Copy the full SHA 68af854View commit details -
Merge pull request #11514 from doctrine/2.19.x
Merge 2.19.x up into 2.20.x
Configuration menu - View commit details
-
Copy full SHA for d0e9177 - Browse repository at this point
Copy the full SHA d0e9177View commit details
Commits on Jun 21, 2024
-
Merge pull request #11506 from michalbundyra/composite-key-relations-3
[2.19.x] Fetching entities with Composite Key Relations and null values
Configuration menu - View commit details
-
Copy full SHA for 40f299f - Browse repository at this point
Copy the full SHA 40f299fView commit details
Commits on Jun 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e3d7c60 - Browse repository at this point
Copy the full SHA e3d7c60View commit details -
Merge pull request #11526 from GromNaN/patch-1
doc: Use modern array syntax in getting started
Configuration menu - View commit details
-
Copy full SHA for c1bb2cc - Browse repository at this point
Copy the full SHA c1bb2ccView commit details
Commits on Jun 27, 2024
-
Merge pull request #11531 from doctrine/2.19.x-merge-up-into-2.20.x_Q…
…MtlHSin Merge release 2.19.6 into 2.20.x
Configuration menu - View commit details
-
Copy full SHA for 7d01f19 - Browse repository at this point
Copy the full SHA 7d01f19View commit details
Commits on Jun 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 19129e9 - Browse repository at this point
Copy the full SHA 19129e9View commit details -
Merge pull request #11534 from k00ni/patch-1
working-with-objects.rst: added missing white space
Configuration menu - View commit details
-
Copy full SHA for c37b115 - Browse repository at this point
Copy the full SHA c37b115View commit details
Commits on Jul 4, 2024
-
Fix the support for custom parameter types in native queries
The Query class (used for DQL queries) takes care of using the value and type as is when a type was specified for a parameter instead of going through the default processing of values. The NativeQuery class was missing the equivalent check, making the custom type work only if the default processing of values does not convert the value to a different one.
Configuration menu - View commit details
-
Copy full SHA for 9bd51aa - Browse repository at this point
Copy the full SHA 9bd51aaView commit details -
Merge pull request #11543 from stof/fix_native_query_parameter_type
Fix the support for custom parameter types in native queries
Configuration menu - View commit details
-
Copy full SHA for 51ad860 - Browse repository at this point
Copy the full SHA 51ad860View commit details
Commits on Aug 3, 2024
-
GH11551 - fix OneToManyPersister::deleteEntityCollection when using
single-inheritence entity parent as targetEntity. When using the parent entity for a single-inheritence table as the targetEntity for a property, the discriminator value should be all of the values in the discriminator map. OneToManyPersister::deleteEntityCollection has been amended to reflect this.
Configuration menu - View commit details
-
Copy full SHA for 121158f - Browse repository at this point
Copy the full SHA 121158fView commit details -
Co-authored-by: Grégoire Paris <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2707b09 - Browse repository at this point
Copy the full SHA 2707b09View commit details
Commits on Aug 5, 2024
-
Merge pull request #11564 from gitbugr/GH11501_fix_o2m_persister_sing…
…le_inheritence_parent_relation_bugfix GH11551 - fix OneToManyPersister::deleteEntityCollection case where single-inheritence table parent entity is targetEntity.
Configuration menu - View commit details
-
Copy full SHA for 8ac6a13 - Browse repository at this point
Copy the full SHA 8ac6a13View commit details
Commits on Aug 17, 2024
-
Original entity data resolves inverse 1-1 joins
If the source entity for an inverse (non-owning) 1-1 relationship is identified by an association then the identifying association may not be set when an inverse one-to-one association is resolved. This means that no data is available in the entity to resolve the needed column value for the join query. The original entity data can be retrieved from the unit of work and is used as a fallback to populate the query condition. Fixes #11108
Configuration menu - View commit details
-
Copy full SHA for fe4a2e8 - Browse repository at this point
Copy the full SHA fe4a2e8View commit details
Commits on Aug 23, 2024
-
Merge pull request #11109 from mcurland/Fix11108
Original entity data resolves inverse 1-1 joins
Configuration menu - View commit details
-
Copy full SHA for 168ac31 - Browse repository at this point
Copy the full SHA 168ac31View commit details -
Merge pull request #11582 from doctrine/2.19.x-merge-up-into-2.20.x_0…
…oKsBvVN Merge release 2.19.7 into 2.20.x
Configuration menu - View commit details
-
Copy full SHA for 74ef282 - Browse repository at this point
Copy the full SHA 74ef282View commit details
Commits on Aug 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6cde337 - Browse repository at this point
Copy the full SHA 6cde337View commit details
Commits on Sep 27, 2024
-
Move orphan metadata to where it belongs
The goal here was to retain compatibility with doctrine/rst-parser, which is no longer in use in the website.
Configuration menu - View commit details
-
Copy full SHA for 25d5bc5 - Browse repository at this point
Copy the full SHA 25d5bc5View commit details
Commits on Sep 29, 2024
-
Merge pull request #11615 from greg0ire/move-orphan
Move orphan metadata to where it belongs
Configuration menu - View commit details
-
Copy full SHA for 1bf4603 - Browse repository at this point
Copy the full SHA 1bf4603View commit details
Commits on Sep 30, 2024
-
Bump doctrine/.github from 5.0.1 to 5.1.0 (#11616)
Bumps [doctrine/.github](https://github.com/doctrine/.github) from 5.0.1 to 5.1.0. - [Release notes](https://github.com/doctrine/.github/releases) - [Commits](doctrine/.github@5.0.1...5.1.0) --- updated-dependencies: - dependency-name: doctrine/.github dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2432939 - Browse repository at this point
Copy the full SHA 2432939View commit details
Commits on Oct 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b7fd824 - Browse repository at this point
Copy the full SHA b7fd824View commit details -
Merge pull request #11618 from n0099/patch-1
unclosed `]` in attributes-reference.rst
Configuration menu - View commit details
-
Copy full SHA for d18126a - Browse repository at this point
Copy the full SHA d18126aView commit details
Commits on Oct 5, 2024
-
fix generating duplicate method stubs
When adding the same lifecycle event callback to two or more lifecycle events, the generator will create a stub for each event resulting in fatal 'Cannot redeclare' errors. That is, only if the callback name contains uppercase letters.
Configuration menu - View commit details
-
Copy full SHA for 91709c1 - Browse repository at this point
Copy the full SHA 91709c1View commit details
Commits on Oct 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b13564c - Browse repository at this point
Copy the full SHA b13564cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2245149 - Browse repository at this point
Copy the full SHA 2245149View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc28fed - Browse repository at this point
Copy the full SHA cc28fedView commit details -
Merge pull request #11627 from greg0ire/no-custom-directives
Replace custom directives with native option
Configuration menu - View commit details
-
Copy full SHA for 0c0c61c - Browse repository at this point
Copy the full SHA 0c0c61cView commit details -
Merge branch '2.19.x' into 2.20.x
* 2.19.x: Replace custom directives with native option
Configuration menu - View commit details
-
Copy full SHA for ad80e82 - Browse repository at this point
Copy the full SHA ad80e82View commit details -
For now doctrine/common generates proxies that trigger deprecation, so let us only test with lazy ghosts only.
Configuration menu - View commit details
-
Copy full SHA for 6580688 - Browse repository at this point
Copy the full SHA 6580688View commit details
Commits on Oct 9, 2024
-
Use E_ALL instead of E_ALL | E_STRICT
E_STRICT is deprecated as of PHP 8.4
Configuration menu - View commit details
-
Copy full SHA for 08328ad - Browse repository at this point
Copy the full SHA 08328adView commit details -
Merge pull request #11631 from greg0ire/php84-ci
Add CI job for PHP 8.4
Configuration menu - View commit details
-
Copy full SHA for 109042e - Browse repository at this point
Copy the full SHA 109042eView commit details -
Prepare PHP 8.4 support: Prevent property hooks from being used (#11628)
Prevent property hooks from being used as they currently would work on external non-raw values without explicit code.
Configuration menu - View commit details
-
Copy full SHA for 0e48b19 - Browse repository at this point
Copy the full SHA 0e48b19View commit details -
Add upgrade note about property hooks (#11636)
People that might have experimented with property hooks while still using ORM < 2.20.0 need to know that they need to remove their experiment or upgrade to a version that explicitly supports them.
Configuration menu - View commit details
-
Copy full SHA for 8a25b26 - Browse repository at this point
Copy the full SHA 8a25b26View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc37f75 - Browse repository at this point
Copy the full SHA bc37f75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58287bb - Browse repository at this point
Copy the full SHA 58287bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5266029 - Browse repository at this point
Copy the full SHA 5266029View commit details -
Configuration menu - View commit details
-
Copy full SHA for d80a831 - Browse repository at this point
Copy the full SHA d80a831View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16a8f10 - Browse repository at this point
Copy the full SHA 16a8f10View commit details -
Deprecate the `\Doctrine\ORM\Query\Parser::setCustomOutputTreeWalker(…
…)` method (#11641) We use this method only from within one of our own test cases, and I don't see how it would be useful to anybody else outside – it has to be called on the `Parser` instance which exists internally in the `Query` only. Deprecating and removing it in 3.x allows for a slight simplification in the `Parser` there, since we do no longer need the field (it can be a local variable).
Configuration menu - View commit details
-
Copy full SHA for 896c655 - Browse repository at this point
Copy the full SHA 896c655View commit details -
Configuration menu - View commit details
-
Copy full SHA for 488a5dd - Browse repository at this point
Copy the full SHA 488a5ddView commit details
Commits on Oct 10, 2024
-
Run risky code in finally block
catch blocks are not supposed to fail. If you want to do something despite an exception happening, you should do it in a finally block. Closes #7545
Configuration menu - View commit details
-
Copy full SHA for 51be1b1 - Browse repository at this point
Copy the full SHA 51be1b1View commit details -
It maybe happen that the SQL COMMIT statement is successful, but then something goes wrong. In that kind of case, you do not want to attempt a rollback. This was implemented in UnitOfWork::commit(), but for some reason not in the similar EntityManager methods.
Configuration menu - View commit details
-
Copy full SHA for b6137c8 - Browse repository at this point
Copy the full SHA b6137c8View commit details -
This should make a warning we have in the CI go away. > fatal: No url found for submodule path 'docs/en/_theme' in .gitmodules
Configuration menu - View commit details
-
Copy full SHA for bac1c17 - Browse repository at this point
Copy the full SHA bac1c17View commit details -
Merge pull request #11655 from greg0ire/submodule-cleanup
Submodule cleanup
Configuration menu - View commit details
-
Copy full SHA for 6281c2b - Browse repository at this point
Copy the full SHA 6281c2bView commit details -
Merge pull request #11646 from greg0ire/finally-fix-bug
Run risky code in finally block
Configuration menu - View commit details
-
Copy full SHA for c2c5000 - Browse repository at this point
Copy the full SHA c2c5000View commit details -
Merge pull request #11656 from doctrine/2.19.x
Merge 2.19.x up into 2.20.x
Configuration menu - View commit details
-
Copy full SHA for 14f2572 - Browse repository at this point
Copy the full SHA 14f2572View commit details -
Configuration menu - View commit details
-
Copy full SHA for bea454e - Browse repository at this point
Copy the full SHA bea454eView commit details -
Fix different first/max result values taking up query cache space (#1…
…1188) * Add a test covering the #11112 issue * Add new OutputWalker and SqlFinalizer interfaces * Add a SingleSelectSqlFinalizer that can take care of adding offset/limit as well as locking mode statements to a given SQL query. Add a FinalizedSelectExecutor that executes given, finalized SQL statements. * In SqlWalker, split SQL query generation into the two parts that shall happen before and after the finalization phase. Move the part that generates "pre-finalization" SQL into a dedicated method. Use a side channel in SingleSelectSqlFinalizer to access the "finalization" logic and avoid duplication. * Fix CS violations * Skip the GH11112 test while applying refactorings * Avoid a Psalm complaint due to invalid (?) docblock syntax * Establish alternate code path - queries can obtain the sql executor through the finalizer, parser knows about output walkers yielding finalizers * Remove a possibly premature comment * Re-enable the #11112 test * Fix CS * Make RootTypeWalker inherit from SqlOutputWalker so it becomes finalizer-aware * Update QueryCacheTest, since first/max results no longer need extra cache entries * Fix ParserResultSerializationTest by forcing the parser to produce a ParserResult of the old kind (with the executor already constructed) * Fix WhereInWalkerTest * Update lib/Doctrine/ORM/Query/Exec/PreparedExecutorFinalizer.php Co-authored-by: Grégoire Paris <[email protected]> * Fix tests * Fix a Psalm complaint * Fix a test * Fix CS * Make the NullSqlWalker an instance of SqlOutputWalker * Avoid multiple cache entries caused by LimitSubqueryOutputWalker * Fix Psalm complaints * Fix static analysis complaints * Remove experimental code that I committed accidentally * Remove unnecessary baseline entry * Make AddUnknownQueryComponentWalker subclass SqlOutputWalker That way, we have no remaining classes in the codebase subclassing SqlWalker but not SqlOutputWalker * Use more expressive exception classes * Add a deprecation message * Move SqlExecutor creation to ParserResult, to minimize public methods available on it * Avoid keeping the SqlExecutor in the Query, since it must be generated just in time (e. g. in case Query parameters change) * Address PHPStan complaints * Fix tests * Small refactorings * Add an upgrade notice * Small refactorings * Update the Psalm baseline * Add a missing namespace import * Update Psalm baseline * Fix CS * Fix Psalm baseline --------- Co-authored-by: Grégoire Paris <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 39d2136 - Browse repository at this point
Copy the full SHA 39d2136View commit details
Commits on Oct 11, 2024
-
test: cover all transactional methods in `EntityManagerTest::testItPr…
…eservesTheOriginalExceptionOnRollbackFailure()`
Configuration menu - View commit details
-
Copy full SHA for ee0d719 - Browse repository at this point
Copy the full SHA ee0d719View commit details -
Merge pull request #11660 from simPod/test-method
test: cover all transactional methods in `EntityManagerTest::testItPreservesTheOriginalExceptionOnRollbackFailure()`
Configuration menu - View commit details
-
Copy full SHA for ff612b9 - Browse repository at this point
Copy the full SHA ff612b9View commit details -
Merge pull request #11661 from doctrine/2.19.x
Merge 2.19.x up into 2.20.x
Configuration menu - View commit details
-
Copy full SHA for 8ed6c22 - Browse repository at this point
Copy the full SHA 8ed6c22View commit details