4.5.0
Fluid 4.5 makes advances in two areas: It contains a range of new ViewHelpers that should make the life of integrators easier. Also, it includes deprecations in preparation for the upcoming Fluid 5.0, which will contain various breaking changes.
New ViewHelpers in Fluid 4.5:
<f:range>creates an array containing the specified range of integers<f:length>returns the length of a given string<f:merge>merges two given arrays into one<f:startsWith>and<f:endsWith>check if a given string starts or ends with another string<f:round>,<f:ceil>and<f:floor>provide various ways to round floats<f:min>and<f:max>return the minimum/maximum value in the given array<f:contains>checks if a given array/string contains the given value
The deprecations and preparations for the upcoming Fluid 5.0 are listed in the documentation: Changelog 4.x
What's Changed
- [TASK] Avoid mocking of nodes in tests by @s2b in #1143
- [FEATURE] RangeViewHelper to return a range of integers as array (#11… by @s2b in #1171
- [FEATURE] LengthViewHelper returns the length of a given string (#1169) by @s2b in #1172
- [TASK] Annotate correct return types in ViewInterface (#1181) by @s2b in #1182
- [TASK] Deprecate unknown VH namespace syntax by @s2b in #1179
- [TASK] Add PHP 8.5 to test matrix (#1185) by @lolli42 in #1186
- [BUGFIX] Fix path access in
ChainedVariableProvider::get(#1165) by @lolli42 in #1187 - [TASK] Apply react/promise patch to fix PHP 8.5 deprecation by @lolli42 in #1190
- [DOCS] Improve TYPO3-related sections of components docs (#1188) by @s2b in #1192
- [TASK] Apply new cgl rules by @s2b in #1196
- [BUGFIX] Address bug in test ViewHelper by @s2b in #1201
- [BUGFIX] Call proper API to obtain ViewHelper API (#1199) by @s2b in #1202
- [TASK] Remove micro-optimization from HtmlspecialcharsViewHelper (#1197) by @s2b in #1203
- [FEATURE] <f:merge> ViewHelper (#1206) by @s2b in #1207
- [FEATURE] <f:startsWith> and <f:endsWith> ViewHelpers (#1170) by @s2b in #1208
- [TASK] Deprecate old cache warmup feature by @s2b in #1210
- [FEATURE] Introduce ViewHelperArgumentsValidated event by @s2b in #1200
- Revert "[TASK] Apply react/promise patch to fix PHP 8.5 deprecation by @lolli42 in #1215
- [BUGFIX] Allow NULL for optional arguments with default by @s2b in #1222
- [TASK] Address deprecations introduced by PHP 8.5 (#1236) by @s2b in #1238
- [FEATURE] Add f:round, f:ceil and f:floor ViewHelpers (#1220) by @s2b in #1240
- [TASK] Remove false-positive from phpstan baseline by @s2b in #1252
- [FEATURE] Add f:min and f:max ViewHelpers (#1245) by @s2b in #1251
- [TASK] Deprecate variables that start with a "_" (#1253) by @s2b in #1256
- [TASK] Deprecate CDATA removal from templates (#1231) by @s2b in #1257
- [FEATURE] <f:contains> ViewHelper (#1193) by @s2b in #1262
Full Changelog: 4.4.3...4.5.0