diff --git a/.all-contributorsrc b/.all-contributorsrc index de6b74d5f..4828637aa 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -35,7 +35,8 @@ "code", "doc", "test", - "review" + "review", + "example" ] }, { @@ -1180,6 +1181,16 @@ "contributions": [ "doc" ] + }, + { + "login": "dev-cj", + "name": "CJ", + "avatar_url": "https://avatars.githubusercontent.com/u/47112778?v=4", + "profile": "https://devcj.in/", + "contributions": [ + "doc", + "code" + ] } ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index 394993680..f224ccdbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,71 @@ +# v0.16.1 (Thu Sep 07 2023) + +#### 🐛 Bug Fix + +- fix: ThemeProvider warning message ([@hasparus](https://github.com/hasparus)) + +#### 👨‍💻 Minor changes + +- Add missing migration notes on 0.16 to docs ([@hasparus](https://github.com/hasparus)) + +#### Authors: 1 + +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + +# v0.16.0 (Thu Jun 15 2023) + +### Release Notes + +#### Deps bumps for 0.16.0 ([#2432](https://github.com/system-ui/theme-ui/pull/2432)) + +`@theme-ui/sidenav` package was removed due to low usage and breaking changes in `@types/react`. + +--- + +#### 🚀 Enhancement + +- Deps bumps for 0.16.0 [#2432](https://github.com/system-ui/theme-ui/pull/2432) ([@hasparus](https://github.com/hasparus)) +- Deprecate/rename ThemeProvider to ThemeUIProvider [#2360](https://github.com/system-ui/theme-ui/pull/2360) ([@lachlanjc](https://github.com/lachlanjc) [@hasparus](https://github.com/hasparus)) + +#### 👨‍💻 Minor changes + +- Trigger release again ([@hasparus](https://github.com/hasparus)) +- Trigger release ([@hasparus](https://github.com/hasparus)) +- Update lockfile ([@hasparus](https://github.com/hasparus)) +- Update Browserlist ([@hasparus](https://github.com/hasparus)) +- Update pnpm-lock.yaml ([@hasparus](https://github.com/hasparus)) + +#### Authors: 2 + +- Lachlan Campbell ([@lachlanjc](https://github.com/lachlanjc)) +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + +# v0.15.8 (Sat Apr 29 2023) + +:tada: This release contains work from a new contributor! :tada: + +Thank you, CJ ([@dev-cj](https://github.com/dev-cj)), for all your work! + +#### 🐛 Bug Fix + +- fix(theme-ui): add transitive peer dependency on `@emotion/react` [#2421](https://github.com/system-ui/theme-ui/pull/2421) ([@hasparus](https://github.com/hasparus)) + +#### 🏠 Internal + +- components: Added indeterminate checkbox [#2419](https://github.com/system-ui/theme-ui/pull/2419) ([@dev-cj](https://github.com/dev-cj)) +- docs: Fix typo in "switch" [#2420](https://github.com/system-ui/theme-ui/pull/2420) ([@dev-cj](https://github.com/dev-cj)) + +#### Authors: 2 + +- CJ ([@dev-cj](https://github.com/dev-cj)) +- Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) + +--- + # v0.15.7 (Thu Mar 30 2023) diff --git a/MIGRATING.md b/MIGRATING.md index 7ec24f024..a8d400dd9 100644 --- a/MIGRATING.md +++ b/MIGRATING.md @@ -1,5 +1,29 @@ # Migration Guides +## v0.16 + +**🔥 Breaking:** Theme UI now supports and **depends on** TypeScript newer than +5.1.2 (because of breaking changes to JSX types, see +https://github.com/system-ui/theme-ui/issues/2430#issuecomment-1586197881). + +- Update `@types/react` to a version published after June 1, 2023. +- JSX Automatic Runtime is highly encouraged to minimize the friction and ensure + you don't get weird type errors. + +**`@theme-ui/sidenav` package was removed due to low usage and breaking changes +in `@types/react`.** + +- Deps bumps for 0.16.0, support only new React and TypeScript to avoid type + errors [#2432](https://github.com/system-ui/theme-ui/pull/2432) + ([@hasparus](https://github.com/hasparus)) + +**`ThemeProvider` was renamed to `ThemeUIProvider`** + +- Deprecate/rename ThemeProvider to ThemeUIProvider + [#2360](https://github.com/system-ui/theme-ui/pull/2360) + ([@lachlanjc](https://github.com/lachlanjc) + [@hasparus](https://github.com/hasparus)) + ## v0.15 **MDX is now opt-in.** diff --git a/package.json b/package.json index c2a0605a2..cd0f20d7a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@theme-ui/monorepo", - "version": "0.15.7", + "version": "0.16.1", "private": true, "scripts": { "build": "preconstruct build", diff --git a/packages/sidenav/README.md b/packages/sidenav/README.md deleted file mode 100644 index 80af52f40..000000000 --- a/packages/sidenav/README.md +++ /dev/null @@ -1 +0,0 @@ -This package was removed in version 0.16.0. diff --git a/packages/theme-provider/src/index.tsx b/packages/theme-provider/src/index.tsx index a5aefd201..ae8bb21c4 100644 --- a/packages/theme-provider/src/index.tsx +++ b/packages/theme-provider/src/index.tsx @@ -65,7 +65,7 @@ export const ThemeProvider: React.FC = ({ React.useEffect(() => { if (process.env.NODE_ENV !== 'production') { console.warn( - '[theme-ui] The export ThemeUIProvider is deprecated and is now called ThemeProvider to reduce confusion with Emotion. Please update your import; ThemeUIProvider will be removed in a future version.' + '[theme-ui] The export ThemeProvider is deprecated and is now called ThemeUIProvider to reduce confusion with Emotion. Please update your import; ThemeProvider will be removed in a future version.' ) } }, []) diff --git a/packages/theme-ui/README.md b/packages/theme-ui/README.md index e8d177e22..2cdb3255b 100644 --- a/packages/theme-ui/README.md +++ b/packages/theme-ui/README.md @@ -237,7 +237,7 @@ Thanks goes to these wonderful people - + @@ -385,6 +385,9 @@ Thanks goes to these wonderful people + + +

