Skip to content

Releases: nystudio107/craft-closure

Version 1.0.7

08 Oct 20:48
Compare
Choose a tag to compare

Added

  • No longer load Craft Closure if the version of Twig is >= 3.15.0 because "arrow functions everywhere" is baked in. Also log a message to that effect

Version 1.0.6

31 Jul 21:21
Compare
Choose a tag to compare

Changed

  • Use the new (as of Craft ^4.3.0) event View::EVENT_AFTER_CREATE_TWIG to hook Closure in, so it will work with any Craft-created Twig environment (not just when rendering page templates) (#11774)
  • Require craftcms/cms ^4.3.0 || ^5.0.0

Version 1.0.5

20 May 18:51
Compare
Choose a tag to compare

Added

  • Converted addClosure() to a public method so it is callable by anyone (#1)

Version 1.0.4

15 Apr 16:26
Compare
Choose a tag to compare

Added

  • Stable release for Craft CMS 5
  • Add create-release.yml for automated releases

Version 1.0.3

31 Jan 18:08
Compare
Choose a tag to compare

Added

  • Add phpstan and ecs code linting
  • Add code-analysis.yaml GitHub action

Changed

  • PHPstan code cleanup
  • ECS code cleanup

Version 1.0.2

27 Jan 12:26
Compare
Choose a tag to compare

Fixed

  • Fix semver to || ^5.0.0-alpha.1

Version 1.0.1

27 Jan 01:34
Compare
Choose a tag to compare

Added

  • Add Craft CMS 5 compatibility

Version 1.0.0

09 Sep 06:48
Compare
Choose a tag to compare

Added

  • Initial release

Version 1.0.0-beta.1

08 Aug 16:32
Compare
Choose a tag to compare

Added

  • Initial beta release