Skip to content

v2.16.0

Choose a tag to compare

@1franck 1franck released this 28 Jul 21:46
· 1581 commits to master since this release

Warning! Breaking changes with 2.15.x and below

  • [BC] replaced Peak\Di\ContainerInterface by Psr\Container\ContainerInterface
  • removed Peak\Common dependency for Peak\Di
  • added method resolve(), bind(), bindPrototype() and bindFactory() to Peak\Di\Container
  • [BC] container is now passed to Peak\Di\ExplicitResolver
  • [BC] rewrited completely the definition part for Peak\Di and removed old Peak\Di\ClassDefinitions
  • [BC] get() can throw a NotFoundException if id not found in Peak\Di\Container (PSR-11)
  • [BC] renamed method genCacheId() to generateId(), getCacheFile() to getFile(), deleteCache() to
    delete() and getCacheBlock() to getContent() in Peak\Bedrock\View\Cache
  • [BC] removed ability to start the cache when using isValidBlock() in Peak\Bedrock\View\Cache
  • added method blockStart() in Peak\Bedrock\View\Cache
  • fixed bug with function session() in Peak\Bedrock\helpers.php
  • added Peak\Climber\Application instance to the container when creating it