Changelog 2.x 

This Changelog lists notable deprecation and breaking changes. The full list of changes is available in the Fluid releases on GitHub.

2.15 

  • Deprecation: First parameter of method TYPO3FluidFluidViewTemplatePaths->__construct() is deprecated. The Constructor will be removed with Fluid v5.
  • Deprecation: Method TYPO3FluidFluidViewTemplatePaths->fillFromConfigurationArray() has been marked as deprecated. It will log a deprecation level error message when called in Fluid v4.
  • Deprecation: Method TYPO3FluidFluidViewTemplatePaths->fillDefaultsByPackageName() has been marked as deprecated. It will log a deprecation level error message when called in Fluid v4.
  • Deprecation: Method TYPO3FluidFluidViewTemplatePaths->ensureAbsolutePaths() has been marked as deprecated. It will log a deprecation level error message when called in Fluid v4.
  • Deprecation: Method TYPO3FluidFluidViewTemplatePaths->extractPathArrays() has been marked as deprecated. It will log a deprecation level error message when called in Fluid v4.
  • Deprecation: Method TYPO3FluidFluidViewTemplatePaths->getPackagePath() has been marked as deprecated. It will log a deprecation level error message when called in Fluid v4.
  • Deprecation: Method TYPO3FluidFluidViewTemplatePaths->toArray() has been marked as deprecated. It will log a deprecation level error message when called in Fluid v4.
  • Deprecation: Constant TYPO3FluidFluidViewTemplatePaths::DEFAULT_TEMPLATES_DIRECTORY has been marked as deprecated and will be removed in Fluid v5.
  • Deprecation: Constant TYPO3FluidFluidViewTemplatePaths::DEFAULT_LAYOUTS_DIRECTORY has been marked as deprecated and will be removed in Fluid v5.
  • Deprecation: Constant TYPO3FluidFluidViewTemplatePaths::DEFAULT_PARTIALS_DIRECTORY has been marked as deprecated and will be removed in Fluid v5.
  • Deprecation: Trait TYPO3FluidFluidCoreViewHelperTraitsCompileWithRenderStatic has been marked as deprecated. It will log a deprecation level error message when called in Fluid v4. It will be removed in Fluid v5.
  • Deprecation: Trait TYPO3FluidFluidCoreViewHelperTraitsCompileWithContentArgumentAndRenderStatic has been marked as deprecated. It will log a deprecation level error message when called in Fluid v4. It will be removed in Fluid v5.
  • Deprecation: Static method renderStatic() on ViewHelpers that don't use TYPO3FluidFluidCoreViewHelperTraitsCompileWithRenderStatic or TYPO3FluidFluidCoreViewHelperTraitsCompileWithContentArgumentAndRenderStatic have been marked as deprecated. They will log a deprecation level error message when called in Fluid v4. renderStatic() will no longer be called in Fluid v5.
  • Deprecation: Variable names true, false and null will log a deprecation level error message because these identifiers will become a Fluid language feature with v4.

2.14 

  • Deprecation: Method TYPO3FluidFluidViewAbstractTemplateView::initializeRenderingContext() has been marked as deprecated. It will be removed in Fluid v4. Migration path is to call the rendering context directly via TYPO3FluidFluidViewAbstractTemplateView::getRenderingContext()->getViewHelperVariableContainer()->setView()
  • Deprecation: Method TYPO3FluidFluidViewAbstractTemplateView::setCache() has been marked as deprecated. It will be removed in Fluid v4. Migration path is to call the rendering context directly via TYPO3FluidFluidViewAbstractTemplateView::getRenderingContext()->setCache()
  • Deprecation: Method TYPO3FluidFluidViewAbstractTemplateView::getTemplatePaths() has been marked as deprecated. It will be removed in Fluid v4. Migration path is to call the rendering context directly via TYPO3FluidFluidViewAbstractTemplateView::getRenderingContext()->getTemplatePaths()
  • Deprecation: Method TYPO3FluidFluidViewAbstractTemplateView::getViewHelperResolver() has been marked as deprecated. It will be removed in Fluid v4. Migration path is to call the rendering context directly via TYPO3FluidFluidViewAbstractTemplateView::getRenderingContext()->getViewHelperResolver()
  • Deprecation: Method TYPO3FluidFluidCoreViewHelperAbstractViewHelper->overrideArgument() has been marked as deprecated. It will log a deprecation level error message when called in Fluid v4. It will be removed in Fluid v5. TYPO3FluidFluidCoreViewHelperAbstractViewHelper->registerArgument() now no longer throws an exception if an argument is already defined, so calls to TYPO3FluidFluidCoreViewHelperAbstractViewHelper->overrideArgument() can be replaced with TYPO3FluidFluidCoreViewHelperAbstractViewHelper->registerArgument().

