All notable changes to this project will be documented in this file.
- 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
- Code quality tools: PHPStan, Psalm, Rector
- Proper documentation
- Fixed an issue with
autoDeployOnChange
option, whenminDirJs
orminDirCss
was set. Thanks to @paul45
- #7 - The logic around the
emptyFolder()
method could be problematic in some cases, so it was removed entirely.
- Method
emptyFolder()
was deprecated. - Methods
deployJs()
anddeployCss()
were deprecated in favor ofdeployFiles()
. - Methods
autoDeployCheckJs()
,autoDeployCheckCss()
andautoDeployCheck()
were deprecated in favor ofautoDeployCheckFile()
.
- New config variables
$dirMinJs
and$dirMinCss
that allow to specify separate directories for minified assets - by @daycry
- New config variable
$autoDeployOnChange
that specifies if we want to make a deploy automatically whenever any change happens to our assets files. Thanks to @paul45 for inspiration.
- 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.
- Use spaces instead of tabs.
- Updates in README file.
- Fix wrong message name for
noVersioningFile
by @paul45 - Fix the way
versions.json
file is set.
- Initial release