Review main Merged Breaking

90522[!!!][TASK] Update Fluid Standalone to 5.0

Simon Praetorius CR +2 V +2 Hard +506 −81 updated 11/17/25, 13:50

Commit message

This patch updates Fluid to the recently released major version 5.0.

Used commands:

> composer req typo3fluid/fluid:^5.0.0
> composer req -d typo3/sysext/adminpanel --no-update \
>     typo3fluid/fluid:^5.0.0
> composer req -d typo3/sysext/core --no-update \
>     typo3fluid/fluid:^5.0.0
> composer req -d typo3/sysext/fluid --no-update \
>     typo3fluid/fluid:^5.0.0
> composer req -d typo3/sysext/redirects --no-update \
>     typo3fluid/fluid:^5.0.0

Release notes on GitHub:
https://github.com/TYPO3/Fluid/releases/tag/5.0.0

Important new features and breaking changes are documented as RST
files, which also mention TYPO3-specifics that are not part of the
documentation of Fluid Standalone.

While most necessary code changes in the Core could already be applied
as pre-patches, the integration of Fluid 5.0 still needs a few
adjustments in TYPO3:

* The `ArgumentProcessorInterface` and its default implementation
  `StrictArgumentProcessor` now support DI and can also be replaced
  with a custom implementation.
* The `<f:format.bytes>` ViewHelper profited from the flaky argument
  validation in the past. The argument type for `value` is now
  properly defined using the new union types feature.
* Tests for `<f:media>` and `<f:image>` are adjusted to reflect
  Fluid's new handling of `null` in HTML attributes.

The following topics will be addressed as follow-ups:

* renaming of Fluid template files to new `*.fluid.*` file extension
  + associated RST file
* automatic cache warmup for Fluid templates
* simplification of ViewHelper implementations (probably after 14.0
  release)

Review

  • Code review CR +2 Done
    • Simon Praetorius +2
    • Lina Wolf +1
    • Stefan Bürk +1
    • Christian Kuhn +1
  • Verified V +2 Done
    • Simon Praetorius +2
    • Oliver Klee +1
    • Lina Wolf +1
    • Stefan Bürk +1
    • Christian Kuhn +1
    • core-ci +1 CI

Issues 1

Files 19

Review log 5591