2.12 

  • Deprecation: Method TYPO3FluidFluidCoreViewHelperAbstractTagBasedViewHelper->registerUniversalTagAttributes() has been marked as deprecated. It will log a deprecation level error message when called in Fluid v4. It will be removed in Fluid v5. Arbitrary tags are automatically added by AbstractTagBasedViewHelper, single ViewHelpers find such arguments in $this->additionalArguments when the call to registerUniversalTagAttributes() is removed.
  • Deprecation: Method TYPO3FluidFluidCoreViewHelperAbstractTagBasedViewHelper->registerTagAttribute() has been marked as deprecated. It will log a deprecation level error message when called in Fluid v4. It will be removed in Fluid v5. Arbitrary tags are automatically added by AbstractTagBasedViewHelper, single ViewHelpers find such arguments in $this->additionalArguments when the call to registerUniversalTagAttributes() is removed. Alternatively, arguments registered using registerArgument() can be found in $this->arguments.
  • Deprecation: Test abstracts TYPO3FluidFluidTestsBaseTestCase and TYPO3FluidFluidTestsUnitTestCase have been marked as deprecated and will be removed in Fluid v4. Extend PHPUnitFrameworkTestCase directly.

2.9 

  • Deprecation: Class TYPO3FluidFluidCoreCompilerViewHelperCompiler has been obsoleted and marked as deprecated. It will be removed in Fluid v4.
  • Deprecation: Exception TYPO3FluidFluidCoreCompilerStopCompilingChildrenException has been obsoleted and marked as deprecated. It will be removed in Fluid v4.
  • Deprecation: Trait TYPO3FluidFluidCoreViewHelperTraitsParserRuntimeOnly has been obsoleted by inlining the code to consumers and marked as deprecated. It will be removed in Fluid v4.

2.8 

  • Deprecation: Method TYPO3FluidFluidCoreParserSyntaxTreeObjectAccessorNode->getAccessors() is unused and has been marked as deprecated. It will be removed in Fluid v4.
  • Deprecation: Unused public constant TYPO3FluidFluidCoreCompilerTemplateCompiler::SHOULD_GENERATE_VIEWHELPER_INVOCATION has been marked as deprecated and will be removed in Fluid v4.
  • Deprecation: Unused public constant TYPO3FluidFluidCoreVariablesStandardVariableProvider::ACCESSOR_ARRAY has been marked as deprecated and will be removed in Fluid v4.
  • Deprecation: Unused public constant TYPO3FluidFluidCoreVariablesStandardVariableProvider::ACCESSOR_GETTER has been marked as deprecated and will be removed in Fluid v4.
  • Deprecation: Unused public constant TYPO3FluidFluidCoreVariablesStandardVariableProvider::ACCESSOR_ASSERTER has been marked as deprecated and will be removed in Fluid v4.
  • Deprecation: Unused public constant TYPO3FluidFluidCoreVariablesStandardVariableProvider::ACCESSOR_PUBLICPROPERTY has been marked as deprecated and will be removed in Fluid v4.
  • Deprecation: Unused public static property TYPO3FluidFluidCoreParserPatterns::$SCAN_PATTERN_ESCAPINGMODIFIER has been marked as deprecated and will be removed in Fluid v4.

2.6 

  • Deprecation: Method TYPO3FluidFluidCoreViewHelperAbstractConditionViewHelper->evaluateCondition() has been marked as deprecated. It will be removed in Fluid v4. Use verdict() instead.

2.5 

  • Deprecation: Interface TYPO3FluidFluidCoreParserSyntaxTreeExpressionParseTimeEvaluatedExpressionNodeInterface is unused and has been marked as deprecated. It will be removed in Fluid v4.

2.4 

  • Deprecation: Class TYPO3FluidFluidCoreVariablesVariableExtractor is unused and has been marked as deprecated. It will be removed in Fluid v4. Use StandardVariableProvider instead.