Skip to content

Merge 3.5.x up into 3.6.x#12244

Merged
greg0ire merged 44 commits intodoctrine:3.5.xfrom
greg0ire:3.6.x
Oct 27, 2025
Merged

Merge 3.5.x up into 3.6.x#12244
greg0ire merged 44 commits intodoctrine:3.5.xfrom
greg0ire:3.6.x

Conversation

@greg0ire
Copy link
Copy Markdown
Member

No description provided.

greg0ire and others added 30 commits July 1, 2025 21:21
That method has been deprecated for almost 15 years, in
85d4084.
On top of that I'm adding a deprecation for something related that was
scheduled for deprecation at in the same commit.
      This fixes a dangerous bug where LIMIT is silently ignored in DELETE
      operations, potentially causing developers to delete all rows instead
      of just the intended subset. The setMaxResults() method would be
      silently omitted from the final query, making operations like
      delete last entry accidentally delete entire tables.
…misuse

QueryBuilder: prevent misuse of DELETE with LIMIT
…output

Add JSON format option for orm:mapping:describe command output
* 3.5.x:
  Move LazyGhost deprecation to ProxyFactory (doctrine#12101)
  Address deprecations from doctrine/dbal (doctrine#12098)
….6.x_OhbrLWrh

Merge release 3.5.1 into 3.6.x
* 3.5.x:
  Don't partially mock the AbstractPlatform class (doctrine#12114)
….6.x_N9Rr16zf

Merge release 3.5.2 into 3.6.x
Deprecate specifying nullable on primary key columns
I forgot to copy it from another test.
* 3.5.x:
  Prefer non-deprecated AbstractAsset API (doctrine#12142)
In the scope of doctrine/persistence#433
(available from `doctrine/persistence` >= 4.1) there was added
`ColocatedMappingDriver::$classLocator` (`ClassLocator`) property,
which allows passing any instance of `ClassLocator` for the mapping
driver to use. This commit integrates those changes into `AttributeDriver`.

Since `doctrine/orm` maintains the support for `doctrine/persistence`
of older versions, tests ensure that `ClassLocator` actually exists.

The old paths' behaviour can be adapted into the new by passing
`FileClassLocator` into `AttributeDriver`
(see `FileClassLocator::createFromDirectories($directoryPaths)`).
…octrine-persistence-4.1

Feature: add support for `ClassLocator`
dmitryuk and others added 14 commits September 10, 2025 02:04
Co-authored-by: a.dmitryuk <a.dmitryuk@movavi.com>
* 3.5.x:
  Add a CI job that fails on deprecations (doctrine#12188)
  use the empty string instead of null as an array offset (doctrine#12181)
  do not call setAccessible() on PHP >= 8.1 (doctrine#12182)
  Fix docs on final entities (doctrine#12176)
  Remove Database and Model First chapters that said little of value.
  Switch to IgnoreDeprecations
  docs: consistent PostgreSQL's name case
  docs: generation strategies differences between DBAL 3 and 4
  Check extra condition to decide if a test was skipped
  Use PHPUnit 11 when possible
  Migrate away from annotations in tests
  Migrate away from assertStringNotMatchesFormat()
  Migrate to willReturn()
  Migrate away from getMockForAbstractClass()
  Fix `IN`/`NOT IN` expression handling and support enums when matching on to-many-collections
* 3.5.x:
  Fix missing import
  Remove calls to getMockForAbstractClass() (doctrine#12003)
  Upgrade to doctrine/coding-standard 14
  Bump doctrine/.github from 7.3.0 to 8.0.0
…er-result

Add deprecation messages for methods that were only annotated as being `@deprecated`
DQL arbitrary joins are semantically equivalent to SQL joins, so using
the same keyword reduces confusion. It also means that in next major
version, the WITH keyword will only be about applying adhoc filtering on
relations instead of having 2 responsibilities.
Update DQL arbitrary joins to use the ON keyword instead of WITH
@greg0ire greg0ire merged commit ffd3f50 into doctrine:3.5.x Oct 27, 2025
109 of 110 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