Version 1.2.1

April 18, 2024

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

Version 1.2.0

May 7, 2022

Added

  • Refactored the codebase to simplify how it works, removing the template loader entirely, bringing it in line with how the Craft 4 plugin works

Version 1.1.2

August 25, 2019

Changed

  • Don't check getIsAjax() for console requests

Version 1.1.1

August 24, 2019

Changed

  • Don't install event listeners for AJAX requests

Version 1.1.0

June 12, 2019

Changed

  • Fixed an issue with Craft CMS ^3.1.29 due to it requiring Twig ^2.11.0 that caused imported macros to not be scoped properly
  • Template Comments now requires Craft CMS ^3.1.29

Version 1.0.6

February 23, 2019

Changed

  • Fixed an issue that caused unparsed tags to be generated for Twig's source() function

Version 1.0.5

January 25, 2019

Changed

  • Fixed a regression that caused it to throw an exception on console requests

Version 1.0.4

January 22, 2019

Changed

  • Do nothing at all on AJAX requests

Version 1.0.3

December 4, 2018

Changed

  • Fixed an issue that could result in a compile error if the CommentsNode had no body

Version 1.0.2

October 4, 2018

Changed

  • Only parse templates that end in .twig, .htm, .html or that have no extension

Version 1.0.1

October 2, 2018

Added

  • Added performance timings to the <<< END <<< comments
  • Fixed an issue with comments appearing inline in field heading tags in the Control Panel
  • Disabled Template Comments by default in the Control Panel, because most people won't want them there

Version 1.0.0

October 2, 2018

Added

  • Initial release