Version 3.0.6

August 25, 2023

Fixed

  • Update Composer dependencies to resolve Dependabot alerts #13, #14 and #15

Version 3.0.5

August 25, 2023

Fixed

  • This release aims to resolve a previous mistake of neglecting to bump the package version in composer.json, making this release unavailable by packagist.

Version 3.0.4

March 30, 2023

Fixed

  • Use \Twig\Compiler class in CriticalCssNode class, replacing old \Twig_compiler class.

Version 2.5.0

March 30, 2023

Fixed

  • Update svg-sanitize to 0.16.0 to satisfy the requirements in version 3.8.5 of Craft cms

Version 3.0.2

June 10, 2022

Fixed

  • Upgrade guzzlehttp/guzzle to 7.4.4

Version 3.0.1

June 7, 2022

Fixed

  • Update composer.lock

Craft 4.0.2 is now a minimal requirement.

Version 3.0.0

May 18, 2022

Added

  • Craft 4 compatibility

Craft 4.0.2 is now a minimal requirement.

Version 2.4.0

February 25, 2021

Fixed

  • Upgrade svg-sanitize to fix Craft CMS 3.7.33 compatibility.

Craft 3.7.33 is now a minimal requirement.

Version 2.3.0

April 30, 2021

Fixed

  • Require minimum of Craft CMS 3.6.12.1 to address composer/composer vulnerability.

Craft 3.6.12.1 is now a minimal requirement.

Version 2.2.0

January 28, 2021

Fixed

  • Upgrade svg-sanitize to fix Craft CMS 3.6 compatibility.

Craft 3.6.0 is now a minimal requirement.

Version 2.1.0

September 23, 2020

Fixed

  • Require a minimum of Craft CMS 3.5.10 to ensure Yii version is 2.0.38 and above. Resolves vulnerability.

Version 2.0.1

February 26, 2020

Fixed

  • Updated composer.lock to replicate changes made in composer.json for v2.0.0.

Version 2.0.0

February 24, 2020

Fixed

  • Updated packages to resolve vulnerability in enshrined/svg-sanitize.

Craft 3.4.0 is now a minimal requirement.

Version 1.2.1

January 23, 2020

Fixed

  • Missing $content variable fixed

Version 1.2.0

January 20, 2020

Added

  • Critical CSS can now be printed anywhere via {{ craft.styleinliner.printcriticalcss('fullwidth') | raw }}

Version 1.1.2

November 12, 2018

Added

  • Critical CSS can be switched on/off for each environment using the plugin configuration file

Fixed

  • Fixed an issue that could occur when switching template modes during a request.

Version 1.1.1.1

July 16, 2018

Fixed

  • Fixed a bug where unwanted slashes could be added to the critical CSS file paths.

Version 1.1.0

July 16, 2018

Added

  • Adds a {% criticalcss 'path' %} twig tag for inlining entire local CSS files in the document head.

Version 1.0.0

July 19, 2018

Added

  • Adds an {% inlinecss %} Twig tag that inlines any CSS rules in the HTML.