Changelog 4.x
4.5
- Deprecation: Using the
xmlns
namespace syntax with a PHP namespace instead of an url is deprecated and will no longer work in Fluid v5. - Deprecation: Method
TYPO3Fluid\
has 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
validate
methods in ViewHelpers will no longer be called in Fluid v5. UseArguments () TYPO3Fluid\
instead.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:
-
TYPO3Fluid\
Fluid\ Core\ Cache\ Fluid Cache Interface:: get Cache Warmer () - php
-
TYPO3Fluid\
Fluid\ Core\ Cache\ Simple File Cache:: get Cache Warmer ()
TYPO3Fluid\
Fluid\ Core\ Cache\ Fluid Cache Warmer Interface TYPO3Fluid\
Fluid\ Core\ Cache\ Standard Cache Warmer TYPO3Fluid\
Fluid\ Core\ Cache\ Fluid Cache Warmup Result TYPO3Fluid\
Fluid\ Core\ Compiler\ Failed Compiling State TYPO3Fluid\
Fluid\ Core\ Compiler\ Template Compiler:: MODE_ NORMAL TYPO3Fluid\
Fluid\ Core\ Compiler\ Template Compiler:: MODE_ WARMUP TYPO3Fluid\
Fluid\ Core\ Compiler\ Template Compiler::$mode TYPO3Fluid\
Fluid\ Core\ Compiler\ Template Compiler:: enter Warmup Mode () TYPO3Fluid\
Fluid\ Core\ Compiler\ Template Compiler:: is Warmup Mode ()
- Deprecation: The
<f:
ViewHelper is deprecated and will be removed in Fluid v5.cache. warmup>
4.4
- Deprecation: Setting a template's layout with the variable
layout
is deprecated and will no longer work in Fluid v5. UseName TYPO3Fluid\
instead.Fluid\ Core\ Parser\ Parsing State->set Layout Name () - Deprecation: Constant
TYPO3Fluid\
has been marked as deprecated and will be removed in Fluid v5.Fluid\ Core\ Compiler\ Template Compiler:: LAYOUT_ VARIABLE
4.3
- Deprecation: Property
TYPO3Fluid\
has been marked as deprecated and will be removed in Fluid v5. UseFluid\ Core\ View Helper\ Abstract View Helper::$child Nodes $view
instead.Helper Node->get Child Nodes () - Deprecation: Method
TYPO3Fluid\
has been marked as deprecated and will be removed in Fluid v5.Fluid\ Core\ View Helper\ Abstract View Helper:: set Child Nodes () - Deprecation: Method
TYPO3Fluid\
has 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
TYPO3Fluid\
now emits a E_USER_DEPRECATED level error.Fluid\ Core\ View Helper\ View Helper Resolver:: resolve Php Namespace From Fluid Namespace () - Deprecation: Method
TYPO3Fluid\
now emits a E_USER_DEPRECATED level error.Fluid\ Core\ View Helper\ View Helper Resolver:: is Namespace Valid Or Ignored () - Deprecation: Constant
TYPO3Fluid\
has been marked as deprecated and will be removed in Fluid v5.Fluid\ Core\ Parser\ Patterns:: NAMESPACESUFFIX - Deprecation: Method
TYPO3Fluid\
now emits a E_USER_DEPRECATED level error.Fluid\ Core\ View Helper\ Abstract View Helper:: is Valid Type () - Deprecation: Method
TYPO3Fluid\
now emits a E_USER_DEPRECATED level error.Fluid\ Core\ View Helper\ Abstract View Helper:: get First Element Of Non Empty () - Deprecation: Method
TYPO3Fluid\
now 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 () TYPO3Fluid\
Fluid\ Core\ View Helper\ View Helper Node Initialized Event Interface - Deprecation: Method
TYPO3Fluid\
now 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
TYPO3Fluid\
has been removed.Fluid\ View\ Abstract Template View:: initialize Rendering Context () - Breaking: Method
TYPO3Fluid\
has been removed.Fluid\ View\ Abstract Template View:: set Cache () - Breaking: Method
TYPO3Fluid\
has been removed.Fluid\ View\ Abstract Template View:: get Template Paths () - Breaking: Method
TYPO3Fluid\
has 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
protected
and can only be accessed byAbstract
and its child implementations:Template View TYPO3Fluid\
,Fluid\ View\ Abstract Template View:: RENDERING_ TEMPLATE TYPO3Fluid\
,Fluid\ View\ Abstract Template View:: RENDERING_ PARTIAL TYPO3Fluid\
Fluid\ 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
TYPO3Fluid\
is deprecated. The Constructor will be removed with Fluid v5.Fluid\ View\ Template Paths->__ construct () - Deprecation: Method
TYPO3Fluid\
now emits a E_USER_DEPRECATED level error.Fluid\ View\ Template Paths->fill From Configuration Array () - Deprecation: Method
TYPO3Fluid\
now emits a E_USER_DEPRECATED level error.Fluid\ View\ Template Paths->fill Defaults By Package Name () - Deprecation: Method
TYPO3Fluid\
now emits a E_USER_DEPRECATED level error.Fluid\ View\ Template Paths->ensure Absolute Paths () - Deprecation: Method
TYPO3Fluid\
now emits a E_USER_DEPRECATED level error.Fluid\ View\ Template Paths->extract Path Arrays () - Deprecation: Method
TYPO3Fluid\
now emits a E_USER_DEPRECATED level error.Fluid\ View\ Template Paths->get Package Path () - Deprecation: Method
TYPO3Fluid\
now emits a E_USER_DEPRECATED level error.Fluid\ View\ Template Paths->to Array () - Deprecation: Constant
TYPO3Fluid\
has been marked as deprecated and will be removed in Fluid v5.Fluid\ View\ Template Paths:: DEFAULT_ TEMPLATES_ DIRECTORY - Deprecation: Constant
TYPO3Fluid\
has been marked as deprecated and will be removed in Fluid v5.Fluid\ View\ Template Paths:: DEFAULT_ LAYOUTS_ DIRECTORY - Deprecation: Constant
TYPO3Fluid\
has been marked as deprecated and will be removed in Fluid v5.Fluid\ View\ Template Paths:: DEFAULT_ PARTIALS_ DIRECTORY - Deprecation: Trait
TYPO3Fluid\
now emits a E_USER_DEPRECATED level error.Fluid\ Core\ View Helper\ Traits\ Compile With Render Static - Deprecation: Trait
TYPO3Fluid\
now emits a E_USER_DEPRECATED level error.Fluid\ Core\ View Helper\ Traits\ Compile With Content Argument And Render Static - Deprecation: Static method
render
on ViewHelpers that don't useStatic () TYPO3Fluid\
orFluid\ Core\ View Helper\ Traits\ Compile With Render Static TYPO3Fluid\
now emits a E_USER_DEPRECATED level error.Fluid\ Core\ View Helper\ Traits\ Compile With Content Argument And Render Static - Deprecation: Method
TYPO3Fluid\
now emits a E_USER_DEPRECATED level error.Fluid\ Core\ View Helper\ Abstract View Helper->override Argument () - Deprecation: Calling method
TYPO3Fluid\
now emits a E_USER_DEPRECATED level error.Fluid\ Core\ View Helper\ Abstract Tag Based View Helper->register Universal Tag Attributes () - Deprecation: Calling method
TYPO3Fluid\
now emits a E_USER_DEPRECATED level error.Fluid\ Core\ View Helper\ Abstract Tag Based View Helper->register Tag Attribute () - Breaking: Method
TYPO3Fluid\
and handling has been removed.Fluid\ Core\ View Helper\ Abstract Condition View Helper->evaluate Condition () - Breaking: Method
TYPO3Fluid\
has been removed.Fluid\ Core\ Parser\ Syntax Tree\ Object Accessor Node->get Accessors () - Breaking: Constant
TYPO3Fluid\
has been removed.Fluid\ Core\ Compiler\ Template Compiler:: SHOULD_ GENERATE_ VIEWHELPER_ INVOCATION - Breaking: Constant
TYPO3Fluid\
has been removed.Fluid\ Core\ Variables\ Standard Variable Provider:: ACCESSOR_ ARRAY - Breaking: Constant
TYPO3Fluid\
has been removed.Fluid\ Core\ Variables\ Standard Variable Provider:: ACCESSOR_ GETTER - Breaking: Constant
TYPO3Fluid\
has been removed.Fluid\ Core\ Variables\ Standard Variable Provider:: ACCESSOR_ ASSERTER - Breaking: Constant
TYPO3Fluid\
has been removed.Fluid\ Core\ Variables\ Standard Variable Provider:: ACCESSOR_ PUBLICPROPERTY - Breaking: Static property
TYPO3Fluid\
has been removed.Fluid\ Core\ Parser\ Patterns::$SCAN_ PATTERN_ ESCAPINGMODIFIER - Breaking: Trait
TYPO3Fluid\
has been removed.Fluid\ Core\ View Helper\ Traits\ Parser Runtime Only - Breaking: Interface
TYPO3Fluid\
and its handling has been removed.Fluid\ Core\ Parser\ Syntax Tree\ Expression\ Parse Time Evaluated Expression Node Interface - Breaking: Class
TYPO3Fluid\
has been removed.Fluid\ Core\ Variables\ Variable Extractor - Breaking: Class
TYPO3Fluid\
has been removed.Fluid\ Core\ Compiler\ View Helper Compiler - Breaking: Exception
TYPO3Fluid\
and its handling has been removed.Fluid\ Core\ Compiler\ Stop Compiling Children Exception - Breaking: Test abstracts
TYPO3Fluid\
andFluid\ Tests\ Base Test Case TYPO3Fluid\
have 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