| 1 | # Changes to PostCSS Pseudo Class Any Link
|
|---|
| 2 |
|
|---|
| 3 | ### 7.1.6 (July 8, 2022)
|
|---|
| 4 |
|
|---|
| 5 | - Fix case insensitive `:any-link` matching.
|
|---|
| 6 |
|
|---|
| 7 | ### 7.1.5 (June 23, 2022)
|
|---|
| 8 |
|
|---|
| 9 | - Fix selector order with any pseudo element. This plugin will no longer re-order selectors.
|
|---|
| 10 |
|
|---|
| 11 | ### 7.1.4 (May 17, 2022)
|
|---|
| 12 |
|
|---|
| 13 | - Fix selector order with `:before` and other pseudo elements.
|
|---|
| 14 |
|
|---|
| 15 | ### 7.1.3 (May 6, 2022)
|
|---|
| 16 |
|
|---|
| 17 | - Improve handling of `<area>` fallbacks for IE and Edge.
|
|---|
| 18 |
|
|---|
| 19 | ```diff
|
|---|
| 20 | a:any-link {
|
|---|
| 21 | text-decoration: none;
|
|---|
| 22 | }
|
|---|
| 23 |
|
|---|
| 24 | /* becomes */
|
|---|
| 25 |
|
|---|
| 26 | - a:link, a:visited, aarea[href] {
|
|---|
| 27 | + a:link, a:visited {
|
|---|
| 28 | text-decoration: none;
|
|---|
| 29 | }
|
|---|
| 30 | ```
|
|---|
| 31 |
|
|---|
| 32 | ### 7.1.2 (April 4, 2022)
|
|---|
| 33 |
|
|---|
| 34 | - Improved : compound selector order with pseudo elements
|
|---|
| 35 |
|
|---|
| 36 | ### 7.1.1 (February 5, 2022)
|
|---|
| 37 |
|
|---|
| 38 | - Improved `es module` and `commonjs` compatibility
|
|---|
| 39 |
|
|---|
| 40 | ### 7.1.0 (January 31, 2022)
|
|---|
| 41 |
|
|---|
| 42 | - Add support in IE and Edge for the `<area>` element
|
|---|
| 43 | - Add support for `:any-link` in pseudo class functions (`:not(:any-link)`)
|
|---|
| 44 |
|
|---|
| 45 | To support matching `:any-link` in IE and Edge on `<area href>` you need to set the `subFeatures.areaHrefNeedsFixing` option to `true`:
|
|---|
| 46 |
|
|---|
| 47 | ```js
|
|---|
| 48 | postcssPseudoClassAnyLink({
|
|---|
| 49 | subFeatures: {
|
|---|
| 50 | areaHrefNeedsFixing: true
|
|---|
| 51 | }
|
|---|
| 52 | })
|
|---|
| 53 | ```
|
|---|
| 54 |
|
|---|
| 55 | ### 7.0.2 (January 2, 2022)
|
|---|
| 56 |
|
|---|
| 57 | - Removed Sourcemaps from package tarball.
|
|---|
| 58 | - Moved CLI to CLI Package. See [announcement](https://github.com/csstools/postcss-plugins/discussions/121).
|
|---|
| 59 |
|
|---|
| 60 | ### 7.0.1 (December 13, 2021)
|
|---|
| 61 |
|
|---|
| 62 | - Updated: documentation
|
|---|
| 63 |
|
|---|
| 64 | ### 7.0.0 (September 17, 2021)
|
|---|
| 65 |
|
|---|
| 66 | - Updated: Support for PostCSS 8+ (major).
|
|---|
| 67 | - Updated: Support for Node v12+ (major).
|
|---|
| 68 |
|
|---|
| 69 | ### 6.0.0 (September 17, 2018)
|
|---|
| 70 |
|
|---|
| 71 | - Updated: Support for PostCSS v7+
|
|---|
| 72 | - Updated: Support for Node v6+
|
|---|
| 73 | - Updated: PostCSS Selector Parser 5.0.0-rc.3 (major)
|
|---|
| 74 |
|
|---|
| 75 | ### 5.0.0 (May 7, 2018)
|
|---|
| 76 |
|
|---|
| 77 | - Updated: `postcss-selector-parser` to v4.0.0 (major)
|
|---|
| 78 | - Updated: `postcss` to v6.0.22 (patch)
|
|---|
| 79 | - Changed: Preserves `:any-link` by default
|
|---|
| 80 |
|
|---|
| 81 | ### 4.0.0 (May 10, 2017)
|
|---|
| 82 |
|
|---|
| 83 | - Added: Support for PostCSS v6
|
|---|
| 84 | - Added: Support for Node v4
|
|---|
| 85 | - Removed: `prefix` option, as that would be non-spec
|
|---|
| 86 |
|
|---|
| 87 | ### 3.0.1 (December 8, 2016)
|
|---|
| 88 |
|
|---|
| 89 | - Updated: Use destructing assignment on plugin options
|
|---|
| 90 | - Updated: Use template literals
|
|---|
| 91 |
|
|---|
| 92 | ### 3.0.0 (December 5, 2016)
|
|---|
| 93 |
|
|---|
| 94 | - Updated: boilerplate conventions (Node v6.9.1 LTS)
|
|---|
| 95 |
|
|---|
| 96 | ### 1.0.0 (September 1, 2015)
|
|---|
| 97 |
|
|---|
| 98 | - Updated: PostCSS 5
|
|---|
| 99 | - Updated: Develop dependencies
|
|---|
| 100 | - Updated: ESLint configuration
|
|---|
| 101 |
|
|---|
| 102 | ### 0.3.0 (June 16, 2015)
|
|---|
| 103 |
|
|---|
| 104 | - Added: Support for complex uses
|
|---|
| 105 | - Added: Code documentation
|
|---|
| 106 | - Changed: Coding conventions
|
|---|
| 107 |
|
|---|
| 108 | ### 0.2.1 (June 16, 2015)
|
|---|
| 109 |
|
|---|
| 110 | - Fixed: postcss-selector-parser is included as a dependency
|
|---|
| 111 |
|
|---|
| 112 | ### 0.2.0 (June 15, 2015)
|
|---|
| 113 |
|
|---|
| 114 | - Changed: use postcss-selector-parser
|
|---|
| 115 |
|
|---|
| 116 | ### 0.1.1 (June 14, 2015)
|
|---|
| 117 |
|
|---|
| 118 | Initial release
|
|---|