Skip to content

Release v2.12.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 14:34
· 33 commits to main since this release

v2.12.0

Changelog

Form section focus rendered as a Form child instead of a raw hidden input (REQ-TWIG-005), check-no-raw-html-form in release-check, deterministic asset build id. See UPGRADING.

Changed

  • REQ-TWIG-005: the focused section of the menu and item forms is no longer a raw <input type="hidden" name="_section"> in dashboard/_menu_form_fields, dashboard/_item_form_fields and components/ItemFormLiveComponent. MenuType and MenuItemType add an unmapped HiddenType child _section whenever their section option is set (MenuType::SECTION_FIELD), the views render it with form_widget(form._section), and MenuDashboardController reads it from the posted form (menu[_section] / menu_item[_section]), still accepting a top-level _section from overridden templates. See UPGRADING.
  • The asset build stamp (__DASHBOARD_MENU_BUILD_TIME__, __STIMULUS_LIVE_BUILD_TIME__) is a deterministic build id (hash of the TypeScript sources and pnpm-lock.yaml) instead of the build time, so rebuilding unchanged sources leaves the published JS byte-identical; the console line reads build: instead of build time:.

Added

  • make check-no-raw-html-form (.scripts/check-no-raw-html-form.sh), run by make release-check: fails on raw <form> / <input> / <textarea> / <select> in the bundle and demo Twig (REQ-TWIG-005, REQ-MAKE-002).

What's Changed

  • chore(deps): bump nowo-tech/ui-kit-bundle from 2.6.1 to 2.7.0 by @dependabot[bot] in #87
  • fix(twig): render the form section focus as a Form child instead of a raw hidden input (REQ-TWIG-005) by @HecFranco in #89

Full Changelog: v2.11.2...v2.12.0