Skip to content

v3.0.0

Compare
Choose a tag to compare
@LukeTowers LukeTowers released this 22 Feb 22:12
· 18 commits to master since this release
5515149

Assetic v3 is another refresh of the project in order to keep the core lean and up to date with modern standards. More deprecated / abandoned filters have been removed and replaced with modern maintained alternatives.

New filters are still recommended to be added in external packages and the core is to be kept as minimal as possible.

New features

  • Support for PHP 8.0 & PHP 8.1
  • Support for symfony/process: v6.x
  • Added Assetic\Filter\JavaScriptMinifierFilter
  • Added Assetic\Filter\CSSMinFilter
  • Added Assetic\Filter\StylesheetMinfyFilter

BC breaks

  • Minimum PHP version required is now PHP 7.3
  • Removed support for the unmaintained mrclay/minify, patchwork/jsqueeze, & natxet/CssMin packages in favour of wikimedia/minify.

Filters Removed:

  • JSMinFilter (use JavaScriptMinifierFilter instead)
  • JSMinPlusFilter (use JavaScriptMinifierFilter instead)
  • JSqueezeFilter (use JavaScriptMinifierFilter instead)
  • CssMinFilter (use CssImportFilter combined with the CSSMinFilter instead)
    • Abandoned for all intents and purposes; maintainer has not interacted with the project for four years at least, not even able to maintain the package in the first place (natxet/CssMin#23 (comment)).
    • Several long standing unresolved bugs in relatively common CSS use cases
  • MinifyCssCompressorFilter (use replacement for CssMinFilter above or use StylesheetMinifyFilter instead)