Version 1.0.1

June 22, 2020
null

Version 1.0.0

June 16, 2020

Added

  • Skip empty blocks in the blocks tag using the skip empty keyword
  • Variables context, template, type are accessible inside the blocks tag
  • PHPCS PSR2 rules
  • PHPStan rules
  • Github actions to test PHPCS and PHPStan

Version 0.1.2

July 7, 2020

Changed

  • Fixed block.template not accessible in the template because Twig was trying to access the protected block.template property instead of block.getTemplate()
  • Fixed wrong order in CHANGELOG.md

Version 0.1.1

July 7, 2020

Changed

  • Typo in class name InvalicBlockException
  • The class Blocky is not correctly importing the exception classes

Removed

  • Translation files, as these only contained exception translations
  • All instances of Craft::t() in exceptions

Version 0.1.0

June 5, 2020

Added

  • Added {% blocks %} Twig tag to simplify templating

Changed

  • Moved the main block parser functionality so that it is now available at Blocky::$plugin->parseBlocks()
    • This is consumed by the new {% blocks %} Twig tag and {% craft.blocky.blockparser() %}

Version 0.0.2

June 3, 2020

Added

  • Cleaned up plugin code and fixed some code style issues

Version 0.0.1

June 3, 2020

Added

  • Initial release