Review 14.3 Merged

94306[TASK] Avoid deprecated useNonce asset argument in styleguide

Christian Kuhn CR +2 V +2 Easy +7 −7 updated 06/03/26, 15:19

Commit message

The "useNonce" argument of the f:asset.script ViewHelper was
deprecated with #100887 in favor of "csp", which better reflects
its purpose of controlling Content-Security-Policy hash/nonce
collection per asset. It is removed in v15 with #109984.

Switch the styleguide backend Components demo templates from
useNonce="true" to csp="true" to avoid the deprecation log in v14.

Review

  • Code review CR +2 Done
    • Christian Kuhn +2
  • Verified V +2 Done
    • Christian Kuhn +2
    • core-ci +1 CI

Issues 4

Files 4

Review log 34

  1. Christian Kuhn uploaded patch set 1 06/03/26, 15:08

  2. core-ci voted on patch set 1 V +1 06/03/26, 15:15 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/102915

  3. Christian Kuhn commented on patch set 1 CR +2 V +2 06/03/26, 15:19

    merging this: this is an extract of the related 'breaking' change in v15 to avoid the remaining deprecated callers in v14 in styleguide. tested, looks good to me.
  4. Christian Kuhn merged patch set 2 06/03/26, 15:19