Skip to content

Release v2.1.11

Choose a tag to compare

@github-actions github-actions released this 17 Sep 09:00
· 127 commits to main since this release

Release 2.1.11

Changelog

Fixed

  • Menu links during controller forwards: MenuUrlResolver and MenuExtension use the main (browser) request for _route_params / permission context instead of the current sub-request. Forwards that replace attributes and drop _route_params no longer produce href="#" and broken sidebars. Loose path attributes on the sub-request are still used as a fallback.
  • Doctrine ORM 3.7: use \SortDirection in #[ORM\OrderBy] and QueryBuilder instead of "ASC" strings (Menu::items, MenuItem::children, repositories). Removes the deprecation from doctrine/orm (ClassMetadata / issue 11313).

Changed

  • Composer: doctrine/orm is now ^3.7 (drops ORM 2.x and 3.0–3.6). Required to pass SortDirection into mapping and QueryBuilder::orderBy().

Notes

  • Hosts on Doctrine ORM below 3.7 must upgrade ORM together with this bundle (see UPGRADING.md).

What's Changed

  • chore(deps): bump friendsofphp/php-cs-fixer from 3.95.22 to 3.95.23 by @dependabot[bot] in #66
  • chore(deps): bump rector/rector from 2.6.3 to 2.6.4 by @dependabot[bot] in #67
  • chore(deps): bump phpstan/phpstan from 2.2.10 to 2.2.13 in the phpstan group by @dependabot[bot] in #68
  • chore(deps): bump friendsofphp/php-cs-fixer from 3.95.23 to 3.95.24 by @dependabot[bot] in #69
  • chore(deps): bump vincentlanglet/twig-cs-fixer from 4.0.2 to 4.1.0 by @dependabot[bot] in #70
  • chore(deps): bump rector/rector from 2.6.4 to 2.6.6 by @dependabot[bot] in #71

Full Changelog: v2.1.10...v2.1.11