Changelog 5.x 

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

5.0 

  • Breaking: Property TYPO3FluidFluidCoreViewHelperAbstractViewHelper::$childNodes has been removed.
  • Breaking: Method TYPO3FluidFluidCoreViewHelperAbstractViewHelper::setChildNodes() has been removed.
  • Breaking: Method TYPO3FluidFluidCoreViewHelperViewHelperInterface::setChildNodes() has been removed.
  • Breaking: ViewHelper namespaces are no longer inherited from templates to layouts and partials.
  • Breaking: Trait TYPO3FluidFluidCoreViewHelperTraitsCompileWithRenderStatic has been removed.
  • Breaking: Trait TYPO3FluidFluidCoreViewHelperTraitsCompileWithContentArgumentAndRenderStatic has been removed.
  • Breaking: Static method renderStatic() on ViewHelpers that don't use TYPO3FluidFluidCoreViewHelperTraitsCompileWithRenderStatic or TYPO3FluidFluidCoreViewHelperTraitsCompileWithContentArgumentAndRenderStatic is no longer called.
  • Breaking: Method TYPO3FluidFluidViewTemplatePaths->__construct() has been removed.
  • Breaking: Method TYPO3FluidFluidViewTemplatePaths->fillFromConfigurationArray() has been removed.
  • Breaking: Method TYPO3FluidFluidViewTemplatePaths->fillDefaultsByPackageName() has been removed.
  • Breaking: Method TYPO3FluidFluidViewTemplatePaths->ensureAbsolutePaths() has been removed.
  • Breaking: Method TYPO3FluidFluidViewTemplatePaths->extractPathArrays() has been removed.
  • Breaking: Method TYPO3FluidFluidViewTemplatePaths->getPackagePath() has been removed.
  • Breaking: Method TYPO3FluidFluidViewTemplatePaths->toArray() has been removed.
  • Breaking: Constant TYPO3FluidFluidViewTemplatePaths::DEFAULT_TEMPLATES_DIRECTORY has been removed.
  • Breaking: Constant TYPO3FluidFluidViewTemplatePaths::DEFAULT_LAYOUTS_DIRECTORY has been removed.
  • Breaking: Constant TYPO3FluidFluidViewTemplatePaths::DEFAULT_PARTIALS_DIRECTORY
  • Breaking: Method TYPO3FluidFluidCoreViewHelperViewHelperResolver::resolvePhpNamespaceFromFluidNamespace() has been removed.
  • Breaking: Method TYPO3FluidFluidCoreViewHelperViewHelperResolver::isNamespaceValidOrIgnored() has been removed.
  • Breaking: Constant TYPO3FluidFluidCoreParserPatterns::NAMESPACESUFFIX has been removed.
  • Breaking: Method TYPO3FluidFluidCoreViewHelperViewHelperResolver::addNamespaces()
  • Breaking: Setting a template's layout with the variable layoutName is no longer possible.
  • Breaking: Constant TYPO3FluidFluidCoreCompilerTemplateCompiler::LAYOUT_VARIABLE
  • Breaking: Method TYPO3FluidFluidCoreViewHelperAbstractViewHelper->overrideArgument() has been removed.
  • Breaking: Method TYPO3FluidFluidCoreViewHelperAbstractViewHelper::isValidType() has been removed.
  • Breaking: Method TYPO3FluidFluidCoreViewHelperAbstractViewHelper::getFirstElementOfNonEmpty() has been removed.
  • Breaking: Method postParseEvent() on ViewHelpers is no longer called.
  • Breaking: Method TYPO3FluidFluidCoreViewHelperAbstractTagBasedViewHelper->registerUniversalTagAttributes() has been removed.
  • Breaking: Method TYPO3FluidFluidCoreViewHelperAbstractTagBasedViewHelper->registerTagAttribute() has been removed.
  • Breaking: Using the xmlns namespace syntax with a PHP namespace instead of an url is no longer possible.
  • Breaking: ViewHelper argument validation now uses the StrictArgumentProcessor, which might lead to slightly different behavior within ViewHelpers or exceptions if ViewHelpers didn't validate arguments properly before.
  • Breaking: Classes, interfaces, methods and constants related to cache warmup have been removed:
    • TYPO3FluidFluidCoreCacheFluidCacheInterface::getCacheWarmer()
    • php

      TYPO3FluidFluidCoreCacheSimpleFileCache::getCacheWarmer()

    • TYPO3FluidFluidCoreCacheFluidCacheWarmerInterface
    • TYPO3FluidFluidCoreCacheStandardCacheWarmer
    • TYPO3FluidFluidCoreCacheFluidCacheWarmupResult
    • TYPO3FluidFluidCoreCompilerFailedCompilingState
    • TYPO3FluidFluidCoreCompilerTemplateCompiler::MODE_NORMAL
    • TYPO3FluidFluidCoreCompilerTemplateCompiler::MODE_WARMUP
    • TYPO3FluidFluidCoreCompilerTemplateCompiler::$mode
    • TYPO3FluidFluidCoreCompilerTemplateCompiler::enterWarmupMode()
    • TYPO3FluidFluidCoreCompilerTemplateCompiler::isWarmupMode()
  • Breaking: The <f:cache.warmup> ViewHelper has been removed.
  • Breaking: TYPO3FluidFluidCoreParserTemplateParser::parse() and TYPO3FluidFluidCoreParserTemplateParser::createParsingRelatedExceptionWithContext() no longer allow null as template identifier.
  • Breaking: Tag attributes that are set to null are now removed from the tag instead of being interpreted as empty string in TYPO3FluidFluidCoreViewHelperTagBuilder.
  • Breaking: Method TYPO3FluidFluidCoreViewHelperAbstractViewHelper::validateArguments() has been removed.
  • Breaking: Custom implementations of the validateArguments() methods in ViewHelpers are no longer called.
  • Breaking: Fluid variable names can no longer start with an underscore character (_). Adding such a variable to a template results in an exception. Note that this doesn't affect array keys or object property names, only the name of the variable itself.
  • Deprecation: Class TYPO3FluidFluidCoreViewHelperLenientArgumentProcessor is no longer being used by Fluid v5 and will be removed with Fluid v6.
  • Breaking: CDATA sections are no longer removed from Fluid templates. Use <f:comment> instead if you want to comment out code in Fluid templates.