diff --git a/.changeset/chilly-clocks-jam.md b/.changeset/chilly-clocks-jam.md deleted file mode 100644 index 3fe115f3f..000000000 --- a/.changeset/chilly-clocks-jam.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@emotion/react": patch ---- - -The Global component no longer replaces style elements from server-rendering on first mount and instead reuses the server-side rendered style element - -author: @Andarist diff --git a/.changeset/orange-buttons-bow.md b/.changeset/orange-buttons-bow.md deleted file mode 100644 index 54a912b9a..000000000 --- a/.changeset/orange-buttons-bow.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@emotion/cache': patch ---- - -author: @danieldelcore -author: @mitchellhamilton - -Fixed moving of client-side inserted style tags from Emotion 10 when intending to hydrate Emotion 11 styles resulting in losing styles in production diff --git a/.changeset/tidy-feet-buy.md b/.changeset/tidy-feet-buy.md deleted file mode 100644 index a03f3ea42..000000000 --- a/.changeset/tidy-feet-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@emotion/server": minor ---- - -Added `extractCriticalToChunks` that allows the Global component to remove styles on unmount unlike `extractCritical` along with `constructStyleTagsFromChunks` to render the chunks to style tags. diff --git a/packages/cache/CHANGELOG.md b/packages/cache/CHANGELOG.md index a1df978e0..55e25b280 100644 --- a/packages/cache/CHANGELOG.md +++ b/packages/cache/CHANGELOG.md @@ -1,5 +1,11 @@ # @emotion/cache +## 11.4.0 + +### Patch Changes + +- [#2361](https://github.com/emotion-js/emotion/pull/2361) [`38f9d44f`](https://github.com/emotion-js/emotion/commit/38f9d44f919dccbf66c835ccde3f08ab927a4940) Thanks [@danieldelcore](https://github.com/danieldelcore), [@mitchellhamilton](https://github.com/mitchellhamilton)! - Fixed moving of client-side inserted style tags from Emotion 10 when intending to hydrate Emotion 11 styles resulting in losing styles in production + ## 11.1.3 ### Patch Changes diff --git a/packages/cache/package.json b/packages/cache/package.json index fad90b9d4..736a6f0f8 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/cache", - "version": "11.1.3", + "version": "11.4.0", "description": "emotion's cache", "main": "dist/emotion-cache.cjs.js", "module": "dist/emotion-cache.esm.js", diff --git a/packages/jest/package.json b/packages/jest/package.json index 3017083e7..10c3814d9 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -37,7 +37,7 @@ }, "devDependencies": { "@emotion/css": "11.1.3", - "@emotion/react": "11.1.5", + "@emotion/react": "11.4.0", "@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 f3d7228ee..15b590c56 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.1.5", + "@emotion/react": "11.4.0", "react": "16.14.0" }, "homepage": "https://emotion.sh", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index ed1faa069..9a03e9d78 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,14 @@ # @emotion/react +## 11.4.0 + +### Patch Changes + +- [#2334](https://github.com/emotion-js/emotion/pull/2334) [`7d9e74f8`](https://github.com/emotion-js/emotion/commit/7d9e74f8f0d0e0ea60573a19965eded61dc41024) Thanks [@Andarist](https://github.com/Andarist)! - The Global component no longer replaces style elements from server-rendering on first mount and instead reuses the server-side rendered style element + +- Updated dependencies [[`38f9d44f`](https://github.com/emotion-js/emotion/commit/38f9d44f919dccbf66c835ccde3f08ab927a4940)]: + - @emotion/cache@11.4.0 + ## 11.1.5 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index b399ff84b..3520e62f5 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/react", - "version": "11.1.5", + "version": "11.4.0", "main": "dist/emotion-react.cjs.js", "module": "dist/emotion-react.esm.js", "browser": { @@ -27,7 +27,7 @@ }, "dependencies": { "@babel/runtime": "^7.13.10", - "@emotion/cache": "^11.1.3", + "@emotion/cache": "^11.4.0", "@emotion/serialize": "^1.0.2", "@emotion/sheet": "^1.0.1", "@emotion/utils": "^1.0.0", @@ -50,7 +50,7 @@ "@babel/core": "^7.13.10", "@emotion/css": "11.1.3", "@emotion/css-prettifier": "1.0.0", - "@emotion/server": "11.0.0", + "@emotion/server": "11.4.0", "@emotion/styled": "11.3.0", "@types/react": "^16.9.11", "dtslint": "^0.3.0", diff --git a/packages/server/CHANGELOG.md b/packages/server/CHANGELOG.md index 9e09eaf27..90561c815 100644 --- a/packages/server/CHANGELOG.md +++ b/packages/server/CHANGELOG.md @@ -1,5 +1,11 @@ # @emotion/server +## 11.4.0 + +### Minor Changes + +- [#2334](https://github.com/emotion-js/emotion/pull/2334) [`7d9e74f8`](https://github.com/emotion-js/emotion/commit/7d9e74f8f0d0e0ea60573a19965eded61dc41024) Thanks [@mnajdova](https://github.com/mnajdova)! - Added `extractCriticalToChunks` that allows the Global component to remove styles on unmount unlike `extractCritical` along with `constructStyleTagsFromChunks` to render the chunks to style tags. + ## 11.0.0 ### Major Changes diff --git a/packages/server/package.json b/packages/server/package.json index 2a5285fad..fdb6ec6d7 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/server", - "version": "11.0.0", + "version": "11.4.0", "description": "Extract and inline critical css with emotion for server side rendering.", "main": "dist/emotion-server.cjs.js", "types": "types/index.d.ts", diff --git a/packages/styled/package.json b/packages/styled/package.json index de7e0815a..1eebe5b32 100644 --- a/packages/styled/package.json +++ b/packages/styled/package.json @@ -32,7 +32,7 @@ }, "devDependencies": { "@babel/core": "^7.13.10", - "@emotion/react": "11.1.5", + "@emotion/react": "11.4.0", "dtslint": "^0.3.0", "react": "16.14.0" },