Skip to content

Merge 3.6.x up into 4.0.x #12092

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 34 commits into from
Jul 30, 2025
Merged

Merge 3.6.x up into 4.0.x #12092

merged 34 commits into from
Jul 30, 2025

Conversation

greg0ire
Copy link
Member

No description provided.

greg0ire and others added 30 commits July 1, 2025 19:45
3.5.0 has been released.

- 3.6.x is the new upcoming branch;
- 3.5.x is now the current branch;
- 3.4.x is no longer maintained.
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.
Since doctrine/doctrine-website#372, they are no
longer necessary, it's possible to rely on tags. Once this is merged,
the branches can be removed.
Remove branchName from unmaintained branch
  Add proper handling for binary primary key parameter types that were
  previously causing runtime exceptions. The existing parameter type
  switch statement was missing a case for binary types, leading to
  unhandled scenarios when working with binary primary keys.

  This ensures consistent parameter type handling across all supported
  primary key data types in the ORM.
Co-authored-by: Grégoire Paris <postmaster@greg0ire.fr>
…-reupload

Fix unhandled ParameterType case for binary PKs
      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.
This should fix the build. Maybe some of the reported issues can be
addressed, but if that is the case, it should probably be done on the
next minor branch.
Update baseline because of doctrine/dbal 4.3.0
…misuse

QueryBuilder: prevent misuse of DELETE with LIMIT
Proxy class with BackedEnum as primary key does not convert the enum
📖 Actualize code block to be compatible with DBAL v4, use modern PHP
Fix embedded classes display in orm:mapping:command output
…output

Add JSON format option for orm:mapping:describe command output
@greg0ire greg0ire merged commit a93d7d2 into doctrine:4.0.x Jul 30, 2025
27 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.

7 participants