Release v1.6.0
v1.6.0
Changelog
Changed
- FormKitBundle: depend on
nowo-tech/form-kit-bundle^2.0. Admin form types useFormOptionsTrait+ profilecookie_consent(#[FormKitConfig]). Extension prepends that profile when missing; form types are taggedform.typesoFormOptionsMergeris injected. - UiKit: Admin templates use
ui.btn/ui.row_actionsmacros withnowo_cookie_consent_css_frameworkinstead of hard-coded Bootstrap button classes.
Added
- REQ-TWIG-004: require
twig/extra-bundle+twig/string-extra;make check-twig-extrainrelease-check; demos registerTwigExtraBundle. - Twig-CS-Fixer:
vincentlanglet/twig-cs-fixer,.twig-cs-fixer.php,composer twig:lint/twig:fix.
Changed
- REQ-UI-001-kit: Admin
nowo-ui.cssnow loads from UiKit (asset('css/nowo-ui.css', 'nowo_ui_kit')). Removed the forkedsrc/Resources/public/css/nowo-ui.css. Requiresnowo-tech/ui-kit-bundle^1.4. Cookie-consent modal assets (cookieconsent.css,nowo-cc-themes.css,nowo-consent-modal.js) stay on thenowo_cookie_consentpackage. Extension seedsnowo_ui_kitdefaults fromweb_ui.css_framework/icon_setwhen the host has not configured UiKit. Adminbase.html.twigimports@NowoUiKitBundle/macros/ui.html.twig(flashes viaui.flash, cookie-definition index create viaui.btn); duplicate inline flash loops removed from child templates. - REQ-UI-001 feedback: Cookie inventory delete uses UiKit
_confirm.html.twig+nowo-ui-confirm.js(POST+CSRF in dialog footer) instead of nativeconfirm(). - REQ-TWIG-003: Cookie definition admin form renders fields via
{% for child in form %}/form_row(child).