Skip to content

API stabilised, optional tag introduced

Compare
Choose a tag to compare
@victorwelling victorwelling released this 27 Aug 13:13
· 46 commits to master since this release
d6939e4

Added

  • The optional tag was added. This allows runtime exceptions to be suppressed so parts which are not essential to the page can be left out in case of failure.
  • The HTTP middleware from the Shoot/Http package is now included with Shoot as ShootMiddleware.
  • Added getVariable to PresentationModel to read a single variable from the presentation model.

Changed

  • The generic context has been replaced with the PSR-7 request object as it seems to make the most sense in practice.
  • The actual Twig extension has been split off from the Pipeline class.
  • The getPresenter method of HasPresenterInterface was renamed to getPresenterName as it more accurately describes its purpose.
  • HasDataTrait has been moved to a Utilities namespace.
  • The Twig dependency has been bumped to v2.5
  • Lots of housekeeping in code and documentation.

Deprecated

  • The Shoot/Http package is deprecated as of this release.