Show 3566 earlier messages
  1. Simon Praetorius uploaded patch set 1 08/31/25, 07:02

  2. Simon Praetorius uploaded patch set 2 08/31/25, 07:20

  3. core-ci voted on patch set 2 V -1 08/31/25, 07:36 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/84071

  4. Simon Praetorius uploaded patch set 3 V -1 08/31/25, 08:53

  5. Simon Praetorius uploaded patch set 4 08/31/25, 09:00

  6. core-ci voted on patch set 3 V -1 08/31/25, 09:05 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/84072

  7. Simon Praetorius uploaded patch set 5 08/31/25, 09:07

  8. core-ci voted on patch set 4 V -1 08/31/25, 09:09 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/84073

  9. Simon Praetorius uploaded patch set 6 08/31/25, 09:12

  10. Simon Praetorius uploaded patch set 7 08/31/25, 09:14

  11. Simon Praetorius uploaded patch set 8 08/31/25, 09:16

  12. core-ci voted on patch set 7 V -1 08/31/25, 09:27 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/84076

  13. core-ci voted on patch set 6 V -1 08/31/25, 09:28 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/84075

  14. core-ci voted on patch set 8 V -1 08/31/25, 09:33 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/84077

  15. core-ci voted on patch set 5 V -1 08/31/25, 09:40 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/84074

  16. Simon Praetorius uploaded patch set 9 V -1 08/31/25, 09:57

  17. Simon Praetorius uploaded patch set 10 08/31/25, 10:06

  18. Simon Praetorius uploaded patch set 11 08/31/25, 10:11

  19. Simon Praetorius uploaded patch set 12 08/31/25, 10:16

  20. core-ci voted on patch set 10 V -1 08/31/25, 10:20 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/84080

  21. Simon Praetorius uploaded patch set 13 08/31/25, 10:21

  22. core-ci voted on patch set 11 V -1 08/31/25, 10:25 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/84082

  23. Simon Praetorius uploaded patch set 14 08/31/25, 10:26

  24. core-ci voted on patch set 12 V -1 08/31/25, 10:28 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/84083

  25. core-ci voted on patch set 13 V -1 08/31/25, 10:34 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/84084

  26. core-ci voted on patch set 14 V -1 08/31/25, 10:40 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/84085

  27. Simon Praetorius uploaded patch set 15 V -1 08/31/25, 10:45

  28. core-ci voted on patch set 15 V +1 08/31/25, 10:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/84088

  29. Simon Praetorius uploaded patch set 16 V +1 08/31/25, 11:58

  30. core-ci voted on patch set 16 V +1 08/31/25, 12:06 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/84092

  31. Simon Praetorius rebased onto patch set 17 V +1 09/01/25, 08:23

  32. core-ci voted on patch set 17 V +1 09/01/25, 08:31 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/84129

  33. Simon Praetorius uploaded patch set 18 V +1 10/09/25, 16:19

  34. core-ci voted on patch set 18 V -1 10/09/25, 16:23 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/86325

  35. Simon Praetorius uploaded patch set 19 V -1 10/09/25, 16:29

  36. Simon Praetorius uploaded patch set 20 10/09/25, 16:33

  37. core-ci voted on patch set 19 V -1 10/09/25, 16:34 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/86326

  38. core-ci voted on patch set 20 V -1 10/09/25, 16:46 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/86327

  39. Simon Praetorius uploaded patch set 21 V -1 10/09/25, 16:50

  40. core-ci voted on patch set 21 V -1 10/09/25, 17:02 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/86329

  41. Simon Praetorius uploaded patch set 22 V -1 10/10/25, 13:08

  42. core-ci voted on patch set 22 V +1 10/10/25, 13:15 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/86403

  43. Simon Praetorius uploaded patch set 23 V +1 10/31/25, 16:38

  44. core-ci voted on patch set 23 V +1 10/31/25, 16:45 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88282

  45. Simon Praetorius uploaded patch set 24 V +1 11/09/25, 10:46

  46. core-ci voted on patch set 24 V +1 11/09/25, 10:54 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88733

  47. Simon Praetorius updated the commit message in patch set 25 V +1 11/09/25, 14:43

  48. core-ci voted on patch set 25 V +1 11/09/25, 14:51 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88739

  49. Simon Praetorius uploaded patch set 26 V +1 11/15/25, 14:04

  50. core-ci voted on patch set 26 V -1 11/15/25, 14:09 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89799

  51. Simon Praetorius rebased onto patch set 27 V -1 11/15/25, 15:19

  52. core-ci voted on patch set 27 V -1 11/15/25, 15:32 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89804

  53. Simon Praetorius uploaded patch set 28 V -1 11/15/25, 16:08

  54. core-ci voted on patch set 28 V -1 11/15/25, 16:21 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89808

  55. Simon Praetorius uploaded patch set 29 V -1 11/15/25, 16:36

  56. Simon Praetorius uploaded patch set 30 11/15/25, 16:38

  57. core-ci voted on patch set 29 V +1 11/15/25, 16:44 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89810

  58. core-ci voted on patch set 30 V +1 11/15/25, 16:46 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89811

  59. Simon Praetorius uploaded patch set 31 V +1 11/16/25, 13:17

  60. core-ci voted on patch set 31 V +1 11/16/25, 13:25 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89859

  61. Simon Praetorius uploaded patch set 32 V +1 11/16/25, 16:10

  62. core-ci voted on patch set 32 V +1 11/16/25, 16:19 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89868

  63. Simon Praetorius uploaded patch set 33 V +1 11/16/25, 16:22

  64. core-ci voted on patch set 33 V +1 11/16/25, 16:30 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89870

  65. Simon Praetorius uploaded patch set 34 V +1 11/16/25, 17:10

  66. Simon Praetorius rebased onto patch set 35 11/16/25, 17:12

  1. Simon Praetorius marked it ready for review 11/16/25, 17:13

  2. core-ci voted on patch set 35 V +1 11/16/25, 17:21 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89873

  3. core-ci voted on patch set 34 V -1 11/16/25, 17:26 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89872

  4. Simon Praetorius updated the commit message in patch set 36 V +1 11/16/25, 17:28

  5. core-ci voted on patch set 36 V +1 11/16/25, 17:36 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89875

  6. Garvin Hicking commented on patch set 36 11/16/25, 17:50

    Breaking-108148-CDATASectionsNoLongerRemoved.rst:6

    ```suggestion Breaking: #108148 - CDATA Sections In Fluid Templates No Longer Removed ```

    Breaking-108148-FluidUnderscoreVariablePrefix.rst:6

    ```suggestion Breaking: #108148 - Disallow Fluid Variable Names With Underscore Prefix ```
  7. Garvin Hicking commented on patch set 36 11/16/25, 18:31

    Breaking-108148-CDATASectionsNoLongerRemoved.rst:41

    ```suggestion should be used. Since TYPO3 13, potential Fluid syntax errors are ignored by these ```
  8. Chris Müller commented on patch set 36 11/16/25, 18:33

    Breaking-108148-StrictTypesInFluidViewHelpers.rst:15

    ```suggestion context of ViewHelpers. This has consequences in three areas: ```

    Breaking-108148-StrictTypesInFluidViewHelpers.rst:55

    ```suggestion -------------------------------------------- ```

    Feature-108148-AlternativeFluidSyntaxForCDATASections.rst:21

    ```suggestion in Fluid templates. In `<![CDATA[ ]]>` sections, this syntax is now ignored. Instead, ```
  9. Garvin Hicking commented on patch set 36 11/16/25, 18:34

    Breaking-108148-FluidUnderscoreVariablePrefix.rst:41

    Could you give an example of the exception? This will help finding this changleog in search engines, they they still exist after 14.4.
  10. Chris Müller commented on patch set 36 11/16/25, 18:39

    Services.yaml:32

    "public: false" and "shared: true" are the default, so there should be no need to configure them manually.
  11. Garvin Hicking commented on patch set 36 11/16/25, 18:53

    Feature-108148-AlternativeFluidSyntaxForCDATASections.rst:27

    i think this needs a link to a fluid5 version "@5.0" if that is the version tag of the docs? Otherwise if the page is updated it will no longer reflect v14 state of this page. Maybe a reduced small example could also be shown here?
  12. Simon Praetorius commented on patch set 36 11/16/25, 19:29

    Services.yaml:32 Reply

    In this case it's necessary: Classes in Fluid Standalone are not part of DI by default and need to be registered there manually.
  13. Simon Praetorius commented on patch set 36 11/17/25, 08:27

    Breaking-108148-CDATASectionsNoLongerRemoved.rst:6 Reply

    Fix applied.

    Breaking-108148-CDATASectionsNoLongerRemoved.rst:41 Reply

    Fix applied.

    Breaking-108148-FluidUnderscoreVariablePrefix.rst:6 Reply

    Fix applied.

    Breaking-108148-StrictTypesInFluidViewHelpers.rst:15 Reply

    Fix applied.

    Breaking-108148-StrictTypesInFluidViewHelpers.rst:55 Reply

    Fix applied.

    Feature-108148-AlternativeFluidSyntaxForCDATASections.rst:21 Reply

    Fix applied.
  14. Simon Praetorius commented on patch set 37 V +1 11/17/25, 08:28

    Published edit on patch set 36.
  15. core-ci voted on patch set 37 V +1 11/17/25, 08:36 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89910

  16. Simon Praetorius uploaded patch set 38 V +1 11/17/25, 08:40

  17. Simon Praetorius commented on patch set 38 11/17/25, 08:42

    Breaking-108148-FluidUnderscoreVariablePrefix.rst:41 Reply

    Done

    Feature-108148-AlternativeFluidSyntaxForCDATASections.rst:27 Reply

    I've added one of the examples inline. The versioned link syntax didn't do anything for me, so I left it out for now. I'm open to input here.
  18. core-ci voted on patch set 38 V +1 11/17/25, 08:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/89915

  19. Christian Kuhn commented on patch set 38 CR +1 V +1 11/17/25, 12:43

    Feature-108148-AlternativeFluidSyntaxForCDATASections.rst:27 Reply

    let us set this resolved for now: if a docs expert manages to create a better link, please push directly, or change as separate patch.
  20. Stefan Bürk voted on patch set 38 CR +1 V +1 11/17/25, 12:53

  21. Oliver Klee voted on patch set 38 V +1 11/17/25, 12:55

  22. Simon Praetorius voted on patch set 38 CR +2 V +2 11/17/25, 12:55

  23. Simon Praetorius merged patch set 39 11/17/25, 12:55

  24. Lina Wolf commented on patch set 39 CR +1 V +1 11/17/25, 12:59

    Post merge +1: I was testing this on the t3docs/blog_example extension and saw no ill effect.
  25. Simon Praetorius commented on patch set 39 11/17/25, 13:50

    Reply

    Thanks for testing this. :)