Skip to content

Release v2.7.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 09:10
· 71 commits to main since this release

Release v2.7.0

Changelog

Added

  • Per-locale tabs: form theme @NowoFormKitBundle/form/locale_tabs_theme.html.twig, partial @NowoFormKitBundle/form/_locale_tabs.html.twig and LocaleTabsExtension (locale_tabs option on any field). One WAI-ARIA tab per locale for a compound field keyed by locale; default locale marked, invalid tabs marked and opened first, inactive panels hidden server-side; works with a Stimulus tabs controller (UiKit peer) or the UiKit nowo-ui-tabs.js IIFE; no inline JS/CSS. Optional neutral stylesheet locale-tabs.css (nowo_form_kit asset package). Ported from podologiapriego-web admin/_locale_field_tabs.html.twig.
  • Stateless CSRF for public forms (opt-in): nowo_form_kit.stateless_csrf (enabled: false, token_id: submit, form_types: [], register_stateless_token_id: true) → StatelessCsrfTokenIdExtension per listed type + framework.csrf_protection.stateless_token_ids prepend. Ported from podologiapriego-web StatelessCsrfPublicFormTypeExtension.
  • Dev dependency symfony/security-csrf (integration test of the CSRF token id default).

Full Changelog: v2.6.2...v2.7.0