Releases: bedita/web-tools
Releases · bedita/web-tools
Release 3.0.1
Main changes are:
- ability to setup
Twig
environment viaTwig.environment
configuration key - default of strict_variables set to
false
Release 3.0.0
Main changes are:
- code cleanup and removing of
BaseApplication
class replaced byPlugin
- leave to the application level the task of adding DebugKit, Bake plugins and the application middleware stack
- replace legacy TwigView view the new TwigView plugin
Release 2.3.0
Add a more flexible way to load assets through specific stategies.
To load a strategy you should define in your app which strategy to use
use BEdita\WebTools\Utility\AssetRevisions;
use BEdita\WebTools\Utility\Asset\Strategy\EntrypointsStrategy;
AssetsRevisions::setStrategy(new EntrypointsStrategy());
There are two strategies at the moment:
RevManifestStrategy
based onrev-manifest.json
file generated by gulp-revEntrypointsStrategy
based on theentrypoints.json
file generated by Webpack Encore
But you can easily implements your custom strategy.
To load the proper assets you can use \BEdita\WebTools\View\Helper\HtmlHelper
and its methods script()
, css()
and assets()
.
Release 2.2.0
New ApiIdentifier
to use with Authentication plugin.
Release 2.1.0
New WebComponentHelper
to setup Custom Elements
Release 2.0.0
- Compatible with CakePHP 4.0
Release 1.3.0
- Extended
Html
helper supports assets revisions directly incss()
andscript()
methods - Asset revisions logic moved to
AssetsRevisions
class - PHP 7.4 support, Travis CI task
Release 1.2.0
- New
AssetHelper
to handle revved assets - Avoid API call if no data are set in
ThumbHelper::status()
- Coding style update after CakePHP CodeSniffer 3.3.0
Release 1.1.1
Fix: read vars from View::getVar()
in HtmlHelper
Release 1.1.0
Main changes are:
- full support of latest
CakePHP 3.8
release