Skip to content

Releases: michalsn/minifier

v2.0.0

27 Dec 12:33
e852187
Compare
Choose a tag to compare

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

22 Nov 20:25
Compare
Choose a tag to compare

Fixed

  • An issue with autoDeployOnChange option, when minDirJs or minDirCss was set. Thanks to @paul45

v1.4.0

21 Nov 16:30
Compare
Choose a tag to compare

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() and deployCss() were deprecated in favor of deployFiles().
  • Methods autoDeployCheckJs(), autoDeployCheckCss() and autoDeployCheck() were deprecated in favor of autoDeployCheckFile().

v1.3.0

21 Oct 18:29
Compare
Choose a tag to compare

Added

  • New config variables $dirMinJs and $dirMinCss that allow to specify separate directories for minified assets - by @daycry

v1.2.0

01 Jan 18:58
246e199
Compare
Choose a tag to compare

Added

  • 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.

v1.1.0

23 Apr 15:25
4f52660
Compare
Choose a tag to compare

Added

  • New config variable $returnType that specifies if we want to get html (default), json or php array 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.

v1.0

27 Mar 13:18
7979e9c
Compare
Choose a tag to compare

First public release of the package.