184 lines
3 KiB
Markdown
184 lines
3 KiB
Markdown
|
# Changes to PostCSS Pseudo Class Any Link
|
||
|
|
||
|
### 9.0.0
|
||
|
|
||
|
_July 3, 2023_
|
||
|
|
||
|
- Change license to `MIT-0` ([read more about this change in the blog post](https://preset-env.cssdb.org/blog/license-change/))
|
||
|
|
||
|
### 8.0.2
|
||
|
|
||
|
_February 9, 2023_
|
||
|
|
||
|
- Reduce the amount of duplicate fallback CSS.
|
||
|
|
||
|
### 8.0.1
|
||
|
|
||
|
_January 28, 2023_
|
||
|
|
||
|
- Improve `types` declaration in `package.json`
|
||
|
|
||
|
### 8.0.0
|
||
|
|
||
|
_January 24, 2023_
|
||
|
|
||
|
- Updated: Support for Node v14+ (major).
|
||
|
- Fix: Do not throw when a selector is invalid, show a warning instead.
|
||
|
|
||
|
### 7.1.6
|
||
|
|
||
|
_July 8, 2022_
|
||
|
|
||
|
- Fix case insensitive `:any-link` matching.
|
||
|
|
||
|
### 7.1.5
|
||
|
|
||
|
_June 23, 2022_
|
||
|
|
||
|
- Fix selector order with any pseudo element. This plugin will no longer re-order selectors.
|
||
|
|
||
|
### 7.1.4
|
||
|
|
||
|
_May 17, 2022_
|
||
|
|
||
|
- Fix selector order with `:before` and other pseudo elements.
|
||
|
|
||
|
### 7.1.3
|
||
|
|
||
|
_May 6, 2022_
|
||
|
|
||
|
- Improve handling of `<area>` fallbacks for IE and Edge.
|
||
|
|
||
|
```diff
|
||
|
a:any-link {
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
/* becomes */
|
||
|
|
||
|
- a:link, a:visited, aarea[href] {
|
||
|
+ a:link, a:visited {
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
```
|
||
|
|
||
|
### 7.1.2
|
||
|
|
||
|
_April 4, 2022_
|
||
|
|
||
|
- Improved : compound selector order with pseudo elements
|
||
|
|
||
|
### 7.1.1
|
||
|
|
||
|
_February 5, 2022_
|
||
|
|
||
|
- Improved `es module` and `commonjs` compatibility
|
||
|
|
||
|
### 7.1.0
|
||
|
|
||
|
_January 31, 2022_
|
||
|
|
||
|
- Add support in IE and Edge for the `<area>` element
|
||
|
- Add support for `:any-link` in pseudo class functions (`:not(:any-link)`)
|
||
|
|
||
|
To support matching `:any-link` in IE and Edge on `<area href>` you need to set the `subFeatures.areaHrefNeedsFixing` option to `true`:
|
||
|
|
||
|
```js
|
||
|
postcssPseudoClassAnyLink({
|
||
|
subFeatures: {
|
||
|
areaHrefNeedsFixing: true
|
||
|
}
|
||
|
})
|
||
|
```
|
||
|
|
||
|
### 7.0.2
|
||
|
|
||
|
_January 2, 2022_
|
||
|
|
||
|
- Removed Sourcemaps from package tarball.
|
||
|
- Moved CLI to CLI Package. See [announcement](https://github.com/csstools/postcss-plugins/discussions/121).
|
||
|
|
||
|
### 7.0.1
|
||
|
|
||
|
_December 13, 2021_
|
||
|
|
||
|
- Updated: documentation
|
||
|
|
||
|
### 7.0.0
|
||
|
|
||
|
_September 17, 2021_
|
||
|
|
||
|
- Updated: Support for PostCSS 8+ (major).
|
||
|
- Updated: Support for Node v12+ (major).
|
||
|
|
||
|
### 6.0.0
|
||
|
|
||
|
_September 17, 2018_
|
||
|
|
||
|
- Updated: Support for PostCSS v7+
|
||
|
- Updated: Support for Node v6+
|
||
|
- Updated: PostCSS Selector Parser 5.0.0-rc.3 (major)
|
||
|
|
||
|
### 5.0.0
|
||
|
|
||
|
_May 7, 2018_
|
||
|
|
||
|
- Updated: `postcss-selector-parser` to v4.0.0 (major)
|
||
|
- Updated: `postcss` to v6.0.22 (patch)
|
||
|
- Changed: Preserves `:any-link` by default
|
||
|
|
||
|
### 4.0.0
|
||
|
|
||
|
_May 10, 2017_
|
||
|
|
||
|
- Added: Support for PostCSS v6
|
||
|
- Added: Support for Node v4
|
||
|
- Removed: `prefix` option, as that would be non-spec
|
||
|
|
||
|
### 3.0.1
|
||
|
|
||
|
_December 8, 2016_
|
||
|
|
||
|
- Updated: Use destructing assignment on plugin options
|
||
|
- Updated: Use template literals
|
||
|
|
||
|
### 3.0.0
|
||
|
|
||
|
_December 5, 2016_
|
||
|
|
||
|
- Updated: boilerplate conventions (Node v6.9.1 LTS)
|
||
|
|
||
|
### 1.0.0
|
||
|
|
||
|
_September 1, 2015_
|
||
|
|
||
|
- Updated: PostCSS 5
|
||
|
- Updated: Develop dependencies
|
||
|
- Updated: ESLint configuration
|
||
|
|
||
|
### 0.3.0
|
||
|
|
||
|
_June 16, 2015_
|
||
|
|
||
|
- Added: Support for complex uses
|
||
|
- Added: Code documentation
|
||
|
- Changed: Coding conventions
|
||
|
|
||
|
### 0.2.1
|
||
|
|
||
|
_June 16, 2015_
|
||
|
|
||
|
- Fixed: postcss-selector-parser is included as a dependency
|
||
|
|
||
|
### 0.2.0
|
||
|
|
||
|
_June 15, 2015_
|
||
|
|
||
|
- Changed: use postcss-selector-parser
|
||
|
|
||
|
### 0.1.1
|
||
|
|
||
|
_June 14, 2015_
|
||
|
|
||
|
Initial release
|