Repository navigation
Release v2.14.0
v2.14.0
Changelog
Attribute-declared JSON API route, canonical child loop in form templates, CI matrix 7.4/8.1 See UPGRADING.
Changed
- Routing (REQ-SF-004): the JSON API route
nowo_dashboard_menu_apiis now declared with#[Route('/{code}', …)]onMenuApiController.MenuApiRouteLoaderonly imports that attribute route (type: attribute) and prependsapi.path_prefix(no route whenapi.enabledis false). Route name, path (GET {api.path_prefix}/{code}, default/api/menu/{code}), requirements and methods are unchanged; hosts keep importing@NowoDashboardMenuBundle/Resources/config/routes.yaml. - Twig (REQ-TWIG-003): item and menu form fields keep their custom layout and then run the
{% for child in form %}{% if not child.rendered %}{{ form_row(child) }}{% endif %}{% endfor %}loop:_item_form_fields.html.twig,_menu_form_fields.html.twigandcomponents/ItemFormLiveComponent.html.twig(replacesform_rest). New FormType fields render automatically; in the menu dialog a section that is not shown as a fieldset now renders before the actions instead of after them (same order as the full page).
CI
- Symfony matrix (REQ-SF-002): the Symfony 8.0 cell is dropped (end of maintenance, July 2026; its
^8.0constraint installed 8.1 anyway). Matrix: Symfony 7.4 (PHP 8.2–8.5) and 8.1 (PHP 8.4–8.5).composer.jsonstill allows^8.0.
What's Changed
- refactor: attribute API route, form child loops, Symfony 8.0 CI cell (REQ 100%) by @HecFranco in #93
Full Changelog: v2.13.1...v2.14.0