diff --git a/.changeset/forty-pumas-refuse.md b/.changeset/forty-pumas-refuse.md deleted file mode 100644 index b4d5232b9..000000000 --- a/.changeset/forty-pumas-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emotion/react': patch ---- - -Exposed `__unsafe_useEmotionCache` which can be used to access the current Emotion's cache in an easier way than before. Using this might break 0-config SSR and is not recommended to be used unless there you know what you are doing and you are OK with the mentioned downside. diff --git a/.changeset/light-swans-guess.md b/.changeset/light-swans-guess.md deleted file mode 100644 index 4562ef14d..000000000 --- a/.changeset/light-swans-guess.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@emotion/react': patch ---- - - -Use theme context when rendering components at all times. This removes a conditional usage of a React hook that could break [Rules of Hooks](https://reactjs.org/docs/hooks-rules.html) in some scenarios. diff --git a/.changeset/olive-zebras-pump.md b/.changeset/olive-zebras-pump.md deleted file mode 100644 index 091546703..000000000 --- a/.changeset/olive-zebras-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emotion/react': patch ---- - -Added display names to public React contexts in development builds. This helps to recognize them in React Developer Tools. diff --git a/.changeset/pink-olives-try.md b/.changeset/pink-olives-try.md deleted file mode 100644 index a7827979b..000000000 --- a/.changeset/pink-olives-try.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emotion/sheet': patch ---- - -Do not log failed rule insertions in the speedy mode for even more vendor-prefixed pseudo-elements/classes like `:-moz-focus-inner`, `:-moz-focusring`, and `:-ms-clear`. diff --git a/packages/jest/package.json b/packages/jest/package.json index 10c3814d9..ba705c039 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -37,7 +37,7 @@ }, "devDependencies": { "@emotion/css": "11.1.3", - "@emotion/react": "11.4.0", + "@emotion/react": "11.4.1", "@types/jest": "^26.0.14", "dtslint": "^0.3.0", "enzyme-to-json": "^3.6.1", diff --git a/packages/primitives-core/package.json b/packages/primitives-core/package.json index 15b590c56..4a7c245a8 100644 --- a/packages/primitives-core/package.json +++ b/packages/primitives-core/package.json @@ -20,7 +20,7 @@ "react": ">=16.8.0" }, "devDependencies": { - "@emotion/react": "11.4.0", + "@emotion/react": "11.4.1", "react": "16.14.0" }, "homepage": "https://emotion.sh", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 9a03e9d78..d5f5ba2a3 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,18 @@ # @emotion/react +## 11.4.1 + +### Patch Changes + +- [#2441](https://github.com/emotion-js/emotion/pull/2441) [`24557d9d`](https://github.com/emotion-js/emotion/commit/24557d9d6409db453fdbaa031cb635820305f137) Thanks [@garronej](https://github.com/garronej)! - Exposed `__unsafe_useEmotionCache` which can be used to access the current Emotion's cache in an easier way than before. Using this might break 0-config SSR and is not recommended to be used unless there you know what you are doing and you are OK with the mentioned downside. + +* [#2424](https://github.com/emotion-js/emotion/pull/2424) [`cd25b62d`](https://github.com/emotion-js/emotion/commit/cd25b62da80119bfb1c74a8d0a3516fcd2f62e0e) Thanks [@tills13](https://github.com/tills13)! - Use theme context when rendering components at all times. This removes a conditional usage of a React hook that could break [Rules of Hooks](https://reactjs.org/docs/hooks-rules.html) in some scenarios. + +- [#2428](https://github.com/emotion-js/emotion/pull/2428) [`a69929d6`](https://github.com/emotion-js/emotion/commit/a69929d6ab47e834a3535525657829c81dd97b4a) Thanks [@eps1lon](https://github.com/eps1lon)! - Added display names to public React contexts in development builds. This helps to recognize them in React Developer Tools. + +- Updated dependencies [[`405af5ca`](https://github.com/emotion-js/emotion/commit/405af5ca01dcc0cac64227db082ce3f483e1bb46)]: + - @emotion/sheet@1.0.2 + ## 11.4.0 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 3520e62f5..7f536f927 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/react", - "version": "11.4.0", + "version": "11.4.1", "main": "dist/emotion-react.cjs.js", "module": "dist/emotion-react.esm.js", "browser": { @@ -29,7 +29,7 @@ "@babel/runtime": "^7.13.10", "@emotion/cache": "^11.4.0", "@emotion/serialize": "^1.0.2", - "@emotion/sheet": "^1.0.1", + "@emotion/sheet": "^1.0.2", "@emotion/utils": "^1.0.0", "@emotion/weak-memoize": "^0.2.5", "hoist-non-react-statics": "^3.3.1" diff --git a/packages/sheet/CHANGELOG.md b/packages/sheet/CHANGELOG.md index 802b2cc4c..af8a8a802 100644 --- a/packages/sheet/CHANGELOG.md +++ b/packages/sheet/CHANGELOG.md @@ -1,5 +1,11 @@ # @emotion/sheet +## 1.0.2 + +### Patch Changes + +- [#2393](https://github.com/emotion-js/emotion/pull/2393) [`405af5ca`](https://github.com/emotion-js/emotion/commit/405af5ca01dcc0cac64227db082ce3f483e1bb46) Thanks [@layershifter](https://github.com/layershifter)! - Do not log failed rule insertions in the speedy mode for even more vendor-prefixed pseudo-elements/classes like `:-moz-focus-inner`, `:-moz-focusring`, and `:-ms-clear`. + ## 1.0.1 ### Patch Changes diff --git a/packages/sheet/package.json b/packages/sheet/package.json index 0416af32a..802e22fe9 100644 --- a/packages/sheet/package.json +++ b/packages/sheet/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/sheet", - "version": "1.0.1", + "version": "1.0.2", "description": "emotion's stylesheet", "main": "dist/emotion-sheet.cjs.js", "module": "dist/emotion-sheet.esm.js", diff --git a/packages/styled/package.json b/packages/styled/package.json index 1eebe5b32..74ef17837 100644 --- a/packages/styled/package.json +++ b/packages/styled/package.json @@ -32,7 +32,7 @@ }, "devDependencies": { "@babel/core": "^7.13.10", - "@emotion/react": "11.4.0", + "@emotion/react": "11.4.1", "dtslint": "^0.3.0", "react": "16.14.0" },