diff --git a/.changeset/pre.json b/.changeset/pre.json index 4c900f43a..5687d9770 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -34,5 +34,11 @@ "test-utils": "0.3.2", "emotion-site": "0.0.0" }, - "changesets": [] + "changesets": [ + "amaranth-owls-dream", + "early-badgers-teach", + "polite-items-cheat", + "tame-pets-flash", + "twelve-gifts-do" + ] } diff --git a/packages/jest/CHANGELOG.md b/packages/jest/CHANGELOG.md index cccd587a3..9bd5faac7 100644 --- a/packages/jest/CHANGELOG.md +++ b/packages/jest/CHANGELOG.md @@ -1,5 +1,11 @@ # @emotion/jest +## 12.0.0-next.0 + +### Major Changes + +- [#3292](https://github.com/emotion-js/emotion/pull/3292) [`e5d43fc`](https://github.com/emotion-js/emotion/commit/e5d43fc98bc2b4e4a3a9c7dc98ccc31626d4d90c) Thanks [@Andarist](https://github.com/Andarist)! - Drop support for Enzyme + ## 11.13.0 ### Minor Changes diff --git a/packages/jest/package.json b/packages/jest/package.json index 2e335f32d..005a57eb1 100644 --- a/packages/jest/package.json +++ b/packages/jest/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/jest", - "version": "11.13.0", + "version": "12.0.0-next.0", "description": "Jest utilities for emotion", "main": "dist/emotion-jest.cjs.js", "module": "dist/emotion-jest.esm.js", @@ -59,7 +59,7 @@ "devDependencies": { "@definitelytyped/dtslint": "0.0.112", "@emotion/css": "11.13.5", - "@emotion/react": "11.14.0", + "@emotion/react": "12.0.0-next.0", "@types/jest": "^29.5.12", "enzyme-to-json": "^3.6.1", "pretty-format": "^22.4.3", diff --git a/packages/native/CHANGELOG.md b/packages/native/CHANGELOG.md index 70b4cf3de..1606f7e54 100644 --- a/packages/native/CHANGELOG.md +++ b/packages/native/CHANGELOG.md @@ -1,5 +1,12 @@ # @emotion/native +## 12.0.0-next.0 + +### Patch Changes + +- Updated dependencies [[`61fcc80`](https://github.com/emotion-js/emotion/commit/61fcc80de43b29aeab60088bd3f6994366a9a0c4)]: + - @emotion/primitives-core@12.0.0-next.0 + ## 11.11.0 ### Patch Changes diff --git a/packages/native/package.json b/packages/native/package.json index d87fdb2fe..26821cdc7 100644 --- a/packages/native/package.json +++ b/packages/native/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/native", - "version": "11.11.0", + "version": "12.0.0-next.0", "description": "Style and render React Native components using emotion", "main": "dist/emotion-native.cjs.js", "module": "dist/emotion-native.esm.js", @@ -41,7 +41,7 @@ "typescript": "^5.4.5" }, "dependencies": { - "@emotion/primitives-core": "^11.11.0" + "@emotion/primitives-core": "^12.0.0-next.0" }, "peerDependencies": { "react-native": ">=0.14.0 <1" diff --git a/packages/primitives-core/CHANGELOG.md b/packages/primitives-core/CHANGELOG.md index 5a5cf0081..780879ad5 100644 --- a/packages/primitives-core/CHANGELOG.md +++ b/packages/primitives-core/CHANGELOG.md @@ -1,5 +1,16 @@ # @emotion/primitives-core +## 12.0.0-next.0 + +### Major Changes + +- [#3287](https://github.com/emotion-js/emotion/pull/3287) [`61fcc80`](https://github.com/emotion-js/emotion/commit/61fcc80de43b29aeab60088bd3f6994366a9a0c4) Thanks [@Andarist](https://github.com/Andarist)! - Refs are no longer internally forwarded using `React.forwardRef`. + +### Patch Changes + +- Updated dependencies [[`319b3f5`](https://github.com/emotion-js/emotion/commit/319b3f5e5902c71e21dd1a1b3c9b7a7d2d8d09c9), [`55ef071`](https://github.com/emotion-js/emotion/commit/55ef0717d2dcb9886a9e6dd9d1c50c32a651a42d), [`6158389`](https://github.com/emotion-js/emotion/commit/6158389b3853198f5465a3df0dd4ff00a384f606), [`61fcc80`](https://github.com/emotion-js/emotion/commit/61fcc80de43b29aeab60088bd3f6994366a9a0c4)]: + - @emotion/react@12.0.0-next.0 + ## 11.13.2 ### Patch Changes diff --git a/packages/primitives-core/package.json b/packages/primitives-core/package.json index 4581535ae..2979ee14a 100644 --- a/packages/primitives-core/package.json +++ b/packages/primitives-core/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/primitives-core", - "version": "11.13.2", + "version": "12.0.0-next.0", "description": "Shared utilities for emotion primitives and native", "main": "dist/emotion-primitives-core.cjs.js", "module": "dist/emotion-primitives-core.esm.js", @@ -14,11 +14,11 @@ "css-to-react-native": "^3.0.0" }, "peerDependencies": { - "@emotion/react": "^11.0.0-rc.0", + "@emotion/react": "^12.0.0-next.0", "react": "^19.0.0" }, "devDependencies": { - "@emotion/react": "11.14.0", + "@emotion/react": "12.0.0-next.0", "@types/css-to-react-native": "^3.0.0", "react": "19.0.0" }, diff --git a/packages/primitives/CHANGELOG.md b/packages/primitives/CHANGELOG.md index 2146ca7a4..a52cfa875 100644 --- a/packages/primitives/CHANGELOG.md +++ b/packages/primitives/CHANGELOG.md @@ -1,5 +1,12 @@ # @emotion/primitives +## 12.0.0-next.0 + +### Patch Changes + +- Updated dependencies [[`61fcc80`](https://github.com/emotion-js/emotion/commit/61fcc80de43b29aeab60088bd3f6994366a9a0c4)]: + - @emotion/primitives-core@12.0.0-next.0 + ## 11.13.0 ### Minor Changes diff --git a/packages/primitives/package.json b/packages/primitives/package.json index 1015117cc..82636f544 100644 --- a/packages/primitives/package.json +++ b/packages/primitives/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/primitives", - "version": "11.13.0", + "version": "12.0.0-next.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.13.0" + "@emotion/primitives-core": "^12.0.0-next.0" }, "peerDependencies": { "react": "^19.0.0", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 29d58263a..3fd277c83 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,17 @@ # @emotion/react +## 12.0.0-next.0 + +### Major Changes + +- [#3291](https://github.com/emotion-js/emotion/pull/3291) [`319b3f5`](https://github.com/emotion-js/emotion/commit/319b3f5e5902c71e21dd1a1b3c9b7a7d2d8d09c9) Thanks [@Andarist](https://github.com/Andarist)! - Dropped support for older React versions. React 19 becomes the only compatible version with this package. + +- [#3286](https://github.com/emotion-js/emotion/pull/3286) [`55ef071`](https://github.com/emotion-js/emotion/commit/55ef0717d2dcb9886a9e6dd9d1c50c32a651a42d) Thanks [@Andarist](https://github.com/Andarist)! - Removed `.defaultProps` support + +- [#3290](https://github.com/emotion-js/emotion/pull/3290) [`6158389`](https://github.com/emotion-js/emotion/commit/6158389b3853198f5465a3df0dd4ff00a384f606) Thanks [@Andarist](https://github.com/Andarist)! - `withTheme` will no longer automatically hoist non-React statics onto the created component + +- [#3287](https://github.com/emotion-js/emotion/pull/3287) [`61fcc80`](https://github.com/emotion-js/emotion/commit/61fcc80de43b29aeab60088bd3f6994366a9a0c4) Thanks [@Andarist](https://github.com/Andarist)! - Refs are no longer internally forwarded using `React.forwardRef`. + ## 11.14.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index ee5b873c2..8c431fd95 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/react", - "version": "11.14.0", + "version": "12.0.0-next.0", "main": "dist/emotion-react.cjs.js", "module": "dist/emotion-react.esm.js", "types": "dist/emotion-react.cjs.d.ts", @@ -227,7 +227,7 @@ "@emotion/css": "11.13.5", "@emotion/css-prettifier": "1.2.0", "@emotion/server": "11.11.0", - "@emotion/styled": "11.14.0", + "@emotion/styled": "12.0.0-next.0", "html-tag-names": "^1.1.2", "react": "19.0.0", "svg-tag-names": "^1.1.1", diff --git a/packages/styled/CHANGELOG.md b/packages/styled/CHANGELOG.md index 3e8473b39..aa6b15ebf 100644 --- a/packages/styled/CHANGELOG.md +++ b/packages/styled/CHANGELOG.md @@ -1,5 +1,20 @@ # @emotion/styled +## 12.0.0-next.0 + +### Major Changes + +- [#3291](https://github.com/emotion-js/emotion/pull/3291) [`319b3f5`](https://github.com/emotion-js/emotion/commit/319b3f5e5902c71e21dd1a1b3c9b7a7d2d8d09c9) Thanks [@Andarist](https://github.com/Andarist)! - Dropped support for older React versions. React 19 becomes the only compatible version with this package. + +- [#3286](https://github.com/emotion-js/emotion/pull/3286) [`55ef071`](https://github.com/emotion-js/emotion/commit/55ef0717d2dcb9886a9e6dd9d1c50c32a651a42d) Thanks [@Andarist](https://github.com/Andarist)! - Removed `.defaultProps` support + +- [#3287](https://github.com/emotion-js/emotion/pull/3287) [`61fcc80`](https://github.com/emotion-js/emotion/commit/61fcc80de43b29aeab60088bd3f6994366a9a0c4) Thanks [@Andarist](https://github.com/Andarist)! - Refs are no longer internally forwarded using `React.forwardRef`. + +### Patch Changes + +- Updated dependencies [[`319b3f5`](https://github.com/emotion-js/emotion/commit/319b3f5e5902c71e21dd1a1b3c9b7a7d2d8d09c9), [`55ef071`](https://github.com/emotion-js/emotion/commit/55ef0717d2dcb9886a9e6dd9d1c50c32a651a42d), [`6158389`](https://github.com/emotion-js/emotion/commit/6158389b3853198f5465a3df0dd4ff00a384f606), [`61fcc80`](https://github.com/emotion-js/emotion/commit/61fcc80de43b29aeab60088bd3f6994366a9a0c4)]: + - @emotion/react@12.0.0-next.0 + ## 11.14.0 ### Minor Changes diff --git a/packages/styled/package.json b/packages/styled/package.json index 73426edad..3064a45d1 100644 --- a/packages/styled/package.json +++ b/packages/styled/package.json @@ -1,6 +1,6 @@ { "name": "@emotion/styled", - "version": "11.14.0", + "version": "12.0.0-next.0", "description": "styled API for emotion", "main": "dist/emotion-styled.cjs.js", "module": "dist/emotion-styled.esm.js", @@ -19,7 +19,7 @@ "@emotion/utils": "^1.4.2" }, "peerDependencies": { - "@emotion/react": "^11.0.0-rc.0", + "@emotion/react": "^12.0.0-next.0", "react": "^19.0.0" }, "peerDependenciesMeta": { @@ -29,7 +29,7 @@ }, "devDependencies": { "@definitelytyped/dtslint": "0.0.112", - "@emotion/react": "11.14.0", + "@emotion/react": "12.0.0-next.0", "@types/hoist-non-react-statics": "^3.3.5", "hoist-non-react-statics": "^3.3.1", "react": "19.0.0", diff --git a/yarn.lock b/yarn.lock index d2e3b7eaa..00736017a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2800,7 +2800,7 @@ __metadata: "@definitelytyped/dtslint": 0.0.112 "@emotion/css": 11.13.5 "@emotion/css-prettifier": ^1.2.0 - "@emotion/react": 11.14.0 + "@emotion/react": 12.0.0-next.0 "@types/jest": ^29.5.12 chalk: ^4.1.0 enzyme-to-json: ^3.6.1 @@ -2850,7 +2850,7 @@ __metadata: resolution: "@emotion/native@workspace:packages/native" dependencies: "@definitelytyped/dtslint": 0.0.112 - "@emotion/primitives-core": ^11.11.0 + "@emotion/primitives-core": ^12.0.0-next.0 "@types/react-native": ^0.63.2 react: 19.0.0 react-native: ^0.63.2 @@ -2860,16 +2860,16 @@ __metadata: languageName: unknown linkType: soft -"@emotion/primitives-core@^11.11.0, @emotion/primitives-core@^11.13.0, @emotion/primitives-core@workspace:packages/primitives-core": +"@emotion/primitives-core@^12.0.0-next.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.14.0 + "@emotion/react": 12.0.0-next.0 "@types/css-to-react-native": ^3.0.0 css-to-react-native: ^3.0.0 react: 19.0.0 peerDependencies: - "@emotion/react": ^11.0.0-rc.0 + "@emotion/react": ^12.0.0-next.0 react: ^19.0.0 languageName: unknown linkType: soft @@ -2880,7 +2880,7 @@ __metadata: dependencies: "@emotion/babel-plugin": ^11.11.0 "@emotion/is-prop-valid": ^1.2.1 - "@emotion/primitives-core": ^11.13.0 + "@emotion/primitives-core": ^12.0.0-next.0 react: 19.0.0 react-primitives: ^0.8.1 peerDependencies: @@ -2889,7 +2889,7 @@ __metadata: languageName: unknown linkType: soft -"@emotion/react@11.14.0, @emotion/react@^11.4.1, @emotion/react@workspace:packages/react": +"@emotion/react@12.0.0-next.0, @emotion/react@workspace:packages/react": version: 0.0.0-use.local resolution: "@emotion/react@workspace:packages/react" dependencies: @@ -2901,7 +2901,7 @@ __metadata: "@emotion/css-prettifier": 1.2.0 "@emotion/serialize": ^1.3.3 "@emotion/server": 11.11.0 - "@emotion/styled": 11.14.0 + "@emotion/styled": 12.0.0-next.0 "@emotion/use-insertion-effect-with-fallbacks": ^1.2.0 "@emotion/utils": ^1.4.2 "@emotion/weak-memoize": ^0.4.0 @@ -2917,6 +2917,27 @@ __metadata: languageName: unknown linkType: soft +"@emotion/react@npm:^11.4.1": + version: 11.14.0 + resolution: "@emotion/react@npm:11.14.0" + dependencies: + "@babel/runtime": ^7.18.3 + "@emotion/babel-plugin": ^11.13.5 + "@emotion/cache": ^11.14.0 + "@emotion/serialize": ^1.3.3 + "@emotion/use-insertion-effect-with-fallbacks": ^1.2.0 + "@emotion/utils": ^1.4.2 + "@emotion/weak-memoize": ^0.4.0 + hoist-non-react-statics: ^3.3.1 + peerDependencies: + react: ">=16.8.0" + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 3cf023b11d132b56168713764d6fced8e5a1f0687dfe0caa2782dfd428c8f9e30f9826a919965a311d87b523cd196722aaf75919cd0f6bd0fd57f8a6a0281500 + languageName: node + linkType: hard + "@emotion/serialize@^1.3.3, @emotion/serialize@workspace:packages/serialize": version: 0.0.0-use.local resolution: "@emotion/serialize@workspace:packages/serialize" @@ -2962,7 +2983,7 @@ __metadata: languageName: unknown linkType: soft -"@emotion/styled@11.14.0, @emotion/styled@^11.0.0, @emotion/styled@workspace:packages/styled": +"@emotion/styled@12.0.0-next.0, @emotion/styled@workspace:packages/styled": version: 0.0.0-use.local resolution: "@emotion/styled@workspace:packages/styled" dependencies: @@ -2970,7 +2991,7 @@ __metadata: "@definitelytyped/dtslint": 0.0.112 "@emotion/babel-plugin": ^11.13.5 "@emotion/is-prop-valid": ^1.3.0 - "@emotion/react": 11.14.0 + "@emotion/react": 12.0.0-next.0 "@emotion/serialize": ^1.3.3 "@emotion/use-insertion-effect-with-fallbacks": ^1.2.0 "@emotion/utils": ^1.4.2 @@ -2979,7 +3000,7 @@ __metadata: react: 19.0.0 typescript: ^5.4.5 peerDependencies: - "@emotion/react": ^11.0.0-rc.0 + "@emotion/react": ^12.0.0-next.0 react: ^19.0.0 peerDependenciesMeta: "@types/react": @@ -2987,6 +3008,26 @@ __metadata: languageName: unknown linkType: soft +"@emotion/styled@npm:^11.0.0": + version: 11.14.0 + resolution: "@emotion/styled@npm:11.14.0" + dependencies: + "@babel/runtime": ^7.18.3 + "@emotion/babel-plugin": ^11.13.5 + "@emotion/is-prop-valid": ^1.3.0 + "@emotion/serialize": ^1.3.3 + "@emotion/use-insertion-effect-with-fallbacks": ^1.2.0 + "@emotion/utils": ^1.4.2 + peerDependencies: + "@emotion/react": ^11.0.0-rc.0 + react: ">=16.8.0" + peerDependenciesMeta: + "@types/react": + optional: true + checksum: 9c1b842e942e69fb6037d1ab161046d2bcfeff95fd2ccfdab30acaaf6b89dc07b14bb00f8cc8ec14df11e6746c8e4e1d781bc54d10bd739aab44966ded64d4fb + languageName: node + linkType: hard + "@emotion/unitless@^0.10.0, @emotion/unitless@workspace:packages/unitless": version: 0.0.0-use.local resolution: "@emotion/unitless@workspace:packages/unitless"