Skip to content

Same, but better

Choose a tag to compare

@victorwelling victorwelling released this 04 Mar 17:33
· 12 commits to master since this release
eabe48a

This release has lots of small improvements based on 6 months of heavy production use since v1.0. Most of it you won't notice, but here's the stuff you probably care about. Keep in mind that this is a major version release, with breaking changes. Most notably the removal of the SuppressionMiddleware as the middleware that was added by default.

Added

  • Documentation on nesting presentation models and the optional tag.
  • An Installer class which sets up Shoot for an instance of Twig.

Changed

  • Shoot now requires PHP 7.2.
  • The Twig dependency has been bumped to v2.6.
  • PHPUnit has been bumped to v8.0, and all tests have been updated accordingly.
  • The SuppressionMiddleware is no longer enabled by the default. You'll have to pass it to the Pipeline constructor along with any other middleware you use.
  • The LoggingMiddleware now also logs errors. Kind of odd it did not do that before.

Fixed

  • The optional tag would still output any contents from before the exception was thrown. This is now fixed.
  • Models now work as expected when using extends, embed and blocks – removing what was previously a limitation of Shoot.