Release v0.3.4
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 blockcontent. 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
idor_locale). On URL generation failure, adds an error message to the session flash bag. - Twig global:
nowo_dashboard_layout_template— value ofdashboard.layout_templatefor use in templates (e.g.{% extends nowo_dashboard_layout_template %}).
Changed
- Dashboard views: Main content block renamed from
dashboard_bodytocontentfor consistency. Overridetemplates/bundles/NowoDashboardMenuBundle/dashboard/layout.html.twigif 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 toexportMenu()(signature has no locale parameter). - Compiler pass:
AutoTagPermissionCheckersPassskips 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