Skip to content

Releases: bedita/web-tools

Release 3.0.1

19 May 15:48
cc6c53d
Compare
Choose a tag to compare

Main changes are:

  • ability to setup Twig environment via Twig.environment configuration key
  • default of strict_variables set to false

Release 3.0.0

06 May 10:56
4ffa37f
Compare
Choose a tag to compare

Main changes are:

  • code cleanup and removing of BaseApplication class replaced by Plugin
  • 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

06 Apr 10:09
53d2c5c
Compare
Choose a tag to compare

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 on rev-manifest.json file generated by gulp-rev
  • EntrypointsStrategy based on the entrypoints.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

25 Mar 16:13
07703fb
Compare
Choose a tag to compare

New ApiIdentifier to use with Authentication plugin.

Release 2.1.0

03 Mar 17:22
621f788
Compare
Choose a tag to compare

New WebComponentHelper to setup Custom Elements

Release 2.0.0

19 Feb 11:38
ec08fd7
Compare
Choose a tag to compare
  • Compatible with CakePHP 4.0

Release 1.3.0

17 Feb 12:03
c5e2b83
Compare
Choose a tag to compare
  • Extended Html helper supports assets revisions directly in css() and script() methods
  • Asset revisions logic moved to AssetsRevisions class
  • PHP 7.4 support, Travis CI task

Release 1.2.0

20 Dec 08:32
d1af9e1
Compare
Choose a tag to compare
  • 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

30 Jul 12:25
Compare
Choose a tag to compare

Fix: read vars from View::getVar() in HtmlHelper

Release 1.1.0

29 Jul 16:34
f77e496
Compare
Choose a tag to compare

Main changes are:

  • full support of latest CakePHP 3.8 release