Skip to content

Release v2.3.0

Choose a tag to compare

@github-actions github-actions released this 07 Oct 17:13
· 75 commits to main since this release

v2.3.0

Changelog

Changed

  • CSP-safe config islands: dashboard/layout.html.twig now emits <script type="application/json" id="nowo-breadcrumb-kit-dashboard"> (cssFramework, importPartialUrl, dashboardBase, i18n) instead of inline window.__breadcrumbKitDashboard / window.breadcrumbKitI18n assignments. Dashboard page templates emit <script type="application/json" id="nowo-breadcrumb-kit-dashboard-page">{"page":"…"}</script>.
  • dashboard.js parses the islands and merges them; falls back to window.__breadcrumbKitDashboard / window.breadcrumbKitI18n for one minor (removal planned in 2.4.0).
  • Inline breadcrumb editor: the inline IIFE in breadcrumb.html.twig is replaced by the external js/breadcrumb-inline.js (delegated data-* hooks only). data-breadcrumb-kit-inline-wrap no longer carries a ="1" value.

Deprecated

  • window.__breadcrumbKitDashboard global config (read-only fallback in dashboard.js).

Added

  • tests/Unit/Resources/CspSafeTemplatesTest.php guarding the no-inline-script contract.

What's Changed

  • chore(deps): bump nowo-tech/ui-kit-bundle from 1.8.3 to 1.8.4 by @dependabot[bot] in #43
  • chore(deps): bump nowo-tech/form-kit-bundle from 2.5.2 to 2.5.3 by @dependabot[bot] in #44
  • chore(deps): bump nowo-tech/phpstan-frankenphp from 1.1.3 to 1.2.0 by @dependabot[bot] in #45
  • chore(deps): bump phpstan/phpstan-phpunit from 2.0.18 to 2.0.21 in the phpstan group by @dependabot[bot] in #46
  • chore(deps): bump nowo-tech/form-kit-bundle from 2.5.3 to 2.5.4 by @dependabot[bot] in #47
  • chore(deps): bump igor-php/igor-php from 0.9.7 to 0.10.0 by @dependabot[bot] in #48
  • chore(deps): bump nowo-tech/ui-kit-bundle from 1.8.4 to 1.8.5 by @dependabot[bot] in #49
  • chore(deps): bump nowo-tech/phpstan-frankenphp from 1.2.0 to 1.2.1 by @dependabot[bot] in #50

Full Changelog: v2.2.0...v2.3.0