Repository navigation
Release v2.12.0
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">indashboard/_menu_form_fields,dashboard/_item_form_fieldsandcomponents/ItemFormLiveComponent.MenuTypeandMenuItemTypeadd an unmappedHiddenTypechild_sectionwhenever theirsectionoption is set (MenuType::SECTION_FIELD), the views render it withform_widget(form._section), andMenuDashboardControllerreads it from the posted form (menu[_section]/menu_item[_section]), still accepting a top-level_sectionfrom 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 andpnpm-lock.yaml) instead of the build time, so rebuilding unchanged sources leaves the published JS byte-identical; the console line readsbuild:instead ofbuild time:.
Added
make check-no-raw-html-form(.scripts/check-no-raw-html-form.sh), run bymake 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