Skip to content

Release v0.3.17

Choose a tag to compare

@github-actions github-actions released this 19 Mar 14:53

Release 0.3.17

Changelog

Added

  • UX Autocomplete detection: new Twig global nowo_dashboard_ux_autocomplete_available computed from the presence of Symfony\UX\Autocomplete\AutocompleteBundle. Dashboard item form templates apply the autocomplete form theme only when it is available.
  • CSRF consistency: dashboard menu item forms set csrf_token_id to submit (controller + LiveComponent) to keep CSRF behaviour aligned across Symfony versions.

Changed

  • MenuDashboardController: when creating a child item, uses _query to include parent id in the generated URL.
  • Templates: wrap {% form_theme '@SymfonyUXAutocomplete/autocomplete_form_theme.html.twig' %} in the new availability guard in:
    • dashboard/_item_form_partial.html.twig
    • dashboard/item_form.html.twig
    • components/ItemFormLiveComponent.html.twig

Fixed

  • Avoid warnings/errors when the Symfony UX Autocomplete bundle is not installed.
  • Demo Symfony 7: enable sessions and CSRF support (framework.csrf_protection.enabled, framework.session: true) and enable framework.property_info for older Symfony configs.

Full Changelog: v0.3.16...v0.3.17