Skip to content

Release v2.5.1

Choose a tag to compare

@github-actions github-actions released this 13 Oct 11:45
· 81 commits to main since this release

Release v2.5.1: container compiles in dev when the profiler is disabled

Changelog

Fixed

  • api.path_prefix is validated as a string at config load: ~/non-string values used to pass the config tree and crash MenuApiRouteLoader (typed string) when the routes were loaded.
  • The container no longer fails to compile in dev when the profiler is disabled (framework.profiler.enabled: false, or no profiler configured): DashboardMenuDataCollector required the profiler service unconditionally. A compiler pass (DataCollectorProfilerPass) now removes the collector when profiler is unavailable and the Twig extension takes it as an optional dependency; with the profiler enabled the toolbar/panel collector is registered as before.

Full Changelog: v2.5.0...v2.5.1