postcss-custom-selectors
Advanced tools
Comparing version 7.1.3 to 7.1.4
107
CHANGELOG.md
# Changes to PostCSS Custom Selectors | ||
### 7.1.3 (April 10, 2023) | ||
### 7.1.4 | ||
_July 3, 2023_ | ||
- Updated [`@csstools/css-parser-algorithms`](/packages/css-parser-algorithms) to [`2.3.0`](/packages/css-parser-algorithms/CHANGELOG.md#230) (minor) | ||
- Updated [`@csstools/cascade-layer-name-parser`](/packages/cascade-layer-name-parser) to [`1.0.3`](/packages/cascade-layer-name-parser/CHANGELOG.md#103) (patch) | ||
### 7.1.3 | ||
_April 10, 2023_ | ||
- Updated `@csstools/css-tokenizer` to `2.1.1` (patch) | ||
@@ -9,16 +18,24 @@ - Updated `@csstools/css-parser-algorithms` to `2.1.1` (patch) | ||
### 7.1.2 (February 8, 2023) | ||
### 7.1.2 | ||
_February 8, 2023_ | ||
- Reduce the amount of duplicate fallback CSS. | ||
### 7.1.1 (January 28, 2023) | ||
### 7.1.1 | ||
_January 28, 2023_ | ||
- Improve `types` declaration in `package.json` | ||
### 7.1.0 (January 24, 2023) | ||
### 7.1.0 | ||
_January 24, 2023_ | ||
- Added: Support for Cascade Layers. | ||
### 7.0.0 (November 14, 2022) | ||
### 7.0.0 | ||
_November 14, 2022_ | ||
- Updated: Support for Node v14+ (major). | ||
@@ -46,17 +63,25 @@ - Removed: `importFrom` feature (breaking). | ||
### 6.0.3 (June 4, 2022) | ||
### 6.0.3 | ||
_June 4, 2022_ | ||
- Fixed: allow any valid ident in custom selectors (`@custom-selector :--🧑🏾🎤 .singer`) | ||
### 6.0.2 (June 3, 2022) | ||
### 6.0.2 | ||
_June 3, 2022_ | ||
- Fixed: prevent duplicate rules when custom selectors are not defined | ||
- Fixed: selectors not resolving when using with other features like nesting | ||
### 6.0.1 (June 3, 2022) | ||
### 6.0.1 | ||
_June 3, 2022_ | ||
- Fixed: invalid whitespace (https://github.com/csstools/postcss-custom-selectors/pull/55) | ||
### 6.0.0 (January 12, 2021) | ||
### 6.0.0 | ||
_January 12, 2021_ | ||
- Added: Support for PostCSS v8 | ||
@@ -66,17 +91,25 @@ - Added: Support for Node v10+ | ||
### 5.1.2 (September 20, 2018) | ||
### 5.1.2 | ||
_September 20, 2018_ | ||
- Fixed: Do not break on an empty `importFrom` object | ||
### 5.1.1 (September 18, 2018) | ||
### 5.1.1 | ||
_September 18, 2018_ | ||
- Fixed: Selectors like `.foo:--h1` become `h1.foo` instead of `.fooh1` | ||
### 5.1.0 (September 12, 2018) | ||
### 5.1.0 | ||
_September 12, 2018_ | ||
- Added: New `exportTo` function to specify where to export custom selectors | ||
- Updated: `importFrom` option to support passing it a function | ||
### 5.0.0 (September 7, 2018) | ||
### 5.0.0 | ||
_September 7, 2018_ | ||
- Added: New `preserve` option to preserve custom selectors and rules using them | ||
@@ -87,17 +120,25 @@ - Added: New `importFrom` option to specify where to import custom selectors | ||
### 4.0.1 (May 15, 2017) | ||
### 4.0.1 | ||
_May 15, 2017_ | ||
- Fixed: incorrect export | ||
### 4.0.0 (May 12, 2017) | ||
### 4.0.0 | ||
_May 12, 2017_ | ||
- Added: compatibility with postcss v6.x | ||
### 3.0.0 (August 25, 2015) | ||
### 3.0.0 | ||
_August 25, 2015_ | ||
- Removed: compatibility with postcss v4.x | ||
- Added: compatibility with postcss v5.x | ||
### 2.3.0 (July 14, 2015) | ||
### 2.3.0 | ||
_July 14, 2015_ | ||
* Fixed: Nested/mixed selectors now works correctly | ||
@@ -108,4 +149,6 @@ (https://github.com/postcss/postcss-custom-selectors/issues/19) | ||
### 2.2.0 (June 30, 2015) | ||
### 2.2.0 | ||
_June 30, 2015_ | ||
* Fixed: No more useless warnings for undefined non custom selectors | ||
@@ -115,4 +158,6 @@ (https://github.com/postcss/postcss-custom-selectors/issues/22) | ||
### 2.1.1 (June 30, 2015) | ||
### 2.1.1 | ||
_June 30, 2015_ | ||
* Fixed: the lineBreak option keeping the selectors indent | ||
@@ -123,13 +168,19 @@ (https://github.com/postcss/postcss-custom-selectors/issues/18) | ||
### 2.1.0 (June 4, 2015) | ||
### 2.1.0 | ||
_June 4, 2015_ | ||
* Changed: use PostCSS 4.1 plugin API | ||
(https://github.com/postcss/postcss-custom-selectors/issues/13) | ||
### 2.0.1 (June 3, 2015) | ||
### 2.0.1 | ||
_June 3, 2015_ | ||
* Fixed: `(foo, bar)` conversion error exists in the selector | ||
### 2.0.0 (May 29, 2015) | ||
### 2.0.0 | ||
_May 29, 2015_ | ||
* Removed: no longer support `::` or `--` to defined a custom selectors, | ||
@@ -142,12 +193,18 @@ you must use the syntax `:--` to define it. | ||
### 1.1.1 (April 6, 2015) | ||
### 1.1.1 | ||
_April 6, 2015_ | ||
* Fixed: add support for multilines definition | ||
### 1.1.0 (December 6, 2014) | ||
### 1.1.0 | ||
_December 6, 2014_ | ||
* Added: "lineBreak" option | ||
### 1.0.0 (December 6, 2014) | ||
### 1.0.0 | ||
_December 6, 2014_ | ||
* First release |
{ | ||
"name": "postcss-custom-selectors", | ||
"description": "Use Custom Selectors in CSS", | ||
"version": "7.1.3", | ||
"version": "7.1.4", | ||
"contributors": [ | ||
@@ -27,6 +27,12 @@ { | ||
"license": "MIT", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/csstools" | ||
}, | ||
"funding": [ | ||
{ | ||
"type": "github", | ||
"url": "https://github.com/sponsors/csstools" | ||
}, | ||
{ | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/csstools" | ||
} | ||
], | ||
"engines": { | ||
@@ -53,6 +59,6 @@ "node": "^14 || ^16 || >=18" | ||
"dependencies": { | ||
"@csstools/cascade-layer-name-parser": "^1.0.2", | ||
"@csstools/css-parser-algorithms": "^2.1.1", | ||
"@csstools/cascade-layer-name-parser": "^1.0.3", | ||
"@csstools/css-parser-algorithms": "^2.3.0", | ||
"@csstools/css-tokenizer": "^2.1.1", | ||
"postcss-selector-parser": "^6.0.4" | ||
"postcss-selector-parser": "^6.0.13" | ||
}, | ||
@@ -59,0 +65,0 @@ "peerDependencies": { |
19410