- php 8.2
- Variables minifier filter default false
- Fixed option noIncludeJsFilesOnPjax = true
- Add option noIncludeCssFilesOnPjax = true — Do not connect the css files when all pjax requests when enabled cssFileCompile
- New option cssFileCompileByGroups — Enables the compilation of files in groups rather than in a single file. Works only when the $cssFileCompile option is enabled
- New option jsFileCompileByGroups — Enables the compilation of files in groups rather than in a single file. Works only when the $jsFileCompile option is enabled
- Fixed: #51
- Logs
- JsMinFormatter
- CssMinFormatter
- Use new config!
Old config :
'assetsAutoCompress' => [
'class' => '\skeeks\yii2\assetsAuto\AssetsAutoCompressComponent',
'htmlCompress' => true, //Deprecated!!!
'htmlCompressOptions' => //Deprecated!!!
[
'extra' => false,
'no-comments' => true
],
],
New config:
'assetsAutoCompress' => [
'class' => '\skeeks\yii2\assetsAuto\AssetsAutoCompressComponent',
'htmlFormatter' => [
//Enable compression html
'class' => 'skeeks\yii2\assetsAuto\formatters\html\TylerHtmlCompressor',
'extra' => false, //use more compact algorithm
'noComments' => true, //cut all the html comments
'maxNumberRows' => 50000, //The maximum number of rows that the formatter runs on
//or
'class' => 'skeeks\yii2\assetsAuto\formatters\html\MrclayHtmlCompressor',
//or any other your handler implements skeeks\yii2\assetsAuto\IFormatter interface
//or false
],
],
- New option maxNumberRows in TylerHtmlCompressor — the maximum number of rows that the formatter runs on
- Fixed double html conversion
- Created skeeks\yii2\assetsAuto\formatters\html\MrclayHtmlCompressor
- Created skeeks\yii2\assetsAuto\formatters\html\TylerHtmlCompressor
- Added htmlFormatter config option
- Deprecated htmlCompressOptions config option
- Deprecated htmlCompress config option
- Using IFormatter interface
- Using stable versions of dependencies
- Fixed local read files
- Fixed webroot setting
- Changing the subdirectory with the code in /src
- Fixed #40
- Using user-agent header
- Do not use @web and @webroot (using \Yii::$app->assetManager->baseUrl and \Yii::$app->assetManager->basePath)
- Using yiisoft/yii2-httpclient
- http_code 200
- Do not connect the js files when all pjax requests.
- Fixed #6
- Html compression by default no extra
- Added html compression
- fixed bug #7
- Processing of files with 404 titles
- fixed bug download css from remoute server
- Removed unnecessary settings preloader
- Added timeout on file reading
- Ability to insert CSS using js
- Added ability to enable preloader
- It adds the ability to transfer files, css bottom of the page
- Pjax requests should not be exclusion
- Update composer (use mrclay/minify)
- Add setting cssCompress
- Stable release