Skip to content

Releases: RadValentin/postcss-prefix-selector

2.1.0 Transform global selectors

10 Oct 10:44
Compare
Choose a tag to compare
  • Global selectors html, body, :root can't be prefixed so they're replaced by the prefix instead body => .prefix.
  • skipGlobalSelectors options disables this behavior, global selectors won't be changed in any way

2.0.0 Add support for PostCSS 8 and visitors API

03 Oct 19:37
Compare
Choose a tag to compare

This PR finishes the work started in #95, more specifically the plugin now uses visitors API from PostCSS 8, this will fix compatibility issues with other plugins like postcss-nested.

Note: Projects that use PostCSS < 8 should stick to older versions of the plugin, most likely postcss-prefix-selector@1.16.1

v1.16.1

20 Apr 18:38
Compare
Choose a tag to compare

Don't prefix -ms-keyframes at-rule. Thanks @TorusHelm!

1.16.0

17 Jun 11:15
Compare
Choose a tag to compare

Added rule argument to transform function via #109, thanks @luttje!

1.15.0

18 Mar 12:26
Compare
Choose a tag to compare

Made PostCSS peer dependency less restrictive, "postcss": ">4 <9"

1.14.0

06 Dec 10:16
Compare
Choose a tag to compare

Make postcss a peer dependency. Thanks @fupengl!

1.13.0

05 Sep 18:19
Compare
Choose a tag to compare

Added filepath param to transform function via #97, thanks @jlurena!

1.12.0

19 Aug 19:31
Compare
Choose a tag to compare
v1.12.0

1.12.0

1.11.0

19 Aug 10:26
Compare
Choose a tag to compare
1.11.0 Pre-release
Pre-release

Updated plugin to use new postcss visitor API via PR #93, thanks @TheSeally

NOTE: This has been deprecated as it was introducing a breaking change, the plugin will be reworked to support PostCSS 8 in #95

1.10.0

16 Jun 17:35
Compare
Choose a tag to compare

Now the ignoreFiles/includeFiles also support regex via PR #91, thanks @mellis481