Template Comments
Version 4.0.4
November 29, 2024
Changed
- Defer installing Template Comments until Craft is fully setup, to avoid a "Twig instantiated before Craft is fully initialized" warning (#50)
Version 4.0.3
September 6, 2024
Changed
- Template Comments now requires
craftcms/cms^4.12.0going forward, because of the addition of breaking changes in the version of Twig that it requires
Fixed
- Fixed an issue with a change in Twig
3.12.0(which is now used by Craft4.12.0) which would cause an exception to be thrown when rendering templates with an empty{% block %}tag (#46) - Fixed an issue with a change in Twig
3.12.0(which is now used by Craft4.12.0) which would cause an exception to be thrown when rendering templates (#45)
Version 4.0.2
August 6, 2024
Fixed
- Fixed an issue where Template Comments would cause the Craft Closure
^1.0.6package to not work
Version 4.0.1
April 18, 2024
Added
- Added support for template comments for
{% include %}and{% extends %}back into the plugin (#40) - Add
phpstanandecscode linting - Add
code-analysis.yamlGitHub action
Changed
- Updated docs to use node 20 & a new sitemap plugin
- PHPstan code cleanup
- ECS code cleanup
Version 4.0.0
May 7, 2022
Added
- Initial release for Craft CMS 4
Version 4.0.0-beta.2
March 12, 2022
Added
- Added
excludeBlocksThatContainconfig setting to allow excluding of template comments based on the{% block %}name
Version 4.0.0-beta.1
March 12, 2022
Added
- Initial Craft CMS 4 compatibility