diff --git a/.changeset/atomic-important-hash.md b/.changeset/atomic-important-hash.md deleted file mode 100644 index c66ff1d0d..000000000 --- a/.changeset/atomic-important-hash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@linaria/atomic': patch ---- - -Include the `!important` flag in atomic class name hashing. Previously, declarations differing only in importance (e.g. `color: red` and `color: red !important` in different files) produced the same `atm_*` class name while the emitted rule bodies differed, so whichever copy of the rule was loaded applied to every user of the atom — leaking `!important` to unrelated components and defeating their inline-style and cascade overrides. The flag now participates in the value slug (not the property slug, so `cx` deduplication semantics are unchanged), giving each variant its own class. diff --git a/.changeset/clean-unused-dependencies.md b/.changeset/clean-unused-dependencies.md deleted file mode 100644 index 6dcfcf347..000000000 --- a/.changeset/clean-unused-dependencies.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@linaria/atomic': patch -'@linaria/core': patch -'@linaria/postcss-linaria': patch -'@linaria/react': patch ---- - -Remove package dependencies that are no longer used by Linaria. diff --git a/.changeset/config.json b/.changeset/config.json index 33d375b43..1d535c759 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -2,10 +2,22 @@ "$schema": "https://unpkg.com/@changesets/config@2.0.0/schema.json", "changelog": "@changesets/cli/changelog", "commit": false, - "fixed": [], + "fixed": [ + [ + "@linaria/atomic", + "@linaria/babel-plugin-interop", + "@linaria/core", + "@linaria/postcss-linaria", + "@linaria/react", + "@linaria/server", + "@linaria/stylelint", + "@linaria/stylelint-config-standard-linaria", + "linaria" + ] + ], "linked": [], "access": "restricted", "baseBranch": "master", "updateInternalDependencies": "patch", - "ignore": [] + "ignore": ["@linaria/testkit", "linaria-website"] } diff --git a/.changeset/fix-nullish-styled-vars.md b/.changeset/fix-nullish-styled-vars.md deleted file mode 100644 index c8087c0ac..000000000 --- a/.changeset/fix-nullish-styled-vars.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@linaria/react': patch ---- - -Omit dynamic CSS custom properties when a runtime interpolation returns `null` or `undefined`. diff --git a/.changeset/fix-stylelint-template-lang.md b/.changeset/fix-stylelint-template-lang.md deleted file mode 100644 index 2cd78b6a5..000000000 --- a/.changeset/fix-stylelint-template-lang.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@linaria/postcss-linaria': patch ---- - -Mark extracted template CSS roots as `template-literal` so Stylelint 14 rules can lint top-level declarations. diff --git a/.changeset/lazy-styled-specificity.md b/.changeset/lazy-styled-specificity.md deleted file mode 100644 index 48937000a..000000000 --- a/.changeset/lazy-styled-specificity.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@linaria/react": patch ---- - -Increase selector specificity when styling React.lazy targets so wrapper styles can override lazy-loaded component CSS. diff --git a/.changeset/polymorphic-as-types.md b/.changeset/polymorphic-as-types.md deleted file mode 100644 index 4f1c84bd9..000000000 --- a/.changeset/polymorphic-as-types.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@linaria/react": patch ---- - -Add typing for intrinsic props selected through the polymorphic `as` prop on styled components. diff --git a/.changeset/update-wyw-2-1.md b/.changeset/update-wyw-2-1.md deleted file mode 100644 index 297ee6200..000000000 --- a/.changeset/update-wyw-2-1.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@linaria/atomic': minor -'@linaria/core': minor -'@linaria/react': minor -'@linaria/stylelint': minor ---- - -Update WyW dependencies to 2.1.5. diff --git a/packages/atomic/CHANGELOG.md b/packages/atomic/CHANGELOG.md index 23e5002cb..480e9f47f 100644 --- a/packages/atomic/CHANGELOG.md +++ b/packages/atomic/CHANGELOG.md @@ -1,5 +1,23 @@ # Change Log +## 8.1.0 + +### Minor Changes + +- 63840d6b: Update WyW dependencies to 2.1.5. + +### Patch Changes + +- ac9f7997: Include the `!important` flag in atomic class name hashing. Previously, declarations differing only in importance (e.g. `color: red` and `color: red !important` in different files) produced the same `atm_*` class name while the emitted rule bodies differed, so whichever copy of the rule was loaded applied to every user of the atom — leaking `!important` to unrelated components and defeating their inline-style and cascade overrides. The flag now participates in the value slug (not the property slug, so `cx` deduplication semantics are unchanged), giving each variant its own class. +- 45539fd0: Remove package dependencies that are no longer used by Linaria. +- Updated dependencies [45539fd0] +- Updated dependencies [77647195] +- Updated dependencies [be435e47] +- Updated dependencies [74a417b2] +- Updated dependencies [63840d6b] + - @linaria/core@8.1.0 + - @linaria/react@8.1.0 + ## 8.0.0 ### Major Changes diff --git a/packages/atomic/package.json b/packages/atomic/package.json index 7f5ecb336..f780522d1 100644 --- a/packages/atomic/package.json +++ b/packages/atomic/package.json @@ -1,6 +1,6 @@ { "name": "@linaria/atomic", - "version": "8.0.0", + "version": "8.1.0", "description": "Blazing fast zero-runtime CSS in JS library", "keywords": [ "css", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 18ff8491d..6dcd0d58c 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## 8.1.0 + +### Minor Changes + +- 63840d6b: Update WyW dependencies to 2.1.5. + +### Patch Changes + +- 45539fd0: Remove package dependencies that are no longer used by Linaria. + ## 8.0.0 ### Major Changes diff --git a/packages/core/package.json b/packages/core/package.json index 77a3b1ecc..3e0c70f84 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@linaria/core", - "version": "8.0.0", + "version": "8.1.0", "description": "Blazing fast zero-runtime CSS in JS library", "keywords": [ "css", diff --git a/packages/interop/CHANGELOG.md b/packages/interop/CHANGELOG.md index b1eea5217..40d91b93f 100644 --- a/packages/interop/CHANGELOG.md +++ b/packages/interop/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 8.1.0 + ## 8.0.0 ### Major Changes diff --git a/packages/interop/package.json b/packages/interop/package.json index 4288e2310..fcadf524b 100644 --- a/packages/interop/package.json +++ b/packages/interop/package.json @@ -1,6 +1,6 @@ { "name": "@linaria/babel-plugin-interop", - "version": "8.0.0", + "version": "8.1.0", "homepage": "https://github.com/callstack/linaria/tree/master/packages/interop#readme", "repository": "git@github.com:callstack/linaria.git", "license": "MIT", diff --git a/packages/linaria/CHANGELOG.md b/packages/linaria/CHANGELOG.md index cc1863ebf..4cfa6b17d 100644 --- a/packages/linaria/CHANGELOG.md +++ b/packages/linaria/CHANGELOG.md @@ -1,5 +1,18 @@ # Change Log +## 8.1.0 + +### Patch Changes + +- Updated dependencies [45539fd0] +- Updated dependencies [77647195] +- Updated dependencies [be435e47] +- Updated dependencies [74a417b2] +- Updated dependencies [63840d6b] + - @linaria/core@8.1.0 + - @linaria/react@8.1.0 + - @linaria/server@8.1.0 + ## 8.0.0 ### Major Changes diff --git a/packages/linaria/package.json b/packages/linaria/package.json index f089ea9b0..f6f37438c 100644 --- a/packages/linaria/package.json +++ b/packages/linaria/package.json @@ -1,6 +1,6 @@ { "name": "linaria", - "version": "8.0.0", + "version": "8.1.0", "description": "Blazing fast zero-runtime CSS in JS library", "keywords": [ "babel", diff --git a/packages/postcss-linaria/CHANGELOG.md b/packages/postcss-linaria/CHANGELOG.md index c7a77b823..548983419 100644 --- a/packages/postcss-linaria/CHANGELOG.md +++ b/packages/postcss-linaria/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## 8.1.0 + +### Patch Changes + +- 45539fd0: Remove package dependencies that are no longer used by Linaria. +- b8877315: Mark extracted template CSS roots as `template-literal` so Stylelint 14 rules can lint top-level declarations. + ## 8.0.0 ### Major Changes diff --git a/packages/postcss-linaria/package.json b/packages/postcss-linaria/package.json index a87139170..15ac58e41 100644 --- a/packages/postcss-linaria/package.json +++ b/packages/postcss-linaria/package.json @@ -1,6 +1,6 @@ { "name": "@linaria/postcss-linaria", - "version": "8.0.0", + "version": "8.1.0", "description": "Blazing fast zero-runtime CSS in JS library", "keywords": [ "css", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index d525b69da..7a52c82f9 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,21 @@ # Change Log +## 8.1.0 + +### Minor Changes + +- 63840d6b: Update WyW dependencies to 2.1.5. + +### Patch Changes + +- 45539fd0: Remove package dependencies that are no longer used by Linaria. +- 77647195: Omit dynamic CSS custom properties when a runtime interpolation returns `null` or `undefined`. +- be435e47: Increase selector specificity when styling React.lazy targets so wrapper styles can override lazy-loaded component CSS. +- 74a417b2: Add typing for intrinsic props selected through the polymorphic `as` prop on styled components. +- Updated dependencies [45539fd0] +- Updated dependencies [63840d6b] + - @linaria/core@8.1.0 + ## 8.0.0 ### Major Changes diff --git a/packages/react/package.json b/packages/react/package.json index 868e88b92..215103bf1 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@linaria/react", - "version": "8.0.0", + "version": "8.1.0", "description": "Blazing fast zero-runtime CSS in JS library", "keywords": [ "css", diff --git a/packages/server/CHANGELOG.md b/packages/server/CHANGELOG.md index 4823a6c86..81d81b12e 100644 --- a/packages/server/CHANGELOG.md +++ b/packages/server/CHANGELOG.md @@ -1,5 +1,7 @@ # Change Log +## 8.1.0 + ## 8.0.0 ### Major Changes diff --git a/packages/server/package.json b/packages/server/package.json index b881a6a81..88ecb844c 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@linaria/server", - "version": "8.0.0", + "version": "8.1.0", "description": "Blazing fast zero-runtime CSS in JS library", "keywords": [ "css", diff --git a/packages/stylelint-config-standard-linaria/CHANGELOG.md b/packages/stylelint-config-standard-linaria/CHANGELOG.md index 6f153055f..76617f953 100644 --- a/packages/stylelint-config-standard-linaria/CHANGELOG.md +++ b/packages/stylelint-config-standard-linaria/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 8.1.0 + +### Patch Changes + +- Updated dependencies [45539fd0] +- Updated dependencies [b8877315] + - @linaria/postcss-linaria@8.1.0 + ## 8.0.0 ### Major Changes diff --git a/packages/stylelint-config-standard-linaria/package.json b/packages/stylelint-config-standard-linaria/package.json index de8ef6f48..fc9a693c6 100644 --- a/packages/stylelint-config-standard-linaria/package.json +++ b/packages/stylelint-config-standard-linaria/package.json @@ -1,6 +1,6 @@ { "name": "@linaria/stylelint-config-standard-linaria", - "version": "8.0.0", + "version": "8.1.0", "description": "Blazing fast zero-runtime CSS in JS library", "keywords": [ "css", diff --git a/packages/stylelint/CHANGELOG.md b/packages/stylelint/CHANGELOG.md index 51c565597..5e87dc26f 100644 --- a/packages/stylelint/CHANGELOG.md +++ b/packages/stylelint/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 8.1.0 + +### Minor Changes + +- 63840d6b: Update WyW dependencies to 2.1.5. + ## 8.0.0 ### Major Changes diff --git a/packages/stylelint/package.json b/packages/stylelint/package.json index 0941b5343..b2fdd5463 100644 --- a/packages/stylelint/package.json +++ b/packages/stylelint/package.json @@ -1,6 +1,6 @@ { "name": "@linaria/stylelint", - "version": "8.0.0", + "version": "8.1.0", "description": "Blazing fast zero-runtime CSS in JS library", "keywords": [ "css",