From 6619306a4539343c67f9acc7fe77572fe86cc9b2 Mon Sep 17 00:00:00 2001 From: Simon Praetorius Date: Fri, 30 Aug 2024 23:14:24 +0200 Subject: [PATCH] [DOC] Update deprecations in changelog --- Documentation/Changelog/2.x.rst | 26 ++++++++++++++++++++++++++ Documentation/Changelog/4.x.rst | 20 ++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/Documentation/Changelog/2.x.rst b/Documentation/Changelog/2.x.rst index 7e99d0bc1..3e37ef65e 100644 --- a/Documentation/Changelog/2.x.rst +++ b/Documentation/Changelog/2.x.rst @@ -9,6 +9,32 @@ Changelog 2.x 2.15 ---- +* Deprecation: First parameter of method :php:`TYPO3Fluid\Fluid\View\TemplatePaths->__construct()` + is deprecated. The Constructor will be removed with Fluid v5. +* Deprecation: Method :php:`TYPO3Fluid\Fluid\View\TemplatePaths->fillFromConfigurationArray()` + has been marked as deprecated. It will log a deprecation level error message when called in + Fluid v4. +* Deprecation: Method :php:`TYPO3Fluid\Fluid\View\TemplatePaths->fillDefaultsByPackageName()` + has been marked as deprecated. It will log a deprecation level error message when called in + Fluid v4. +* Deprecation: Method :php:`TYPO3Fluid\Fluid\View\TemplatePaths->ensureAbsolutePaths()` + has been marked as deprecated. It will log a deprecation level error message when called in + Fluid v4. +* Deprecation: Method :php:`TYPO3Fluid\Fluid\View\TemplatePaths->extractPathArrays()` + has been marked as deprecated. It will log a deprecation level error message when called in + Fluid v4. +* Deprecation: Method :php:`TYPO3Fluid\Fluid\View\TemplatePaths->getPackagePath()` + has been marked as deprecated. It will log a deprecation level error message when called in + Fluid v4. +* Deprecation: Method :php:`TYPO3Fluid\Fluid\View\TemplatePaths->toArray()` + has been marked as deprecated. It will log a deprecation level error message when called in + Fluid v4. +* Deprecation: Constant :php:`TYPO3Fluid\Fluid\View\TemplatePaths::DEFAULT_TEMPLATES_DIRECTORY` + has been marked as deprecated and will be removed in Fluid v5. +* Deprecation: Constant :php:`TYPO3Fluid\Fluid\View\TemplatePaths::DEFAULT_LAYOUTS_DIRECTORY` + has been marked as deprecated and will be removed in Fluid v5. +* Deprecation: Constant :php:`TYPO3Fluid\Fluid\View\TemplatePaths::DEFAULT_PARTIALS_DIRECTORY` + has been marked as deprecated and will be removed in Fluid v5. * Deprecation: Trait :php:`TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic` 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. diff --git a/Documentation/Changelog/4.x.rst b/Documentation/Changelog/4.x.rst index 8c49a6acc..ea25712ef 100644 --- a/Documentation/Changelog/4.x.rst +++ b/Documentation/Changelog/4.x.rst @@ -25,6 +25,26 @@ Changelog 4.x :php:`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 :php:`TYPO3Fluid\Fluid\View\TemplatePaths->__construct()` + is deprecated. The Constructor will be removed with Fluid v5. +* Deprecation: Method :php:`TYPO3Fluid\Fluid\View\TemplatePaths->fillFromConfigurationArray()` + now emits a E_USER_DEPRECATED level error. +* Deprecation: Method :php:`TYPO3Fluid\Fluid\View\TemplatePaths->fillDefaultsByPackageName()` + now emits a E_USER_DEPRECATED level error. +* Deprecation: Method :php:`TYPO3Fluid\Fluid\View\TemplatePaths->ensureAbsolutePaths()` + now emits a E_USER_DEPRECATED level error. +* Deprecation: Method :php:`TYPO3Fluid\Fluid\View\TemplatePaths->extractPathArrays()` + now emits a E_USER_DEPRECATED level error. +* Deprecation: Method :php:`TYPO3Fluid\Fluid\View\TemplatePaths->getPackagePath()` + now emits a E_USER_DEPRECATED level error. +* Deprecation: Method :php:`TYPO3Fluid\Fluid\View\TemplatePaths->toArray()` + now emits a E_USER_DEPRECATED level error. +* Deprecation: Constant :php:`TYPO3Fluid\Fluid\View\TemplatePaths::DEFAULT_TEMPLATES_DIRECTORY` + has been marked as deprecated and will be removed in Fluid v5. +* Deprecation: Constant :php:`TYPO3Fluid\Fluid\View\TemplatePaths::DEFAULT_LAYOUTS_DIRECTORY` + has been marked as deprecated and will be removed in Fluid v5. +* Deprecation: Constant :php:`TYPO3Fluid\Fluid\View\TemplatePaths::DEFAULT_PARTIALS_DIRECTORY` + has been marked as deprecated and will be removed in Fluid v5. * Deprecation: Trait :php:`TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic` now emits a E_USER_DEPRECATED level error. * Deprecation: Trait :php:`TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithContentArgumentAndRenderStatic`