Changelog 4.x
This Changelog lists notable deprecation and breaking changes. The full list of changes is available in the Fluid releases on GitHub.
4.5
- Deprecation: Using the
xmlnsnamespace syntax with a PHP namespace instead of an url is deprecated and will no longer work in Fluid v5. - Deprecation: Method
TYPO3Fluidhas been marked as deprecated and will be removed in Fluid v5.Fluid Core View Helper Abstract View Helper:: validate Arguments () - Deprecation: Custom implementations of the
validatemethods in ViewHelpers will no longer be called in Fluid v5. UseArguments () TYPO3Fluidinstead.Fluid Core View Helper View Helper Arguments Validated Event Interface - Deprecation: Classes, interfaces, methods and constants related to cache warmup are deprecated and will be removed in Fluid v5:
-
TYPO3FluidFluid Core Cache Fluid Cache Interface:: get Cache Warmer () - php
-
TYPO3FluidFluid Core Cache Simple File Cache:: get Cache Warmer ()
TYPO3FluidFluid Core Cache Fluid Cache Warmer Interface TYPO3FluidFluid Core Cache Standard Cache Warmer TYPO3FluidFluid Core Cache Fluid Cache Warmup Result TYPO3FluidFluid Core Compiler Failed Compiling State TYPO3FluidFluid Core Compiler Template Compiler:: MODE_ NORMAL TYPO3FluidFluid Core Compiler Template Compiler:: MODE_ WARMUP TYPO3FluidFluid Core Compiler Template Compiler::$mode TYPO3FluidFluid Core Compiler Template Compiler:: enter Warmup Mode () TYPO3FluidFluid Core Compiler Template Compiler:: is Warmup Mode ()
- Deprecation: The
<f:ViewHelper is deprecated and will be removed in Fluid v5.cache. warmup> - Deprecation: Fluid variable names can no longer start with an underscore character (
_). Adding such a variable to a template now emits a E_USER_DEPRECATED level error and will result in an exception in Fluid v5. Note that this doesn't affect array keys or object property names, only the name of the variable itself. - Deprecation: Replacing
<!sections by empty lines is deprecated and will be removed in Fluid v5. Method[CDATA []]> TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid Core Parser Template Processor Namespace Detection Template Processor. php:: replace Cdata Sections By Empty Lines ()
4.4
- Deprecation: Setting a template's layout with the variable
layoutis deprecated and will no longer work in Fluid v5. UseName TYPO3Fluidinstead.Fluid Core Parser Parsing State->set Layout Name () - Deprecation: Constant
TYPO3Fluidhas been marked as deprecated and will be removed in Fluid v5.Fluid Core Compiler Template Compiler:: LAYOUT_ VARIABLE
4.3
- Deprecation: Property
TYPO3Fluidhas been marked as deprecated and will be removed in Fluid v5. UseFluid Core View Helper Abstract View Helper::$child Nodes $viewinstead.Helper Node->get Child Nodes () - Deprecation: Method
TYPO3Fluidhas been marked as deprecated and will be removed in Fluid v5.Fluid Core View Helper Abstract View Helper:: set Child Nodes () - Deprecation: Method
TYPO3Fluidhas been marked as deprecated and will be removed in Fluid v5.Fluid Core View Helper View Helper Interface:: set Child Nodes ()
4.2
- Deprecation: Method
TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid Core View Helper View Helper Resolver:: resolve Php Namespace From Fluid Namespace () - Deprecation: Method
TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid Core View Helper View Helper Resolver:: is Namespace Valid Or Ignored () - Deprecation: Constant
TYPO3Fluidhas been marked as deprecated and will be removed in Fluid v5.Fluid Core Parser Patterns:: NAMESPACESUFFIX - Deprecation: Method
TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid Core View Helper Abstract View Helper:: is Valid Type () - Deprecation: Method
TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid Core View Helper Abstract View Helper:: get First Element Of Non Empty () - Deprecation: Method
TYPO3Fluidnow emits a E_USER_DEPRECATED level error. It will be removed with Fluid v5. ViewHelpers using this event should switch to the newFluid Core View Helper Abstract View Helper:: post Parse Event () TYPO3FluidFluid Core View Helper View Helper Node Initialized Event Interface - Deprecation: Method
TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid Core View Helper View Helper Resolver:: add Namespaces () - Deprecation: Inheritance of ViewHelper namespaces is deprecated. If a ViewHelper namespace is used in a template that is neither defined globally nor locally directly in the template, Fluid now emits a E_USER_DEPRECATED level error.
4.0
- Breaking: Method
TYPO3Fluidhas been removed.Fluid View Abstract Template View:: initialize Rendering Context () - Breaking: Method
TYPO3Fluidhas been removed.Fluid View Abstract Template View:: set Cache () - Breaking: Method
TYPO3Fluidhas been removed.Fluid View Abstract Template View:: get Template Paths () - Breaking: Method
TYPO3Fluidhas been removed.Fluid View Abstract Template View:: get View Helper Resolver () - Breaking: Change visibility of class constants that represent internal Fluid state. The
following constants have been set to
protectedand can only be accessed byAbstractand its child implementations:Template View TYPO3Fluid,Fluid View Abstract Template View:: RENDERING_ TEMPLATE TYPO3Fluid,Fluid View Abstract Template View:: RENDERING_ PARTIAL TYPO3FluidFluid View Abstract Template View:: 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
TYPO3Fluidis deprecated. The Constructor will be removed with Fluid v5.Fluid View Template Paths->__ construct () - Deprecation: Method
TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid View Template Paths->fill From Configuration Array () - Deprecation: Method
TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid View Template Paths->fill Defaults By Package Name () - Deprecation: Method
TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid View Template Paths->ensure Absolute Paths () - Deprecation: Method
TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid View Template Paths->extract Path Arrays () - Deprecation: Method
TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid View Template Paths->get Package Path () - Deprecation: Method
TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid View Template Paths->to Array () - Deprecation: Constant
TYPO3Fluidhas been marked as deprecated and will be removed in Fluid v5.Fluid View Template Paths:: DEFAULT_ TEMPLATES_ DIRECTORY - Deprecation: Constant
TYPO3Fluidhas been marked as deprecated and will be removed in Fluid v5.Fluid View Template Paths:: DEFAULT_ LAYOUTS_ DIRECTORY - Deprecation: Constant
TYPO3Fluidhas been marked as deprecated and will be removed in Fluid v5.Fluid View Template Paths:: DEFAULT_ PARTIALS_ DIRECTORY - Deprecation: Trait
TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid Core View Helper Traits Compile With Render Static - Deprecation: Trait
TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid Core View Helper Traits Compile With Content Argument And Render Static - Deprecation: Static method
renderon ViewHelpers that don't useStatic () TYPO3FluidorFluid Core View Helper Traits Compile With Render Static TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid Core View Helper Traits Compile With Content Argument And Render Static - Deprecation: Method
TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid Core View Helper Abstract View Helper->override Argument () - Deprecation: Calling method
TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid Core View Helper Abstract Tag Based View Helper->register Universal Tag Attributes () - Deprecation: Calling method
TYPO3Fluidnow emits a E_USER_DEPRECATED level error.Fluid Core View Helper Abstract Tag Based View Helper->register Tag Attribute () - Breaking: Method
TYPO3Fluidand handling has been removed.Fluid Core View Helper Abstract Condition View Helper->evaluate Condition () - Breaking: Method
TYPO3Fluidhas been removed.Fluid Core Parser Syntax Tree Object Accessor Node->get Accessors () - Breaking: Constant
TYPO3Fluidhas been removed.Fluid Core Compiler Template Compiler:: SHOULD_ GENERATE_ VIEWHELPER_ INVOCATION - Breaking: Constant
TYPO3Fluidhas been removed.Fluid Core Variables Standard Variable Provider:: ACCESSOR_ ARRAY - Breaking: Constant
TYPO3Fluidhas been removed.Fluid Core Variables Standard Variable Provider:: ACCESSOR_ GETTER - Breaking: Constant
TYPO3Fluidhas been removed.Fluid Core Variables Standard Variable Provider:: ACCESSOR_ ASSERTER - Breaking: Constant
TYPO3Fluidhas been removed.Fluid Core Variables Standard Variable Provider:: ACCESSOR_ PUBLICPROPERTY - Breaking: Static property
TYPO3Fluidhas been removed.Fluid Core Parser Patterns::$SCAN_ PATTERN_ ESCAPINGMODIFIER - Breaking: Trait
TYPO3Fluidhas been removed.Fluid Core View Helper Traits Parser Runtime Only - Breaking: Interface
TYPO3Fluidand its handling has been removed.Fluid Core Parser Syntax Tree Expression Parse Time Evaluated Expression Node Interface - Breaking: Class
TYPO3Fluidhas been removed.Fluid Core Variables Variable Extractor - Breaking: Class
TYPO3Fluidhas been removed.Fluid Core Compiler View Helper Compiler - Breaking: Exception
TYPO3Fluidand its handling has been removed.Fluid Core Compiler Stop Compiling Children Exception - Breaking: Test abstracts
TYPO3FluidandFluid Tests Base Test Case TYPO3Fluidhave been removed.Fluid Tests Unit Test Case - Breaking: Using invalid namespace
https://instead oftypo3. org http://(https vs. http) throws an exceptiontypo3. org - Important: Minimum PHP version has been raised to ^8.2