diff --git a/.changeset/tiny-jeans-check.md b/.changeset/tiny-jeans-check.md deleted file mode 100644 index 760085f50..000000000 --- a/.changeset/tiny-jeans-check.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'@emotion/cache': minor -'@emotion/css': minor -'@emotion/primitives-core': minor -'@emotion/react': minor -'@emotion/serialize': minor -'@emotion/sheet': minor -'@emotion/styled': minor -'@emotion/use-insertion-effect-with-fallbacks': minor -'@emotion/utils': minor ---- - -Migrated away from relying on `process.env.NODE_ENV` checks to differentiate between production and development builds. - -Development builds (and other environment-specific builds) can be used by using proper conditions (see [here](https://nodejs.org/docs/v20.15.1/api/packages.html#resolving-user-conditions)). Most modern bundlers/frameworks already preconfigure those for the user so no action has to be taken. - -Default files should continue to work in all environments. diff --git a/.changeset/whiny-lemons-lay.md b/.changeset/whiny-lemons-lay.md deleted file mode 100644 index ba1ca7d04..000000000 --- a/.changeset/whiny-lemons-lay.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@emotion/use-insertion-effect-with-fallbacks': minor -'@emotion/primitives': minor -'@emotion/styled': minor -'@emotion/cache': minor -'@emotion/react': minor -'@emotion/utils': minor ---- - -Added `edge-light` and `workerd` conditions to `package.json` manifest to better serve users using Vercel Edge and Cloudflare Workers. diff --git a/.changeset/witty-guests-care.md b/.changeset/witty-guests-care.md deleted file mode 100644 index 32656eef3..000000000 --- a/.changeset/witty-guests-care.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@emotion/jest': minor ---- - -Adjustments to how speedy rules are obtained by the plugin. diff --git a/packages/cache/CHANGELOG.md b/packages/cache/CHANGELOG.md index e8d91931b..ebe1d82f2 100644 --- a/packages/cache/CHANGELOG.md +++ b/packages/cache/CHANGELOG.md @@ -1,5 +1,23 @@ # @emotion/cache +## 11.13.0 + +### Minor Changes + +- [#3198](https://github.com/emotion-js/emotion/pull/3198) [`d8ff8a5`](https://github.com/emotion-js/emotion/commit/d8ff8a5990c691017b463b3fa23a9f46ab28147b) Thanks [@Andarist](https://github.com/Andarist)! - Migrated away from relying on `process.env.NODE_ENV` checks to differentiate between production and development builds. + + Development builds (and other environment-specific builds) can be used by using proper conditions (see [here](https://nodejs.org/docs/v20.15.1/api/packages.html#resolving-user-conditions)). Most modern bundlers/frameworks already preconfigure those for the user so no action has to be taken. + + Default files should continue to work in all environments. + +- [#3215](https://github.com/emotion-js/emotion/pull/3215) [`a9f6912`](https://github.com/emotion-js/emotion/commit/a9f691299844bf6837b7ad41ee17cd912496f3d5) Thanks [@Andarist](https://github.com/Andarist)! - Added `edge-light` and `workerd` conditions to `package.json` manifest to better serve users using Vercel Edge and Cloudflare Workers. + +### Patch Changes + +- Updated dependencies [[`d8ff8a5`](https://github.com/emotion-js/emotion/commit/d8ff8a5990c691017b463b3fa23a9f46ab28147b), [`a9f6912`](https://github.com/emotion-js/emotion/commit/a9f691299844bf6837b7ad41ee17cd912496f3d5)]: + - @emotion/sheet@1.4.0 + - @emotion/utils@1.4.0 + ## 11.12.0 ### Patch Changes diff --git a/packages/cache/package.json b/packages/cache/package.json index fedcf720e..2373e67a3 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/cache", - "version": "11.12.0", + "version": "11.13.0", "description": "emotion's cache", "main": "dist/emotion-cache.cjs.js", "module": "dist/emotion-cache.esm.js", @@ -82,8 +82,8 @@ }, "dependencies": { "@emotion/memoize": "^0.9.0", - "@emotion/sheet": "^1.3.0", - "@emotion/utils": "^1.3.0", + "@emotion/sheet": "^1.4.0", + "@emotion/utils": "^1.4.0", "@emotion/weak-memoize": "^0.4.0", "stylis": "4.2.0" }, diff --git a/packages/css/CHANGELOG.md b/packages/css/CHANGELOG.md index af7e3932e..74d62e443 100644 --- a/packages/css/CHANGELOG.md +++ b/packages/css/CHANGELOG.md @@ -1,5 +1,23 @@ # emotion +## 11.13.0 + +### Minor Changes + +- [#3198](https://github.com/emotion-js/emotion/pull/3198) [`d8ff8a5`](https://github.com/emotion-js/emotion/commit/d8ff8a5990c691017b463b3fa23a9f46ab28147b) Thanks [@Andarist](https://github.com/Andarist)! - Migrated away from relying on `process.env.NODE_ENV` checks to differentiate between production and development builds. + + Development builds (and other environment-specific builds) can be used by using proper conditions (see [here](https://nodejs.org/docs/v20.15.1/api/packages.html#resolving-user-conditions)). Most modern bundlers/frameworks already preconfigure those for the user so no action has to be taken. + + Default files should continue to work in all environments. + +### Patch Changes + +- Updated dependencies [[`d8ff8a5`](https://github.com/emotion-js/emotion/commit/d8ff8a5990c691017b463b3fa23a9f46ab28147b), [`a9f6912`](https://github.com/emotion-js/emotion/commit/a9f691299844bf6837b7ad41ee17cd912496f3d5)]: + - @emotion/cache@11.13.0 + - @emotion/serialize@1.3.0 + - @emotion/sheet@1.4.0 + - @emotion/utils@1.4.0 + ## 11.12.0 ### Minor Changes diff --git a/packages/css/package.json b/packages/css/package.json index 09b69a7ce..1a1734be0 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/css", - "version": "11.12.0", + "version": "11.13.0", "description": "The Next Generation of CSS-in-JS.", "main": "dist/emotion-css.cjs.js", "module": "dist/emotion-css.esm.js", @@ -17,10 +17,10 @@ }, "dependencies": { "@emotion/babel-plugin": "^11.12.0", - "@emotion/cache": "^11.12.0", - "@emotion/serialize": "^1.2.0", - "@emotion/sheet": "^1.3.0", - "@emotion/utils": "^1.3.0" + "@emotion/cache": "^11.13.0", + "@emotion/serialize": "^1.3.0", + "@emotion/sheet": "^1.4.0", + "@emotion/utils": "^1.4.0" }, "devDependencies": { "@definitelytyped/dtslint": "0.0.112", diff --git a/packages/jest/CHANGELOG.md b/packages/jest/CHANGELOG.md index 6f2a3abbf..cccd587a3 100644 --- a/packages/jest/CHANGELOG.md +++ b/packages/jest/CHANGELOG.md @@ -1,5 +1,11 @@ # @emotion/jest +## 11.13.0 + +### Minor Changes + +- [#3198](https://github.com/emotion-js/emotion/pull/3198) [`d8ff8a5`](https://github.com/emotion-js/emotion/commit/d8ff8a5990c691017b463b3fa23a9f46ab28147b) Thanks [@Andarist](https://github.com/Andarist)! - Adjustments to how speedy rules are obtained by the plugin. + ## 11.11.0 ### Patch Changes diff --git a/packages/jest/package.json b/packages/jest/package.json index 8275f7e6d..d0d7bef4d 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/jest", - "version": "11.11.0", + "version": "11.13.0", "description": "Jest utilities for emotion", "main": "dist/emotion-jest.cjs.js", "module": "dist/emotion-jest.esm.js", @@ -76,8 +76,8 @@ }, "devDependencies": { "@definitelytyped/dtslint": "0.0.112", - "@emotion/css": "11.12.0", - "@emotion/react": "11.12.0", + "@emotion/css": "11.13.0", + "@emotion/react": "11.13.0", "@types/jest": "^29.5.12", "enzyme-to-json": "^3.6.1", "pretty-format": "^22.4.3", diff --git a/packages/primitives-core/CHANGELOG.md b/packages/primitives-core/CHANGELOG.md index a3545639a..4649e9e2f 100644 --- a/packages/primitives-core/CHANGELOG.md +++ b/packages/primitives-core/CHANGELOG.md @@ -1,5 +1,15 @@ # @emotion/primitives-core +## 11.13.0 + +### Minor Changes + +- [#3198](https://github.com/emotion-js/emotion/pull/3198) [`d8ff8a5`](https://github.com/emotion-js/emotion/commit/d8ff8a5990c691017b463b3fa23a9f46ab28147b) Thanks [@Andarist](https://github.com/Andarist)! - Migrated away from relying on `process.env.NODE_ENV` checks to differentiate between production and development builds. + + Development builds (and other environment-specific builds) can be used by using proper conditions (see [here](https://nodejs.org/docs/v20.15.1/api/packages.html#resolving-user-conditions)). Most modern bundlers/frameworks already preconfigure those for the user so no action has to be taken. + + Default files should continue to work in all environments. + ## 11.12.0 ### Minor Changes diff --git a/packages/primitives-core/package.json b/packages/primitives-core/package.json index 0fbf232db..fdb2db415 100644 --- a/packages/primitives-core/package.json +++ b/packages/primitives-core/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/primitives-core", - "version": "11.12.0", + "version": "11.13.0", "description": "Shared utilities for emotion primitives and native", "main": "dist/emotion-primitives-core.cjs.js", "module": "dist/emotion-primitives-core.esm.js", @@ -18,7 +18,7 @@ "react": ">=16.8.0" }, "devDependencies": { - "@emotion/react": "11.12.0", + "@emotion/react": "11.13.0", "@types/css-to-react-native": "^3.0.0", "react": "16.14.0" }, diff --git a/packages/primitives/CHANGELOG.md b/packages/primitives/CHANGELOG.md index 750c5ab50..2146ca7a4 100644 --- a/packages/primitives/CHANGELOG.md +++ b/packages/primitives/CHANGELOG.md @@ -1,5 +1,16 @@ # @emotion/primitives +## 11.13.0 + +### Minor Changes + +- [#3215](https://github.com/emotion-js/emotion/pull/3215) [`a9f6912`](https://github.com/emotion-js/emotion/commit/a9f691299844bf6837b7ad41ee17cd912496f3d5) Thanks [@Andarist](https://github.com/Andarist)! - Added `edge-light` and `workerd` conditions to `package.json` manifest to better serve users using Vercel Edge and Cloudflare Workers. + +### Patch Changes + +- Updated dependencies [[`d8ff8a5`](https://github.com/emotion-js/emotion/commit/d8ff8a5990c691017b463b3fa23a9f46ab28147b)]: + - @emotion/primitives-core@11.13.0 + ## 11.11.0 ### Patch Changes diff --git a/packages/primitives/package.json b/packages/primitives/package.json index 9f320ef2f..3553ca13a 100644 --- a/packages/primitives/package.json +++ b/packages/primitives/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/primitives", - "version": "11.11.0", + "version": "11.13.0", "main": "dist/emotion-primitives.cjs.js", "module": "dist/emotion-primitives.esm.js", "files": [ @@ -11,7 +11,7 @@ "dependencies": { "@emotion/babel-plugin": "^11.11.0", "@emotion/is-prop-valid": "^1.2.1", - "@emotion/primitives-core": "^11.11.0" + "@emotion/primitives-core": "^11.13.0" }, "peerDependencies": { "react": ">=16.8.0", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index b089bd829..a1ddd1942 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,25 @@ # @emotion/react +## 11.13.0 + +### Minor Changes + +- [#3198](https://github.com/emotion-js/emotion/pull/3198) [`d8ff8a5`](https://github.com/emotion-js/emotion/commit/d8ff8a5990c691017b463b3fa23a9f46ab28147b) Thanks [@Andarist](https://github.com/Andarist)! - Migrated away from relying on `process.env.NODE_ENV` checks to differentiate between production and development builds. + + Development builds (and other environment-specific builds) can be used by using proper conditions (see [here](https://nodejs.org/docs/v20.15.1/api/packages.html#resolving-user-conditions)). Most modern bundlers/frameworks already preconfigure those for the user so no action has to be taken. + + Default files should continue to work in all environments. + +- [#3215](https://github.com/emotion-js/emotion/pull/3215) [`a9f6912`](https://github.com/emotion-js/emotion/commit/a9f691299844bf6837b7ad41ee17cd912496f3d5) Thanks [@Andarist](https://github.com/Andarist)! - Added `edge-light` and `workerd` conditions to `package.json` manifest to better serve users using Vercel Edge and Cloudflare Workers. + +### Patch Changes + +- Updated dependencies [[`d8ff8a5`](https://github.com/emotion-js/emotion/commit/d8ff8a5990c691017b463b3fa23a9f46ab28147b), [`a9f6912`](https://github.com/emotion-js/emotion/commit/a9f691299844bf6837b7ad41ee17cd912496f3d5)]: + - @emotion/cache@11.13.0 + - @emotion/serialize@1.3.0 + - @emotion/use-insertion-effect-with-fallbacks@1.1.0 + - @emotion/utils@1.4.0 + ## 11.12.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 2f2b981b6..ea5f49bfb 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/react", - "version": "11.12.0", + "version": "11.13.0", "main": "dist/emotion-react.cjs.js", "module": "dist/emotion-react.esm.js", "exports": { @@ -262,10 +262,10 @@ "dependencies": { "@babel/runtime": "^7.18.3", "@emotion/babel-plugin": "^11.12.0", - "@emotion/cache": "^11.12.0", - "@emotion/serialize": "^1.2.0", - "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", - "@emotion/utils": "^1.3.0", + "@emotion/cache": "^11.13.0", + "@emotion/serialize": "^1.3.0", + "@emotion/use-insertion-effect-with-fallbacks": "^1.1.0", + "@emotion/utils": "^1.4.0", "@emotion/weak-memoize": "^0.4.0", "hoist-non-react-statics": "^3.3.1" }, @@ -279,10 +279,10 @@ }, "devDependencies": { "@definitelytyped/dtslint": "0.0.112", - "@emotion/css": "11.12.0", + "@emotion/css": "11.13.0", "@emotion/css-prettifier": "1.1.4", "@emotion/server": "11.11.0", - "@emotion/styled": "11.12.0", + "@emotion/styled": "11.13.0", "html-tag-names": "^1.1.2", "react": "16.14.0", "svg-tag-names": "^1.1.1", diff --git a/packages/serialize/CHANGELOG.md b/packages/serialize/CHANGELOG.md index 5050e4500..314ccee6d 100644 --- a/packages/serialize/CHANGELOG.md +++ b/packages/serialize/CHANGELOG.md @@ -1,5 +1,20 @@ # @emotion/serialize +## 1.3.0 + +### Minor Changes + +- [#3198](https://github.com/emotion-js/emotion/pull/3198) [`d8ff8a5`](https://github.com/emotion-js/emotion/commit/d8ff8a5990c691017b463b3fa23a9f46ab28147b) Thanks [@Andarist](https://github.com/Andarist)! - Migrated away from relying on `process.env.NODE_ENV` checks to differentiate between production and development builds. + + Development builds (and other environment-specific builds) can be used by using proper conditions (see [here](https://nodejs.org/docs/v20.15.1/api/packages.html#resolving-user-conditions)). Most modern bundlers/frameworks already preconfigure those for the user so no action has to be taken. + + Default files should continue to work in all environments. + +### Patch Changes + +- Updated dependencies [[`d8ff8a5`](https://github.com/emotion-js/emotion/commit/d8ff8a5990c691017b463b3fa23a9f46ab28147b), [`a9f6912`](https://github.com/emotion-js/emotion/commit/a9f691299844bf6837b7ad41ee17cd912496f3d5)]: + - @emotion/utils@1.4.0 + ## 1.2.0 ### Minor Changes diff --git a/packages/serialize/package.json b/packages/serialize/package.json index 823d7870f..878d540cb 100644 --- a/packages/serialize/package.json +++ b/packages/serialize/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/serialize", - "version": "1.2.0", + "version": "1.3.0", "description": "serialization utils for emotion", "main": "dist/emotion-serialize.cjs.js", "module": "dist/emotion-serialize.esm.js", @@ -17,7 +17,7 @@ "@emotion/hash": "^0.9.2", "@emotion/memoize": "^0.9.0", "@emotion/unitless": "^0.9.0", - "@emotion/utils": "^1.3.0", + "@emotion/utils": "^1.4.0", "csstype": "^3.0.2" }, "devDependencies": { diff --git a/packages/server/package.json b/packages/server/package.json index 5c84eae9e..a8923c1c9 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -15,7 +15,7 @@ "test:typescript": "dtslint types" }, "dependencies": { - "@emotion/utils": "^1.3.0", + "@emotion/utils": "^1.4.0", "html-tokenize": "^2.0.0", "multipipe": "^1.0.2", "through": "^2.3.8" @@ -31,7 +31,7 @@ "devDependencies": { "@definitelytyped/dtslint": "0.0.112", "@emotion/babel-plugin": "11.12.0", - "@emotion/css": "11.12.0", + "@emotion/css": "11.13.0", "@emotion/css-prettifier": "1.1.4", "@types/node": "^12.20.37", "typescript": "^5.4.5" diff --git a/packages/sheet/CHANGELOG.md b/packages/sheet/CHANGELOG.md index 02f58b760..8dfc246d4 100644 --- a/packages/sheet/CHANGELOG.md +++ b/packages/sheet/CHANGELOG.md @@ -1,5 +1,15 @@ # @emotion/sheet +## 1.4.0 + +### Minor Changes + +- [#3198](https://github.com/emotion-js/emotion/pull/3198) [`d8ff8a5`](https://github.com/emotion-js/emotion/commit/d8ff8a5990c691017b463b3fa23a9f46ab28147b) Thanks [@Andarist](https://github.com/Andarist)! - Migrated away from relying on `process.env.NODE_ENV` checks to differentiate between production and development builds. + + Development builds (and other environment-specific builds) can be used by using proper conditions (see [here](https://nodejs.org/docs/v20.15.1/api/packages.html#resolving-user-conditions)). Most modern bundlers/frameworks already preconfigure those for the user so no action has to be taken. + + Default files should continue to work in all environments. + ## 1.3.0 ### Minor Changes diff --git a/packages/sheet/package.json b/packages/sheet/package.json index 41d3b4823..64224a062 100644 --- a/packages/sheet/package.json +++ b/packages/sheet/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/sheet", - "version": "1.3.0", + "version": "1.4.0", "description": "emotion's stylesheet", "main": "dist/emotion-sheet.cjs.js", "module": "dist/emotion-sheet.esm.js", diff --git a/packages/styled/CHANGELOG.md b/packages/styled/CHANGELOG.md index 5d7b155d7..285ce3d6b 100644 --- a/packages/styled/CHANGELOG.md +++ b/packages/styled/CHANGELOG.md @@ -1,5 +1,24 @@ # @emotion/styled +## 11.13.0 + +### Minor Changes + +- [#3198](https://github.com/emotion-js/emotion/pull/3198) [`d8ff8a5`](https://github.com/emotion-js/emotion/commit/d8ff8a5990c691017b463b3fa23a9f46ab28147b) Thanks [@Andarist](https://github.com/Andarist)! - Migrated away from relying on `process.env.NODE_ENV` checks to differentiate between production and development builds. + + Development builds (and other environment-specific builds) can be used by using proper conditions (see [here](https://nodejs.org/docs/v20.15.1/api/packages.html#resolving-user-conditions)). Most modern bundlers/frameworks already preconfigure those for the user so no action has to be taken. + + Default files should continue to work in all environments. + +- [#3215](https://github.com/emotion-js/emotion/pull/3215) [`a9f6912`](https://github.com/emotion-js/emotion/commit/a9f691299844bf6837b7ad41ee17cd912496f3d5) Thanks [@Andarist](https://github.com/Andarist)! - Added `edge-light` and `workerd` conditions to `package.json` manifest to better serve users using Vercel Edge and Cloudflare Workers. + +### Patch Changes + +- Updated dependencies [[`d8ff8a5`](https://github.com/emotion-js/emotion/commit/d8ff8a5990c691017b463b3fa23a9f46ab28147b), [`a9f6912`](https://github.com/emotion-js/emotion/commit/a9f691299844bf6837b7ad41ee17cd912496f3d5)]: + - @emotion/serialize@1.3.0 + - @emotion/use-insertion-effect-with-fallbacks@1.1.0 + - @emotion/utils@1.4.0 + ## 11.12.0 ### Patch Changes diff --git a/packages/styled/package.json b/packages/styled/package.json index 60b573814..185f24c0c 100644 --- a/packages/styled/package.json +++ b/packages/styled/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/styled", - "version": "11.12.0", + "version": "11.13.0", "description": "styled API for emotion", "main": "dist/emotion-styled.cjs.js", "module": "dist/emotion-styled.esm.js", @@ -14,9 +14,9 @@ "@babel/runtime": "^7.18.3", "@emotion/babel-plugin": "^11.12.0", "@emotion/is-prop-valid": "^1.3.0", - "@emotion/serialize": "^1.2.0", - "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1", - "@emotion/utils": "^1.3.0" + "@emotion/serialize": "^1.3.0", + "@emotion/use-insertion-effect-with-fallbacks": "^1.1.0", + "@emotion/utils": "^1.4.0" }, "peerDependencies": { "@emotion/react": "^11.0.0-rc.0", @@ -29,7 +29,7 @@ }, "devDependencies": { "@definitelytyped/dtslint": "0.0.112", - "@emotion/react": "11.12.0", + "@emotion/react": "11.13.0", "react": "16.14.0", "typescript": "^5.4.5" }, diff --git a/packages/use-insertion-effect-with-fallbacks/CHANGELOG.md b/packages/use-insertion-effect-with-fallbacks/CHANGELOG.md index 3e832f0bf..c93e21be7 100644 --- a/packages/use-insertion-effect-with-fallbacks/CHANGELOG.md +++ b/packages/use-insertion-effect-with-fallbacks/CHANGELOG.md @@ -1,5 +1,17 @@ # @emotion/use-insertion-effect-with-fallbacks +## 1.1.0 + +### Minor Changes + +- [#3198](https://github.com/emotion-js/emotion/pull/3198) [`d8ff8a5`](https://github.com/emotion-js/emotion/commit/d8ff8a5990c691017b463b3fa23a9f46ab28147b) Thanks [@Andarist](https://github.com/Andarist)! - Migrated away from relying on `process.env.NODE_ENV` checks to differentiate between production and development builds. + + Development builds (and other environment-specific builds) can be used by using proper conditions (see [here](https://nodejs.org/docs/v20.15.1/api/packages.html#resolving-user-conditions)). Most modern bundlers/frameworks already preconfigure those for the user so no action has to be taken. + + Default files should continue to work in all environments. + +- [#3215](https://github.com/emotion-js/emotion/pull/3215) [`a9f6912`](https://github.com/emotion-js/emotion/commit/a9f691299844bf6837b7ad41ee17cd912496f3d5) Thanks [@Andarist](https://github.com/Andarist)! - Added `edge-light` and `workerd` conditions to `package.json` manifest to better serve users using Vercel Edge and Cloudflare Workers. + ## 1.0.1 ### Patch Changes diff --git a/packages/use-insertion-effect-with-fallbacks/package.json b/packages/use-insertion-effect-with-fallbacks/package.json index 0cd528b78..41b1ef4cd 100644 --- a/packages/use-insertion-effect-with-fallbacks/package.json +++ b/packages/use-insertion-effect-with-fallbacks/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/use-insertion-effect-with-fallbacks", - "version": "1.0.1", + "version": "1.1.0", "description": "A wrapper package that uses `useInsertionEffect` or a fallback for it", "main": "dist/emotion-use-insertion-effect-with-fallbacks.cjs.js", "module": "dist/emotion-use-insertion-effect-with-fallbacks.esm.js", diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index cda90efb3..a34aedb80 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,17 @@ # @emotion/utils +## 1.4.0 + +### Minor Changes + +- [#3198](https://github.com/emotion-js/emotion/pull/3198) [`d8ff8a5`](https://github.com/emotion-js/emotion/commit/d8ff8a5990c691017b463b3fa23a9f46ab28147b) Thanks [@Andarist](https://github.com/Andarist)! - Migrated away from relying on `process.env.NODE_ENV` checks to differentiate between production and development builds. + + Development builds (and other environment-specific builds) can be used by using proper conditions (see [here](https://nodejs.org/docs/v20.15.1/api/packages.html#resolving-user-conditions)). Most modern bundlers/frameworks already preconfigure those for the user so no action has to be taken. + + Default files should continue to work in all environments. + +- [#3215](https://github.com/emotion-js/emotion/pull/3215) [`a9f6912`](https://github.com/emotion-js/emotion/commit/a9f691299844bf6837b7ad41ee17cd912496f3d5) Thanks [@Andarist](https://github.com/Andarist)! - Added `edge-light` and `workerd` conditions to `package.json` manifest to better serve users using Vercel Edge and Cloudflare Workers. + ## 1.3.0 ### Minor Changes diff --git a/packages/utils/package.json b/packages/utils/package.json index ec6627c3c..440aa6028 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/utils", - "version": "1.3.0", + "version": "1.4.0", "description": "internal utils for emotion", "main": "dist/emotion-utils.cjs.js", "module": "dist/emotion-utils.esm.js", diff --git a/yarn.lock b/yarn.lock index 519b5d049..b56932fc7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2704,15 +2704,15 @@ __metadata: languageName: unknown linkType: soft -"@emotion/cache@^11.12.0, @emotion/cache@workspace:packages/cache": +"@emotion/cache@^11.13.0, @emotion/cache@workspace:packages/cache": version: 0.0.0-use.local resolution: "@emotion/cache@workspace:packages/cache" dependencies: "@definitelytyped/dtslint": 0.0.112 "@emotion/hash": "*" "@emotion/memoize": ^0.9.0 - "@emotion/sheet": ^1.3.0 - "@emotion/utils": ^1.3.0 + "@emotion/sheet": ^1.4.0 + "@emotion/utils": ^1.4.0 "@emotion/weak-memoize": ^0.4.0 stylis: 4.2.0 typescript: ^5.4.5 @@ -2728,16 +2728,16 @@ __metadata: languageName: unknown linkType: soft -"@emotion/css@11.12.0, @emotion/css@workspace:packages/css": +"@emotion/css@11.13.0, @emotion/css@workspace:packages/css": version: 0.0.0-use.local resolution: "@emotion/css@workspace:packages/css" dependencies: "@definitelytyped/dtslint": 0.0.112 "@emotion/babel-plugin": ^11.12.0 - "@emotion/cache": ^11.12.0 - "@emotion/serialize": ^1.2.0 - "@emotion/sheet": ^1.3.0 - "@emotion/utils": ^1.3.0 + "@emotion/cache": ^11.13.0 + "@emotion/serialize": ^1.3.0 + "@emotion/sheet": ^1.4.0 + "@emotion/utils": ^1.4.0 typescript: ^5.4.5 languageName: unknown linkType: soft @@ -2789,9 +2789,9 @@ __metadata: dependencies: "@babel/runtime": ^7.18.3 "@definitelytyped/dtslint": 0.0.112 - "@emotion/css": 11.12.0 + "@emotion/css": 11.13.0 "@emotion/css-prettifier": ^1.1.4 - "@emotion/react": 11.12.0 + "@emotion/react": 11.13.0 "@types/jest": ^29.5.12 chalk: ^4.1.0 enzyme-to-json: ^3.6.1 @@ -2850,11 +2850,11 @@ __metadata: languageName: unknown linkType: soft -"@emotion/primitives-core@^11.11.0, @emotion/primitives-core@workspace:packages/primitives-core": +"@emotion/primitives-core@^11.11.0, @emotion/primitives-core@^11.13.0, @emotion/primitives-core@workspace:packages/primitives-core": version: 0.0.0-use.local resolution: "@emotion/primitives-core@workspace:packages/primitives-core" dependencies: - "@emotion/react": 11.12.0 + "@emotion/react": 11.13.0 "@types/css-to-react-native": ^3.0.0 css-to-react-native: ^3.0.0 react: 16.14.0 @@ -2870,7 +2870,7 @@ __metadata: dependencies: "@emotion/babel-plugin": ^11.11.0 "@emotion/is-prop-valid": ^1.2.1 - "@emotion/primitives-core": ^11.11.0 + "@emotion/primitives-core": ^11.13.0 enzyme: ^3.11.0 enzyme-adapter-react-16: ^1.15.5 react: 16.14.0 @@ -2881,21 +2881,21 @@ __metadata: languageName: unknown linkType: soft -"@emotion/react@11.12.0, @emotion/react@^11.4.1, @emotion/react@workspace:packages/react": +"@emotion/react@11.13.0, @emotion/react@^11.4.1, @emotion/react@workspace:packages/react": version: 0.0.0-use.local resolution: "@emotion/react@workspace:packages/react" dependencies: "@babel/runtime": ^7.18.3 "@definitelytyped/dtslint": 0.0.112 "@emotion/babel-plugin": ^11.12.0 - "@emotion/cache": ^11.12.0 - "@emotion/css": 11.12.0 + "@emotion/cache": ^11.13.0 + "@emotion/css": 11.13.0 "@emotion/css-prettifier": 1.1.4 - "@emotion/serialize": ^1.2.0 + "@emotion/serialize": ^1.3.0 "@emotion/server": 11.11.0 - "@emotion/styled": 11.12.0 - "@emotion/use-insertion-effect-with-fallbacks": ^1.0.1 - "@emotion/utils": ^1.3.0 + "@emotion/styled": 11.13.0 + "@emotion/use-insertion-effect-with-fallbacks": ^1.1.0 + "@emotion/utils": ^1.4.0 "@emotion/weak-memoize": ^0.4.0 hoist-non-react-statics: ^3.3.1 html-tag-names: ^1.1.2 @@ -2910,7 +2910,7 @@ __metadata: languageName: unknown linkType: soft -"@emotion/serialize@^1.2.0, @emotion/serialize@workspace:packages/serialize": +"@emotion/serialize@^1.2.0, @emotion/serialize@^1.3.0, @emotion/serialize@workspace:packages/serialize": version: 0.0.0-use.local resolution: "@emotion/serialize@workspace:packages/serialize" dependencies: @@ -2918,7 +2918,7 @@ __metadata: "@emotion/hash": ^0.9.2 "@emotion/memoize": ^0.9.0 "@emotion/unitless": ^0.9.0 - "@emotion/utils": ^1.3.0 + "@emotion/utils": ^1.4.0 csstype: ^3.0.2 typescript: ^5.4.5 languageName: unknown @@ -2930,9 +2930,9 @@ __metadata: dependencies: "@definitelytyped/dtslint": 0.0.112 "@emotion/babel-plugin": 11.12.0 - "@emotion/css": 11.12.0 + "@emotion/css": 11.13.0 "@emotion/css-prettifier": 1.1.4 - "@emotion/utils": ^1.3.0 + "@emotion/utils": ^1.4.0 "@types/node": ^12.20.37 html-tokenize: ^2.0.0 multipipe: ^1.0.2 @@ -2946,7 +2946,7 @@ __metadata: languageName: unknown linkType: soft -"@emotion/sheet@^1.3.0, @emotion/sheet@workspace:packages/sheet": +"@emotion/sheet@^1.4.0, @emotion/sheet@workspace:packages/sheet": version: 0.0.0-use.local resolution: "@emotion/sheet@workspace:packages/sheet" dependencies: @@ -2955,7 +2955,7 @@ __metadata: languageName: unknown linkType: soft -"@emotion/styled@11.12.0, @emotion/styled@^11.0.0, @emotion/styled@workspace:packages/styled": +"@emotion/styled@11.13.0, @emotion/styled@^11.0.0, @emotion/styled@workspace:packages/styled": version: 0.0.0-use.local resolution: "@emotion/styled@workspace:packages/styled" dependencies: @@ -2963,10 +2963,10 @@ __metadata: "@definitelytyped/dtslint": 0.0.112 "@emotion/babel-plugin": ^11.12.0 "@emotion/is-prop-valid": ^1.3.0 - "@emotion/react": 11.12.0 - "@emotion/serialize": ^1.2.0 - "@emotion/use-insertion-effect-with-fallbacks": ^1.0.1 - "@emotion/utils": ^1.3.0 + "@emotion/react": 11.13.0 + "@emotion/serialize": ^1.3.0 + "@emotion/use-insertion-effect-with-fallbacks": ^1.1.0 + "@emotion/utils": ^1.4.0 react: 16.14.0 typescript: ^5.4.5 peerDependencies: @@ -2984,7 +2984,7 @@ __metadata: languageName: unknown linkType: soft -"@emotion/use-insertion-effect-with-fallbacks@^1.0.1, @emotion/use-insertion-effect-with-fallbacks@workspace:packages/use-insertion-effect-with-fallbacks": +"@emotion/use-insertion-effect-with-fallbacks@^1.1.0, @emotion/use-insertion-effect-with-fallbacks@workspace:packages/use-insertion-effect-with-fallbacks": version: 0.0.0-use.local resolution: "@emotion/use-insertion-effect-with-fallbacks@workspace:packages/use-insertion-effect-with-fallbacks" dependencies: @@ -2994,7 +2994,7 @@ __metadata: languageName: unknown linkType: soft -"@emotion/utils@^1.3.0, @emotion/utils@workspace:packages/utils": +"@emotion/utils@^1.4.0, @emotion/utils@workspace:packages/utils": version: 0.0.0-use.local resolution: "@emotion/utils@workspace:packages/utils" dependencies: