Skip to content

Release v0.3.4

Choose a tag to compare

@github-actions github-actions released this 18 Mar 07:19

Release 0.3.4

Changelog

Added

  • Dashboard export/import: Export one menu or all menus as JSON (config + item tree, no internal IDs). Import from JSON with strategy Skip existing or Replace. See USAGE and CONFIGURATION (dashboard routes).
  • Config: dashboard.layout_template — Twig template that dashboard views extend (default: @NowoDashboardMenuBundle/dashboard/layout.html.twig). Must define block content. Override to use your app base layout. Recipe and demos document the option.
  • MenuUrlResolver: Fills missing path parameters from the current request’s route params when generating item URLs (e.g. same id or _locale). On URL generation failure, adds an error message to the session flash bag.
  • Twig global: nowo_dashboard_layout_template — value of dashboard.layout_template for use in templates (e.g. {% extends nowo_dashboard_layout_template %}).

Changed

  • Dashboard views: Main content block renamed from dashboard_body to content for consistency. Override templates/bundles/NowoDashboardMenuBundle/dashboard/layout.html.twig if you extend the bundle layout and use custom blocks.
  • Docs: CONFIGURATION documents layout_template; USAGE documents export/import and URL resolution from current request.

Fixed

  • MenuExporter: exportAll() no longer passes a locale argument to exportMenu() (signature has no locale parameter).
  • Compiler pass: AutoTagPermissionCheckersPass skips service definitions whose class cannot be loaded (e.g. when PhpParser or other optional deps trigger autoload errors during container compile).

Full Changelog: v0.3.3...v0.3.4