Brent Jackson

🤔 💻 🎨 📖 💡 ⚠️ 👀

Piotr Monwid-Olechnowicz

💻 📖 ⚠️ 👀

Piotr Monwid-Olechnowicz

💻 📖 ⚠️ 👀 💡

Dany Castillo

💻 📖 💡 ⚠️

Jordan Overbye

💻 💡 ⚠️

Lachlan Campbell

💻 💡 ⚠️ 👀 📖 💬

Wahid Rahim

📖 💡 💻

Justin Cooper

📖

CJ

📖 💻
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a9a17acc5..2827f0aa9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3417,7 +3417,7 @@ packages: '@babel/runtime': 7.22.5 '@parcel/namer-default': 2.8.3(@parcel/core@2.8.3) '@parcel/plugin': 2.8.3(@parcel/core@2.8.3) - gatsby-core-utils: 4.10.0 + gatsby-core-utils: 4.11.0 transitivePeerDependencies: - '@parcel/core' @@ -6902,7 +6902,7 @@ packages: '@babel/runtime': 7.22.5 '@babel/types': 7.22.5 gatsby: 5.10.0(babel-eslint@10.1.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.1.3) - gatsby-core-utils: 4.10.0 + gatsby-core-utils: 4.11.0 /babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0: resolution: {integrity: sha512-Xj9XuRuz3nTSbaTXWv3itLOcxyF4oPD8douBBmj7U9BBC6nEBYfyOJYQMf/8PJAFotC62UY5dFfIGEPr7WswzQ==} @@ -10948,7 +10948,7 @@ packages: execa: 5.1.1 fs-exists-cached: 1.0.0 fs-extra: 11.1.1 - gatsby-core-utils: 4.10.0 + gatsby-core-utils: 4.11.0 gatsby-telemetry: 4.10.0 hosted-git-info: 3.0.8 is-valid-path: 0.1.1 @@ -11013,7 +11013,6 @@ packages: resolve-from: 5.0.0 tmp: 0.2.1 xdg-basedir: 4.0.0 - dev: false /gatsby-graphiql-explorer@3.10.0: resolution: {integrity: sha512-KUYzObIk+W0zRlyVjOWdNLTTL4KyozygT54TOhbBMq4LgUf0mFtnA50UzwV/SqfjksUwE9Xtv7278K1z1Hjuiw==} @@ -11048,7 +11047,7 @@ packages: bluebird: 3.7.2 chokidar: 3.5.3 fs-exists-cached: 1.0.0 - gatsby-core-utils: 4.10.0 + gatsby-core-utils: 4.11.0 glob: 7.2.3 lodash: 4.17.21 micromatch: 4.0.5 @@ -11263,7 +11262,7 @@ packages: fs-exists-cached: 1.0.0 fs-extra: 11.1.1 gatsby: 5.10.0(babel-eslint@10.1.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.1.3) - gatsby-core-utils: 4.10.0 + gatsby-core-utils: 4.11.0 gatsby-page-utils: 3.10.0 gatsby-plugin-utils: 4.10.0(gatsby@5.10.0)(graphql@16.6.0) gatsby-telemetry: 4.10.0 @@ -11327,7 +11326,7 @@ packages: fastq: 1.15.0 fs-extra: 11.1.1 gatsby: 5.10.0(babel-eslint@10.1.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.1.3) - gatsby-core-utils: 4.10.0 + gatsby-core-utils: 4.11.0 gatsby-sharp: 1.10.0 graphql-compose: 9.0.10(graphql@15.8.0) import-from: 4.0.0 @@ -11349,7 +11348,7 @@ packages: fastq: 1.15.0 fs-extra: 11.1.1 gatsby: 5.10.0(babel-eslint@10.1.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.1.3) - gatsby-core-utils: 4.10.0 + gatsby-core-utils: 4.11.0 gatsby-sharp: 1.10.0 graphql: 15.8.0 graphql-compose: 9.0.10(graphql@15.8.0) @@ -11372,7 +11371,7 @@ packages: fastq: 1.15.0 fs-extra: 11.1.1 gatsby: 5.10.0(babel-eslint@10.1.0)(react-dom@18.2.0)(react@18.2.0)(typescript@5.1.3) - gatsby-core-utils: 4.10.0 + gatsby-core-utils: 4.11.0 gatsby-sharp: 1.10.0 graphql: 16.6.0 graphql-compose: 9.0.10(graphql@16.6.0) @@ -11460,7 +11459,7 @@ packages: boxen: 5.1.2 configstore: 5.0.1 fs-extra: 11.1.1 - gatsby-core-utils: 4.10.0 + gatsby-core-utils: 4.11.0 git-up: 7.0.0 is-docker: 2.2.1 lodash: 4.17.21