diff --git a/.changeset/modern-pets-beg.md b/.changeset/modern-pets-beg.md deleted file mode 100644 index 0f854026e6..0000000000 --- a/.changeset/modern-pets-beg.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@rainbow-me/rainbowkit': patch ---- - -Improved warnings and error handling for dApps with an invalid or missing `projectId`. - -Improved the developer experience for RainbowKit examples and templates with a bundled development `projectId`. It is required that every dApp obtains a unique `projectId` before entering production to avoid throttling and issues for end users. - -Read our WalletConnect v2 [Migration Guide](https://www.rainbowkit.com/guides/walletconnect-v2#:~:text=2.%20Supplying%20a%20projectId) for more information. diff --git a/.changeset/ninety-bottles-behave.md b/.changeset/ninety-bottles-behave.md deleted file mode 100644 index 3ff499e929..0000000000 --- a/.changeset/ninety-bottles-behave.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'@rainbow-me/rainbowkit-siwe-next-auth': minor ---- - -Support for `next-auth` versions `4.21.0` and above. - -**Migration guide** - -1. Upgrade `next-auth` to `~4.22.0` - -2. In your `next-auth` providers `async authorize(credentials)` implementation, alter the parameters passed to `getCsrfToken` like so. Reference our example implementation [here](https://github.com/rainbow-me/rainbowkit/tree/main/examples/with-next-siwe-next-auth). - -```ts -- const nonce = await getCsrfToken({ req }); -+ const nonce = await getCsrfToken({ req: { headers: req.headers } }); -``` diff --git a/examples/with-create-react-app/CHANGELOG.md b/examples/with-create-react-app/CHANGELOG.md index 7c08b78503..50b5062f4f 100644 --- a/examples/with-create-react-app/CHANGELOG.md +++ b/examples/with-create-react-app/CHANGELOG.md @@ -1,5 +1,12 @@ # with-create-react-app +## 0.1.60 + +### Patch Changes + +- Updated dependencies [eb319f3] + - @rainbow-me/rainbowkit@1.0.8 + ## 0.1.59 ### Patch Changes diff --git a/examples/with-create-react-app/package.json b/examples/with-create-react-app/package.json index 99275ae011..57bbd3be8d 100644 --- a/examples/with-create-react-app/package.json +++ b/examples/with-create-react-app/package.json @@ -1,6 +1,6 @@ { "name": "with-create-react-app", - "version": "0.1.59", + "version": "0.1.60", "private": true, "dependencies": { "@rainbow-me/rainbowkit": "workspace:*", diff --git a/examples/with-next-app/CHANGELOG.md b/examples/with-next-app/CHANGELOG.md index 6424339f10..59a6035ba6 100644 --- a/examples/with-next-app/CHANGELOG.md +++ b/examples/with-next-app/CHANGELOG.md @@ -1,5 +1,12 @@ # with-next-app +## 0.0.9 + +### Patch Changes + +- Updated dependencies [eb319f3] + - @rainbow-me/rainbowkit@1.0.8 + ## 0.0.8 ### Patch Changes diff --git a/examples/with-next-app/package.json b/examples/with-next-app/package.json index 617b8d254b..ecd4d72fc6 100644 --- a/examples/with-next-app/package.json +++ b/examples/with-next-app/package.json @@ -1,7 +1,7 @@ { "name": "with-next-app", "private": true, - "version": "0.0.8", + "version": "0.0.9", "scripts": { "dev": "next dev", "build": "next build", diff --git a/examples/with-next-custom-button/CHANGELOG.md b/examples/with-next-custom-button/CHANGELOG.md index 3efcfddda1..64ecaafaff 100644 --- a/examples/with-next-custom-button/CHANGELOG.md +++ b/examples/with-next-custom-button/CHANGELOG.md @@ -1,5 +1,12 @@ # with-next-custom-button +## 0.0.61 + +### Patch Changes + +- Updated dependencies [eb319f3] + - @rainbow-me/rainbowkit@1.0.8 + ## 0.0.60 ### Patch Changes diff --git a/examples/with-next-custom-button/package.json b/examples/with-next-custom-button/package.json index 1320035fc3..3c420a75bf 100644 --- a/examples/with-next-custom-button/package.json +++ b/examples/with-next-custom-button/package.json @@ -1,7 +1,7 @@ { "name": "with-next-custom-button", "private": true, - "version": "0.0.60", + "version": "0.0.61", "scripts": { "dev": "next dev", "build": "next build", diff --git a/examples/with-next-mint-nft/CHANGELOG.md b/examples/with-next-mint-nft/CHANGELOG.md index 536cac7996..789a10a497 100644 --- a/examples/with-next-mint-nft/CHANGELOG.md +++ b/examples/with-next-mint-nft/CHANGELOG.md @@ -1,5 +1,12 @@ # with-next-mint-nft +## 0.0.61 + +### Patch Changes + +- Updated dependencies [eb319f3] + - @rainbow-me/rainbowkit@1.0.8 + ## 0.0.60 ### Patch Changes diff --git a/examples/with-next-mint-nft/package.json b/examples/with-next-mint-nft/package.json index 4bc734ab40..c69c0265c7 100644 --- a/examples/with-next-mint-nft/package.json +++ b/examples/with-next-mint-nft/package.json @@ -1,7 +1,7 @@ { "name": "with-next-mint-nft", "private": true, - "version": "0.0.60", + "version": "0.0.61", "scripts": { "dev": "next dev", "build": "next build", diff --git a/examples/with-next-siwe-iron-session/CHANGELOG.md b/examples/with-next-siwe-iron-session/CHANGELOG.md index b5574c8064..0f6f1e2c6c 100644 --- a/examples/with-next-siwe-iron-session/CHANGELOG.md +++ b/examples/with-next-siwe-iron-session/CHANGELOG.md @@ -1,5 +1,12 @@ # with-next-siwe-iron-session +## 0.0.43 + +### Patch Changes + +- Updated dependencies [eb319f3] + - @rainbow-me/rainbowkit@1.0.8 + ## 0.0.42 ### Patch Changes diff --git a/examples/with-next-siwe-iron-session/package.json b/examples/with-next-siwe-iron-session/package.json index 50781c80b6..a56bc8b6ff 100644 --- a/examples/with-next-siwe-iron-session/package.json +++ b/examples/with-next-siwe-iron-session/package.json @@ -1,7 +1,7 @@ { "name": "with-next-siwe-iron-session", "private": true, - "version": "0.0.42", + "version": "0.0.43", "scripts": { "dev": "next dev", "build": "next build", diff --git a/examples/with-next-siwe-next-auth/CHANGELOG.md b/examples/with-next-siwe-next-auth/CHANGELOG.md index 8beb3c9647..89d9a5925d 100644 --- a/examples/with-next-siwe-next-auth/CHANGELOG.md +++ b/examples/with-next-siwe-next-auth/CHANGELOG.md @@ -1,5 +1,14 @@ # with-next-siwe-next-auth +## 0.0.43 + +### Patch Changes + +- Updated dependencies [eb319f3] +- Updated dependencies [86be3f0] + - @rainbow-me/rainbowkit@1.0.8 + - @rainbow-me/rainbowkit-siwe-next-auth@0.3.0 + ## 0.0.42 ### Patch Changes diff --git a/examples/with-next-siwe-next-auth/package.json b/examples/with-next-siwe-next-auth/package.json index ce3cb9daaf..cd46bc9efe 100644 --- a/examples/with-next-siwe-next-auth/package.json +++ b/examples/with-next-siwe-next-auth/package.json @@ -1,7 +1,7 @@ { "name": "with-next-siwe-next-auth", "private": true, - "version": "0.0.42", + "version": "0.0.43", "scripts": { "dev": "next dev", "build": "next build", diff --git a/examples/with-next/CHANGELOG.md b/examples/with-next/CHANGELOG.md index e7fb3d89fc..3d815bfb7d 100644 --- a/examples/with-next/CHANGELOG.md +++ b/examples/with-next/CHANGELOG.md @@ -1,5 +1,12 @@ # with-next +## 0.0.61 + +### Patch Changes + +- Updated dependencies [eb319f3] + - @rainbow-me/rainbowkit@1.0.8 + ## 0.0.60 ### Patch Changes diff --git a/examples/with-next/package.json b/examples/with-next/package.json index 8bd37a0275..1ba62755d6 100644 --- a/examples/with-next/package.json +++ b/examples/with-next/package.json @@ -1,7 +1,7 @@ { "name": "with-next", "private": true, - "version": "0.0.60", + "version": "0.0.61", "scripts": { "dev": "next dev", "build": "next build", diff --git a/examples/with-remix/CHANGELOG.md b/examples/with-remix/CHANGELOG.md index 5774ad9232..41b1b1cb23 100644 --- a/examples/with-remix/CHANGELOG.md +++ b/examples/with-remix/CHANGELOG.md @@ -1,5 +1,12 @@ # with-remix +## 0.0.60 + +### Patch Changes + +- Updated dependencies [eb319f3] + - @rainbow-me/rainbowkit@1.0.8 + ## 0.0.59 ### Patch Changes diff --git a/examples/with-remix/package.json b/examples/with-remix/package.json index ccc8f50c2d..996f426826 100644 --- a/examples/with-remix/package.json +++ b/examples/with-remix/package.json @@ -31,5 +31,5 @@ "engines": { "node": ">=14" }, - "version": "0.0.59" + "version": "0.0.60" } \ No newline at end of file diff --git a/examples/with-vite/CHANGELOG.md b/examples/with-vite/CHANGELOG.md index 8261840f99..82bdafd056 100644 --- a/examples/with-vite/CHANGELOG.md +++ b/examples/with-vite/CHANGELOG.md @@ -1,5 +1,12 @@ # with-vite +## 0.0.48 + +### Patch Changes + +- Updated dependencies [eb319f3] + - @rainbow-me/rainbowkit@1.0.8 + ## 0.0.47 ### Patch Changes diff --git a/examples/with-vite/package.json b/examples/with-vite/package.json index 6bad5b0d27..b4ca350f0e 100644 --- a/examples/with-vite/package.json +++ b/examples/with-vite/package.json @@ -1,7 +1,7 @@ { "name": "with-vite", "private": true, - "version": "0.0.47", + "version": "0.0.48", "scripts": { "dev": "vite", "build": "tsc && vite build", diff --git a/packages/create-rainbowkit/generated-test-app/CHANGELOG.md b/packages/create-rainbowkit/generated-test-app/CHANGELOG.md index 736ffa679d..cb51496095 100644 --- a/packages/create-rainbowkit/generated-test-app/CHANGELOG.md +++ b/packages/create-rainbowkit/generated-test-app/CHANGELOG.md @@ -1,5 +1,12 @@ # generated-test-app +## 0.1.63 + +### Patch Changes + +- Updated dependencies [eb319f3] + - @rainbow-me/rainbowkit@1.0.8 + ## 0.1.62 ### Patch Changes diff --git a/packages/create-rainbowkit/generated-test-app/package.json b/packages/create-rainbowkit/generated-test-app/package.json index ad3ba49c24..d24f289560 100644 --- a/packages/create-rainbowkit/generated-test-app/package.json +++ b/packages/create-rainbowkit/generated-test-app/package.json @@ -1,7 +1,7 @@ { "name": "generated-test-app", "private": true, - "version": "0.1.62", + "version": "0.1.63", "scripts": { "dev": "next dev", "build": "next build", diff --git a/packages/create-rainbowkit/templates/next-app/CHANGELOG.md b/packages/create-rainbowkit/templates/next-app/CHANGELOG.md index 8c91d10a93..b0817b5b4c 100644 --- a/packages/create-rainbowkit/templates/next-app/CHANGELOG.md +++ b/packages/create-rainbowkit/templates/next-app/CHANGELOG.md @@ -1,5 +1,12 @@ # rainbowkit-next-app +## 0.0.63 + +### Patch Changes + +- Updated dependencies [eb319f3] + - @rainbow-me/rainbowkit@1.0.8 + ## 0.0.62 ### Patch Changes diff --git a/packages/create-rainbowkit/templates/next-app/package.json b/packages/create-rainbowkit/templates/next-app/package.json index 4ff180f0a6..7404d3ff35 100644 --- a/packages/create-rainbowkit/templates/next-app/package.json +++ b/packages/create-rainbowkit/templates/next-app/package.json @@ -1,7 +1,7 @@ { "name": "rainbowkit-next-app", "private": true, - "version": "0.0.62", + "version": "0.0.63", "scripts": { "dev": "next dev", "build": "next build", diff --git a/packages/example/CHANGELOG.md b/packages/example/CHANGELOG.md index d8fcedb3c8..cf9d3627ab 100644 --- a/packages/example/CHANGELOG.md +++ b/packages/example/CHANGELOG.md @@ -1,5 +1,14 @@ # example +## 0.0.70 + +### Patch Changes + +- Updated dependencies [eb319f3] +- Updated dependencies [86be3f0] + - @rainbow-me/rainbowkit@1.0.8 + - @rainbow-me/rainbowkit-siwe-next-auth@0.3.0 + ## 0.0.69 ### Patch Changes diff --git a/packages/example/package.json b/packages/example/package.json index 80a30555ca..bba1db4b3b 100644 --- a/packages/example/package.json +++ b/packages/example/package.json @@ -1,6 +1,6 @@ { "name": "example", - "version": "0.0.69", + "version": "0.0.70", "description": "", "private": true, "main": "index.js", diff --git a/packages/rainbowkit-siwe-next-auth/CHANGELOG.md b/packages/rainbowkit-siwe-next-auth/CHANGELOG.md index fa57ac42be..11c4e6863d 100644 --- a/packages/rainbowkit-siwe-next-auth/CHANGELOG.md +++ b/packages/rainbowkit-siwe-next-auth/CHANGELOG.md @@ -1,5 +1,22 @@ # @rainbow-me/rainbowkit-siwe-next-auth +## 0.3.0 + +### Minor Changes + +- 86be3f0: Support for `next-auth` versions `4.21.0` and above. + + **Migration guide** + + 1. Upgrade `next-auth` to `~4.22.0` + + 2. In your `next-auth` providers `async authorize(credentials)` implementation, alter the parameters passed to `getCsrfToken` like so. Reference our example implementation [here](https://github.com/rainbow-me/rainbowkit/tree/main/examples/with-next-siwe-next-auth). + + ```ts + - const nonce = await getCsrfToken({ req }); + + const nonce = await getCsrfToken({ req: { headers: req.headers } }); + ``` + ## 0.2.0 ### Minor Changes diff --git a/packages/rainbowkit-siwe-next-auth/package.json b/packages/rainbowkit-siwe-next-auth/package.json index 572231e8a3..041ada77f1 100644 --- a/packages/rainbowkit-siwe-next-auth/package.json +++ b/packages/rainbowkit-siwe-next-auth/package.json @@ -1,6 +1,6 @@ { "name": "@rainbow-me/rainbowkit-siwe-next-auth", - "version": "0.2.0", + "version": "0.3.0", "description": "RainbowKit authentication adapter for Sign-In with Ethereum and NextAuth.js", "files": [ "dist" diff --git a/packages/rainbowkit/CHANGELOG.md b/packages/rainbowkit/CHANGELOG.md index d9550460ef..f8ac2c5463 100644 --- a/packages/rainbowkit/CHANGELOG.md +++ b/packages/rainbowkit/CHANGELOG.md @@ -1,5 +1,15 @@ # @rainbow-me/rainbowkit +## 1.0.8 + +### Patch Changes + +- eb319f3: Improved warnings and error handling for dApps with an invalid or missing `projectId`. + + Improved the developer experience for RainbowKit examples and templates with a bundled development `projectId`. It is required that every dApp obtains a unique `projectId` before entering production to avoid throttling and issues for end users. + + Read our WalletConnect v2 [Migration Guide](https://www.rainbowkit.com/guides/walletconnect-v2#:~:text=2.%20Supplying%20a%20projectId) for more information. + ## 1.0.7 ### Patch Changes diff --git a/packages/rainbowkit/package.json b/packages/rainbowkit/package.json index 2ed7829f48..f03862cf63 100644 --- a/packages/rainbowkit/package.json +++ b/packages/rainbowkit/package.json @@ -1,6 +1,6 @@ { "name": "@rainbow-me/rainbowkit", - "version": "1.0.7", + "version": "1.0.8", "description": "The best way to connect a wallet", "files": [ "dist", diff --git a/site/CHANGELOG.md b/site/CHANGELOG.md index ddd323df29..5a1e4b901e 100644 --- a/site/CHANGELOG.md +++ b/site/CHANGELOG.md @@ -1,5 +1,12 @@ # site +## 0.0.70 + +### Patch Changes + +- Updated dependencies [eb319f3] + - @rainbow-me/rainbowkit@1.0.8 + ## 0.0.69 ### Patch Changes diff --git a/site/package.json b/site/package.json index 049978f184..044c9e9515 100644 --- a/site/package.json +++ b/site/package.json @@ -1,6 +1,6 @@ { "name": "site", - "version": "0.0.69", + "version": "0.0.70", "description": "Site and docs for RainbowKit.", "private": true, "dependencies": {