Skip to content

1.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Oct 07:13
· 1 commit to main since this release

Added

  • Symfony 8 support (#14). Symfony 8 needs PHP 8.4 and DoctrineBundle 3; applications moving to it follow DoctrineBundle's own upgrade notes. Symfony 6.4 and 7 stay supported, and nothing changes for applications that stay on them.

Fixed

  • SoftDeleteTrait::delete() failed on every call (#14). It passed the entity id where DeleteDataResult expects a status, so each delete ended in a TypeError, after the entity had already been soft-deleted (or removed). It now answers like DeleteTrait: success, or 400 for an unknown id.
  • Sorting on doctrine/orm 3.7+ (#14). ORM 3.7 deprecates the sort direction as a string; the list traits now pass the SortDirection enum where the installed ORM accepts it and keep the string on older versions.

Changed

  • The Composer package no longer ships tests, CI and development files (#13).
  • CI tests PHP 8.2–8.5 against Symfony 6.4, 7.4 and 8.x and runs PHPStan 2 at the configured level 8 (#13, #14).

See UPGRADING.md.

Changes since 1.2.0

  • chore: stop tracking composer.lock, Taskfile version tests like CI (8f4e975)
  • chore: upgrade to PHPStan 2 (4c434cd)
  • fix: SoftDeleteTrait::delete() threw a TypeError (9cad063)
  • fix: pass SortDirection to orderBy() on doctrine/orm 3.7+ (37134de)
  • feat: support Symfony 8 (c664b9c)
  • ci: unify the CI workflow (83e68d0)

Full Changelog: 1.2.0...1.3.0