Skip to content

0.14.0

Latest
Compare
Choose a tag to compare
@philiplb philiplb released this 07 Sep 13:56
· 23 commits to master since this release
  • Added PHP 7.2 as test target
  • Attention: Dropped support for PHP <= 7.1
  • Attention: CRUDlex is now not anymore dependent on Silex as framework; the Silex implementation got split to https://github.com/philiplb/CRUDlexSilex2; a Symfony 4 implementation is done at https://github.com/philiplb/CRUDlexSymfony4Bundle
  • Attention: Splitted the class ControllerProvider into Controller and Silex\ControllerProvider with Controller being customizable and implementing the new ControllerInterface
  • Attention: Splitted the class ServiceProvider into Service and Silex\ServiceProvider
  • Attention: Changed the mechanism to define custom layouts and templates from Pimple keys like $app['crud.layout'] = 'myLayout.twig' to the Provider function $app['crud']->setTemplate('layout', 'myLayout.twig')
  • Attention: Changed the i18n management flag from the Pimple key "crud.manageI18n" to the Provider functions $app['crud']->isManageI18n() and $app['crud']->setManageI18n()
  • Attention: Moved the class "ServiceProvider" from the namespace "CRUDlex" to the namespace "CRUDlex\Silex"
  • Attention: Prefixed all Twig functions and filters with "crudlex_"
  • Replaced all Pimple calls to "app." in the templates with calls to the crud instance or new Twig functions
  • Updated dependencies:
    • "phpunit/phpunit": "~7.2"
    • "eloquent/phony": "~3.0"
    • "eloquent/phony-phpunit": "~4.0"