Skip to content

Commit

Permalink
[DOC] Update deprecations in changelog (#997)
Browse files Browse the repository at this point in the history
  • Loading branch information
s2b authored Aug 30, 2024
1 parent 57875b3 commit 8f1ee9e
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Documentation/Changelog/2.x.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
20 changes: 20 additions & 0 deletions Documentation/Changelog/4.x.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 8f1ee9e

Please sign in to comment.