Skip to content

Releases: nystudio107/craft-templatecomments

5.0.6

30 Jan 21:24

Choose a tag to compare

Changed

  • Template Comments now requires craftcms/cms ^5.9.0 going forward, because of the addition of breaking changes in the version of Twig that it requires (#52)
  • Updated TemplateCommentsParser.php to match Twig 3.23.x's Parser (#52)

5.0.5

29 Jan 21:08

Choose a tag to compare

Changed

  • Template Comments now requires craftcms/cms ^5.6.0 going forward, because of the addition of breaking changes in the version of Twig that it requires (#51)
  • Updated TemplateCommentsParser.php to match Twig 3.15.x's Parser (#51)

5.0.4

29 Nov 18:55

Choose a tag to compare

Changed

  • Defer installing Template Comments until Craft is fully setup, to avoid a "Twig instantiated before Craft is fully initialized" warning (#50)

4.0.4

29 Nov 18:53

Choose a tag to compare

Changed

  • Defer installing Template Comments until Craft is fully setup, to avoid a "Twig instantiated before Craft is fully initialized" warning (#50)

5.0.3

06 Sep 18:12

Choose a tag to compare

Changed

  • Template Comments now requires craftcms/cms ^5.4.0 going 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 Craft 5.4.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 Craft 5.4.0) which would cause an exception to be thrown when rendering templates (#44)

4.0.3

06 Sep 18:11

Choose a tag to compare

Changed

  • Template Comments now requires craftcms/cms ^4.12.0 going 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 Craft 4.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 Craft 4.12.0) which would cause an exception to be thrown when rendering templates (#45)

5.0.1

06 Aug 20:03

Choose a tag to compare

Fixed

  • Fixed an issue where Template Comments would cause the Craft Closure ^1.0.6 package to not work

4.0.2

06 Aug 20:04

Choose a tag to compare

Fixed

  • Fixed an issue where Template Comments would cause the Craft Closure ^1.0.6 package to not work

5.0.0

19 Apr 03:17

Choose a tag to compare

Added

  • Stable release for Craft CMS 5

4.0.1

19 Apr 03:16

Choose a tag to compare

Added

  • Added support for template comments for {% include %} and {% extends %} back into the plugin (#40)
  • Add phpstan and ecs code linting
  • Add code-analysis.yaml GitHub action

Changed

  • Updated docs to use node 20 & a new sitemap plugin
  • PHPstan code cleanup
  • ECS code cleanup