Skip to content

Releases: assetic-php/assetic

v3.1.4

22 Apr 20:59
7594358

Choose a tag to compare

What's Changed

  • fix(asset): migrate from $http_response_header to http_get_last_response_headers() by @matteotrubini in #46

New Contributors

Full Changelog: v3.1.3...v3.1.4

v3.1.3

01 Feb 05:23
064d274

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.1.2...v3.1.3

v3.1.2

14 Jul 05:30
da2b013

Choose a tag to compare

What's Changed

  • Add Tailwind CSS Standalone CLI utility filter by @bennothommo in #42
  • Allow "symfony/deprecation-contracts": "^2.2.0|^3.0" by @10n in #43

New Contributors

  • @10n made their first contribution in #43

Full Changelog: v3.1.1...v3.1.2

v3.1.1

05 Jul 07:27
2dfc881

Choose a tag to compare

Changes

  • Conform codebase to PSR-12 code style guidelines
  • Update wikimedia/less.php from 3.0 to 5.x for tests by @Krinkle in #38

Bug fixes

  • 8 character color hex codes (with alpha channel) are no longer minified to 3 character hex codes in StylesheetFilter, these are instead minified to 4 characters.
  • The MockAsset asset has been switched to using contracts for typehints and return types.

Community updates

New Contributors

Full Changelog: v3.1.0...v3.1.1

v3.1.0

03 Apr 17:17
3ac665d

Choose a tag to compare

What's Changed

  • Re-added TwigFormulaLoader by @bds-viktoras in #37
  • Added support for symfony/console v7
  • Skipped tests for Google Closure Compiler REST API filter, it has been deprecated by Google
  • Added support for TypeScript v5

New Contributors

Full Changelog: v3.0.2...v3.1.0

v3.0.2

07 Jul 11:06
e7ead84

Choose a tag to compare

  • The Assetic Twig Extension is now compatible with Twig version 3

v3.0.1

09 May 16:42
f5fd341

Choose a tag to compare

Changes:

  • Fixed issue with StylesheetMinifyFilter where a universal selector (*) could not immediately follow a comment.

v3.0.0

22 Feb 22:12
5515149

Choose a tag to compare

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)

v2.0.2

26 Jan 20:56
a39be45

Choose a tag to compare

Changes:

  • Fixes an issue with aliases when run with the Opcache Preloader from PHP 7.4+ (#27)
  • Fix usage of deprecated behaviours and methods in SCSS PHP filter (#25)
    • Adds additional argument for registerFunction method to define argument declarations (fixes #11)
    • Uses compileString() method for compilation as opposed to deprecated compile() method
    • Uses addVariables() method for defining variables as opposed to deprecated setVariables() method
    • Parses variables provided in the setVariables() filter method and converts to Scss values, avoiding the deprecated behavior of allowing raw variables

v2.0.1

30 Jun 23:29
e25c9c3

Choose a tag to compare

Changes:

  • Added PHP 8 support
  • Removed support for scss_compass, which was never actually finished in the first place