Changelog 4.x

4.0

  • Breaking: Method TYPO3Fluid\Fluid\View\AbstractTemplateView::initializeRenderingContext() has been removed.
  • Breaking: Method TYPO3Fluid\Fluid\View\AbstractTemplateView::setCache() has been removed.
  • Breaking: Method TYPO3Fluid\Fluid\View\AbstractTemplateView::getTemplatePaths() has been removed.
  • Breaking: Method TYPO3Fluid\Fluid\View\AbstractTemplateView::getViewHelperResolver() has been removed.
  • Breaking: Change visibility of class constants that represent internal Fluid state. The following constants have been set to protected and can only be accessed by AbstractTemplateView and its child implementations: TYPO3Fluid\Fluid\View\AbstractTemplateView::RENDERING_TEMPLATE, TYPO3Fluid\Fluid\View\AbstractTemplateView::RENDERING_PARTIAL, TYPO3Fluid\Fluid\View\AbstractTemplateView::RENDERING_LAYOUT
  • Breaking: Careful addition of method and property type hints throughout the system. This should be only mildly breaking and projects should be able to adapt easily.
  • Deprecation: First parameter of method TYPO3Fluid\Fluid\View\TemplatePaths->__construct() is deprecated. The Constructor will be removed with Fluid v5.
  • Deprecation: Method TYPO3Fluid\Fluid\View\TemplatePaths->fillFromConfigurationArray() now emits a E_USER_DEPRECATED level error.
  • Deprecation: Method TYPO3Fluid\Fluid\View\TemplatePaths->fillDefaultsByPackageName() now emits a E_USER_DEPRECATED level error.
  • Deprecation: Method TYPO3Fluid\Fluid\View\TemplatePaths->ensureAbsolutePaths() now emits a E_USER_DEPRECATED level error.
  • Deprecation: Method TYPO3Fluid\Fluid\View\TemplatePaths->extractPathArrays() now emits a E_USER_DEPRECATED level error.
  • Deprecation: Method TYPO3Fluid\Fluid\View\TemplatePaths->getPackagePath() now emits a E_USER_DEPRECATED level error.
  • Deprecation: Method TYPO3Fluid\Fluid\View\TemplatePaths->toArray() now emits a E_USER_DEPRECATED level error.
  • Deprecation: Constant TYPO3Fluid\Fluid\View\TemplatePaths::DEFAULT_TEMPLATES_DIRECTORY has been marked as deprecated and will be removed in Fluid v5.
  • Deprecation: Constant TYPO3Fluid\Fluid\View\TemplatePaths::DEFAULT_LAYOUTS_DIRECTORY has been marked as deprecated and will be removed in Fluid v5.
  • Deprecation: Constant TYPO3Fluid\Fluid\View\TemplatePaths::DEFAULT_PARTIALS_DIRECTORY has been marked as deprecated and will be removed in Fluid v5.
  • Deprecation: Trait TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic now emits a E_USER_DEPRECATED level error.
  • Deprecation: Trait TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithContentArgumentAndRenderStatic now emits a E_USER_DEPRECATED level error.
  • Deprecation: Static method renderStatic() on ViewHelpers that don't use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic or TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithContentArgumentAndRenderStatic now emits a E_USER_DEPRECATED level error.
  • Deprecation: Method TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper->overrideArgument() now emits a E_USER_DEPRECATED level error.
  • Deprecation: Calling method TYPO3Fluid\Fluid\Core\ViewHelper\AbstractTagBasedViewHelper->registerUniversalTagAttributes() now emits a E_USER_DEPRECATED level error.
  • Deprecation: Calling method TYPO3Fluid\Fluid\Core\ViewHelper\AbstractTagBasedViewHelper->registerTagAttribute() now emits a E_USER_DEPRECATED level error.
  • Breaking: Method TYPO3Fluid\Fluid\Core\ViewHelper\AbstractConditionViewHelper->evaluateCondition() and handling has been removed.
  • Breaking: Method TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode->getAccessors() has been removed.
  • Breaking: Constant TYPO3Fluid\Fluid\Core\Compiler\TemplateCompiler::SHOULD_GENERATE_VIEWHELPER_INVOCATION has been removed.
  • Breaking: Constant TYPO3Fluid\Fluid\Core\Variables\StandardVariableProvider::ACCESSOR_ARRAY has been removed.
  • Breaking: Constant TYPO3Fluid\Fluid\Core\Variables\StandardVariableProvider::ACCESSOR_GETTER has been removed.
  • Breaking: Constant TYPO3Fluid\Fluid\Core\Variables\StandardVariableProvider::ACCESSOR_ASSERTER has been removed.
  • Breaking: Constant TYPO3Fluid\Fluid\Core\Variables\StandardVariableProvider::ACCESSOR_PUBLICPROPERTY has been removed.
  • Breaking: Static property TYPO3Fluid\Fluid\Core\Parser\Patterns::$SCAN_PATTERN_ESCAPINGMODIFIER has been removed.
  • Breaking: Trait TYPO3Fluid\Fluid\Core\ViewHelper\Traits\ParserRuntimeOnly has been removed.
  • Breaking: Interface TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\Expression\ParseTimeEvaluatedExpressionNodeInterface and its handling has been removed.
  • Breaking: Class TYPO3Fluid\Fluid\Core\Variables\VariableExtractor has been removed.
  • Breaking: Class TYPO3Fluid\Fluid\Core\Compiler\ViewHelperCompiler has been removed.
  • Breaking: Exception TYPO3Fluid\Fluid\Core\Compiler\StopCompilingChildrenException and its handling has been removed.
  • Breaking: Test abstracts TYPO3Fluid\Fluid\Tests\BaseTestCase and TYPO3Fluid\Fluid\Tests\UnitTestCase have been removed.
  • Breaking: Using invalid namespace https://typo3.org instead of http://typo3.org (https vs. http) throws an exception
  • Important: Minimum PHP version has been raised to ^8.2