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 up into 4.0.x #11634

Merged
merged 72 commits into from
Oct 9, 2024
Merged

Merge 3.3.x up into 4.0.x #11634

merged 72 commits into from
Oct 9, 2024

Commits on Mar 16, 2024

  1. Merge pull request doctrine#11360 from doctrine/2.19.x-merge-up-into-…

    …2.20.x_aXnS7Xw9
    
    Merge release 2.19.1 into 2.20.x
    greg0ire authored Mar 16, 2024
    Configuration menu
    Copy the full SHA
    a3e3a3b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5fdd67 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb8510f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    758f0d7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    90962f0 View commit details
    Browse the repository at this point in the history
  6. Update docs/en/reference/partial-hydration.rst

    Co-authored-by: Grégoire Paris <[email protected]>
    beberlei and greg0ire authored Mar 16, 2024
    Configuration menu
    Copy the full SHA
    80278c5 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. Merge pull request doctrine#11378 from doctrine/2.19.x-merge-up-into-…

    …2.20.x_eyF2lMAL
    
    Merge release 2.19.2 into 2.20.x
    greg0ire authored Mar 18, 2024
    Configuration menu
    Copy the full SHA
    bcdc5bd View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. Merge branch '2.19.x' into 2.20.x

    * 2.19.x:
      [Documentation] Removing "Doctrine Mapping Types" ... (doctrine#11384)
      [doctrineGH-11185] Bugfix: do not use collection batch loading for indexBy assocations. (doctrine#11380)
      Improve lazy ghost performance by avoiding self-referencing closure. (doctrine#11376)
    derrabus committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    716da7e View commit details
    Browse the repository at this point in the history
  2. Merge branch '2.19.x' into 2.20.x

    * 2.19.x:
      Remove unused variable (doctrine#11391)
    derrabus committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    083f642 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. Configuration menu
    Copy the full SHA
    be307ed View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. Merge branch '2.19.x' into 2.20.x

    * 2.19.x:
      Fix BIGINT validation (doctrine#11414)
      Fix templated phpdoc return type (doctrine#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
    derrabus committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    b725908 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Merge pull request doctrine#11432 from doctrine/2.19.x-merge-up-into-…

    …2.20.x_IfraK93L
    
    Merge release 2.19.5 into 2.20.x
    greg0ire authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    8b6a58f View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. Merge branch '2.19.x' into 2.20.x

    * 2.19.x:
      Bump ramsey/composer-install from 2 to 3 (doctrine#11442)
      Bump doctrine/.github from 3.0.0 to 5.0.1
      Upgrade codecov/codecov-action
    derrabus committed May 21, 2024
    Configuration menu
    Copy the full SHA
    eb49f66 View commit details
    Browse the repository at this point in the history
  2. Merge branch '2.19.x' into 2.20.x

    * 2.19.x:
      Psalm 5.24.0 (doctrine#11467)
      PHPStan 1.11.1 (doctrine#11466)
      Test with actual lock modes (doctrine#11465)
      Backport test for Query::setLockMode() (doctrine#11463)
    derrabus committed May 21, 2024
    Configuration menu
    Copy the full SHA
    bf3e082 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Undeprecate PARTIAL for array hydration. (doctrine#11366)

    * Undeprecate PARTIAL for array hydration.
    
    * note about undeprecate partial in UPGRADE.md
    beberlei authored Jun 18, 2024
    Configuration menu
    Copy the full SHA
    6874448 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    066ec1a View commit details
    Browse the repository at this point in the history
  3. Merge branch '2.19.x' into 2.20.x

    * 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.
    derrabus committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    83851a9 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. 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.
    michalbundyra committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    96d13ac View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Merge pull request doctrine#11514 from doctrine/2.19.x

    Merge 2.19.x up into 2.20.x
    greg0ire authored Jun 20, 2024
    Configuration menu
    Copy the full SHA
    d0e9177 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Merge pull request doctrine#11506 from michalbundyra/composite-key-re…

    …lations-3
    
    [2.19.x] Fetching entities with Composite Key Relations and null values
    greg0ire authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    40f299f View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Configuration menu
    Copy the full SHA
    ce7d93f View commit details
    Browse the repository at this point in the history
  2. Use modern array syntax in the doc

    GromNaN authored and greg0ire committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    e3d7c60 View commit details
    Browse the repository at this point in the history
  3. Merge pull request doctrine#11526 from GromNaN/patch-1

    doc: Use modern array syntax in getting started
    greg0ire authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    c1bb2cc View commit details
    Browse the repository at this point in the history
  4. Merge pull request doctrine#11525 from greg0ire/3.2.x

    Merge 2.19.x up into 3.2.x
    greg0ire authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    722cea6 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Merge pull request doctrine#11531 from doctrine/2.19.x-merge-up-into-…

    …2.20.x_QMtlHSin
    
    Merge release 2.19.6 into 2.20.x
    greg0ire authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    7d01f19 View commit details
    Browse the repository at this point in the history
  2. Merge pull request doctrine#11532 from doctrine/3.2.x-merge-up-into-3…

    ….3.x_ws8Fgk2X
    
    Merge release 3.2.1 into 3.3.x
    greg0ire authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    efe62e3 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. Configuration menu
    Copy the full SHA
    19129e9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request doctrine#11534 from k00ni/patch-1

    working-with-objects.rst: added missing white space
    greg0ire authored Jun 28, 2024
    Configuration menu
    Copy the full SHA
    c37b115 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Fix incorrect exception message for ManyToOne attribute in embeddable…

    … class (doctrine#11536)
    
    When a ManyToOne attribute is encountered on an Embeddable class, the exception message reads "Attribute "Doctrine\ORM\Mapping\OneToMany" on embeddable [class] is not allowed.". This should be "Doctrine\ORM\Mapping\ManyToOne" on embeddable [class] is not allowed.".
    Xesau authored Jul 1, 2024
    Configuration menu
    Copy the full SHA
    1fe1a6a View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. 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.
    stof authored and greg0ire committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    9bd51aa View commit details
    Browse the repository at this point in the history
  2. Merge pull request doctrine#11543 from stof/fix_native_query_paramete…

    …r_type
    
    Fix the support for custom parameter types in native queries
    greg0ire authored Jul 4, 2024
    Configuration menu
    Copy the full SHA
    51ad860 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. Configuration menu
    Copy the full SHA
    0983d3a View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Configuration menu
    Copy the full SHA
    ef64cf7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request doctrine#11547 from greg0ire/3.3.x

    Merge 2.20.x up into 3.3.x
    greg0ire authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    4c2f104 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Merge pull request doctrine#11528 from norkunas/namedparams

    Add `createNamedParameter` to `QueryBuilder`
    greg0ire authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    1281707 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Make CountWalker use COUNT(*) when $distinct is explicitly set to fal…

    …se (doctrine#11552)
    
    This change makes CountWalker use COUNT(*) instead of
    COUNT(tbl.id), when the user declared that their query
    does not need to use (SELECT) DISTINCT, which is
    commonly the case when there are no JOINs in the query,
    or when the JOINs are only *ToOne.
    
    Research showed that COUNT(*) allows databases to use
    index(-only) scans more eagerly from any of the
    indexed columns, especially when the query is using
    a WHERE-condition that filters on an indexed column.
    d-ph committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    57247ed View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. Merge pull request doctrine#11365 from beberlei/ReintroducePartialFor…

    …ArrayHydration
    
    Reintroduce PARTIAL, but only for non-object hydration.
    greg0ire authored Jul 24, 2024
    Configuration menu
    Copy the full SHA
    96546ca View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Configuration menu
    Copy the full SHA
    56cd688 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. 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.
    gitbugr committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    121158f View commit details
    Browse the repository at this point in the history
  2. fix spacing

    Co-authored-by: Grégoire Paris <[email protected]>
    gitbugr and greg0ire authored Aug 3, 2024
    Configuration menu
    Copy the full SHA
    2707b09 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Merge pull request doctrine#11564 from gitbugr/GH11501_fix_o2m_persis…

    …ter_single_inheritence_parent_relation_bugfix
    
    GH11551 - fix OneToManyPersister::deleteEntityCollection case where single-inheritence table parent entity is targetEntity.
    greg0ire authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    8ac6a13 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. DQL custom functions: document TypedExpression

    Partially related to doctrine#11537
    
    Co-authored-by: Claudio Zizza <[email protected]>
    janedbal and SenseException committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    3f550c1 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. Merge pull request doctrine#11550 from janedbal/patch-1

    DQL custom functions: document TypedExpression
    greg0ire authored Aug 9, 2024
    Configuration menu
    Copy the full SHA
    205b2f5 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  1. 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 doctrine#11108
    mcurland authored and greg0ire committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    fe4a2e8 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Merge pull request doctrine#11557 from d-ph/feature/make-count-walker…

    …-use-count-star-query-sometimes
    
    Make CountWalker use COUNT(*) when $distinct is explicitly set to false (doctrine#11552)
    greg0ire authored Aug 19, 2024
    Configuration menu
    Copy the full SHA
    5f1fe15 View commit details
    Browse the repository at this point in the history
  2. Add support for using nested DTOs

    This feature allow use of nested new operators
    
    Co-authored-by: Tomas Norkūnas <[email protected]>
    Co-authored-by: Sergey Protko <[email protected]>
    Co-authored-by: Łukasz Zakrzewski <[email protected]>
    
    Update docs/en/reference/dql-doctrine-query-language.rst
    
    Co-authored-by: Claudio Zizza <[email protected]>
    eltharin and SenseException committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    8c582a4 View commit details
    Browse the repository at this point in the history
  3. Merge pull request doctrine#11576 from eltharin/newnestedDto

    Re: Re: Add support for using nested DTOs
    greg0ire authored Aug 19, 2024
    Configuration menu
    Copy the full SHA
    6f93ceb View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Merge pull request doctrine#11109 from mcurland/Fix11108

    Original entity data resolves inverse 1-1 joins
    greg0ire authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    168ac31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a82b15 View commit details
    Browse the repository at this point in the history
  3. Merge pull request doctrine#11581 from greg0ire/3.2.x

    Merge 2.19.x up into 3.2.x
    greg0ire authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    831a1eb View commit details
    Browse the repository at this point in the history
  4. Merge pull request doctrine#11583 from doctrine/3.2.x-merge-up-into-3…

    ….3.x_lYlOLiIT
    
    Merge release 3.2.2 into 3.3.x
    greg0ire authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    e1dc94d View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2024

  1. Configuration menu
    Copy the full SHA
    c6b2d89 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Configuration menu
    Copy the full SHA
    6cde337 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Configuration menu
    Copy the full SHA
    cfc0655 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Merge pull request doctrine#11596 from doctrine/3.2.x

    Merge 3.2.x up into 3.3.x
    greg0ire authored Sep 5, 2024
    Configuration menu
    Copy the full SHA
    5724e62 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. 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.
    greg0ire committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    25d5bc5 View commit details
    Browse the repository at this point in the history
  2. Install guides-cli as a dev requirement

    It is better if contributors can check the docs by themselves.
    greg0ire committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    e6961bd View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. Merge pull request doctrine#11615 from greg0ire/move-orphan

    Move orphan metadata to where it belongs
    greg0ire authored Sep 29, 2024
    Configuration menu
    Copy the full SHA
    1bf4603 View commit details
    Browse the repository at this point in the history
  2. Merge pull request doctrine#11614 from greg0ire/guides-as-dep

    Guides as dev dependency
    greg0ire authored Sep 29, 2024
    Configuration menu
    Copy the full SHA
    93ce84f View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Bump doctrine/.github from 5.0.1 to 5.1.0 (doctrine#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>
    dependabot[bot] authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    2432939 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Configuration menu
    Copy the full SHA
    b7fd824 View commit details
    Browse the repository at this point in the history
  2. Merge pull request doctrine#11618 from n0099/patch-1

    unclosed `]` in attributes-reference.rst
    greg0ire authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    d18126a View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Configuration menu
    Copy the full SHA
    7f0a181 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. Merge pull request doctrine#11619 from eltharin/change_EBNF

    add nested new in EBNF documentation
    greg0ire authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    434b7ce View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    b13564c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc28fed View commit details
    Browse the repository at this point in the history
  3. Merge pull request doctrine#11627 from greg0ire/no-custom-directives

    Replace custom directives with native option
    greg0ire authored Oct 8, 2024
    Configuration menu
    Copy the full SHA
    0c0c61c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    44dddb2 View commit details
    Browse the repository at this point in the history
  5. Merge pull request doctrine#11629 from greg0ire/3.2.x

    Merge 2.19.x up into 3.2.x
    greg0ire authored Oct 8, 2024
    Configuration menu
    Copy the full SHA
    191a536 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Configuration menu
    Copy the full SHA
    d297830 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dbf26db View commit details
    Browse the repository at this point in the history
  3. Remove int from union type

    This case is no longer necessary now that we have a ParameterType enum.
    greg0ire committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    b5c0e01 View commit details
    Browse the repository at this point in the history