Skip to content

Release v0.3.43

Choose a tag to compare

@github-actions github-actions released this 14 Jul 08:17

Release 0.3.43

Changelog

Added

  • Menu tree cache invalidation: MenuTreeCacheInvalidator bumps a per-menu.code version counter in the configured PSR-6 pool; MenuCacheInvalidationSubscriber invalidates on Doctrine postPersist / postUpdate / postRemove for Menu and MenuItem (including menu code renames).

Changed

  • Frontend menu performance: CurrentRouteTreeDecorator precomputes href on link/service nodes; Twig uses node.href (fallback dashboard_menu_href(item) for custom trees). MenuUrlResolver memoizes hrefs per request and implements ResetInterface (FrankenPHP worker-safe).
  • Cache reads: MenuTreeCacheInvalidator memoizes version lookups per request (also ResetInterface) so repeated loadTree() calls for the same menu code avoid extra pool reads. Tree cache keys include the version suffix (.v{N}).

Fixed

  • Stale menu cache: edits in the dashboard, import, or Live Component now invalidate cached trees immediately instead of waiting for TTL.

Changed (demos / tooling)

  • Demos: bumped dev dependencies in Symfony 7/8 composer.lock (e.g. PHP CS Fixer, Rector); reference.php stub alignment.
  • Repository: .gitignore excludes .cursor/sandbox.json.

Full Changelog: v0.3.41...v0.3.43