Releases: michalsn/minifier
Releases · michalsn/minifier
v2.0.0
Changed
- Minimum PHP version bumped to 8.1
- All deprecated methods has been removed:
autoDeployCheck()
,autoDeployCheckJs()
,autoDeployCheckCss()
,deployJs()
,deployCss()
,emptyFolder()
- Signature for
AdapterInterface
methods has changed
Added
- Code quality tools: PHPStan, Psalm, Rector
- Proper documentation
Full Changelog: v1.4.1...v2.0.0
v1.4.1
v1.4.0
Fixed
- #7 - The logic around the
emptyFolder()
method could be problematic in some cases, so it was removed entirely.
Changed
- Method
emptyFolder()
was deprecated. - Methods
deployJs()
anddeployCss()
were deprecated in favor ofdeployFiles()
. - Methods
autoDeployCheckJs()
,autoDeployCheckCss()
andautoDeployCheck()
were deprecated in favor ofautoDeployCheckFile()
.
v1.3.0
v1.2.0
v1.1.0
Added
- New config variable
$returnType
that specifies if we want to gethtml
(default),json
or phparray
as a result when we load a file to display. - New optional config variables
$baseJsUrl
and$baseCssUrl
to handle serving assets from separate domains.
Fixed
- Fix wrong message name for
noVersioningFile
by @paul45 - Fix the way
versions.json
file is set.