diff --git a/.changeset/pre.json b/.changeset/pre.json index 6d5b19bbdf..68ec3c018c 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -52,6 +52,7 @@ "big-phones-bow", "blue-flowers-peel", "blue-pigs-tan", + "brave-zebras-deny", "breezy-bees-beg", "breezy-cameras-double", "breezy-moose-behave", @@ -171,6 +172,7 @@ "ninety-rice-tickle", "odd-bears-run", "olive-bees-buy", + "olive-dragons-drum", "olive-feet-rhyme", "olive-kings-invent", "olive-sheep-rhyme", @@ -189,6 +191,7 @@ "purple-donkeys-smash", "purple-singers-greet", "quick-cycles-confess", + "quick-dots-fetch", "quiet-feet-travel", "quiet-pans-hunt", "quiet-sloths-rule", diff --git a/apps/toolkit-app-passportjs/package.json b/apps/toolkit-app-passportjs/package.json index 217e5ae12b..3693c1374f 100644 --- a/apps/toolkit-app-passportjs/package.json +++ b/apps/toolkit-app-passportjs/package.json @@ -30,7 +30,7 @@ "@hookform/error-message": "2.0.0", "@hookform/resolvers": "2.9.10", "@prisma/client": "4.6.0", - "blitz": "workspace:2.0.0-beta.17", + "blitz": "workspace:2.0.0-beta.18", "next": "12.2.5", "openid-client": "5.2.1", "prisma": "4.6.0", diff --git a/apps/toolkit-app/package.json b/apps/toolkit-app/package.json index 576529ae63..c5d59fa8fe 100644 --- a/apps/toolkit-app/package.json +++ b/apps/toolkit-app/package.json @@ -30,7 +30,7 @@ "@hookform/error-message": "2.0.0", "@hookform/resolvers": "2.9.10", "@prisma/client": "4.6.0", - "blitz": "workspace:2.0.0-beta.17", + "blitz": "workspace:2.0.0-beta.18", "next": "12.2.5", "prisma": "4.6.0", "react": "18.2.0", diff --git a/integration-tests/auth/package.json b/integration-tests/auth/package.json index b87982a169..e88681e251 100644 --- a/integration-tests/auth/package.json +++ b/integration-tests/auth/package.json @@ -21,7 +21,7 @@ "@blitzjs/config": "workspace:*", "@blitzjs/next": "workspace:*", "@prisma/client": "4.6.0", - "blitz": "workspace:2.0.0-beta.17", + "blitz": "workspace:2.0.0-beta.18", "lowdb": "3.0.0", "next": "12.2.5", "prisma": "4.6.0", diff --git a/packages/blitz-auth/CHANGELOG.md b/packages/blitz-auth/CHANGELOG.md index 192866a7c2..a42c702db3 100644 --- a/packages/blitz-auth/CHANGELOG.md +++ b/packages/blitz-auth/CHANGELOG.md @@ -1,5 +1,11 @@ # @blitzjs/auth +## 2.0.0-beta.18 + +### Patch Changes + +- blitz@2.0.0-beta.18 + ## 2.0.0-beta.17 ### Patch Changes diff --git a/packages/blitz-auth/package.json b/packages/blitz-auth/package.json index ac7a12cb70..ef94b878a3 100644 --- a/packages/blitz-auth/package.json +++ b/packages/blitz-auth/package.json @@ -1,6 +1,6 @@ { "name": "@blitzjs/auth", - "version": "2.0.0-beta.17", + "version": "2.0.0-beta.18", "scripts": { "build": "unbuild", "predev": "wait-on -d 250 ../blitz/dist/index-server.d.ts", @@ -26,7 +26,7 @@ "@types/secure-password": "3.1.1", "b64-lite": "1.4.0", "bad-behavior": "1.0.1", - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "cookie": "0.4.1", "cookie-session": "2.0.0", "debug": "4.3.3", @@ -40,7 +40,7 @@ "url": "0.11.0" }, "devDependencies": { - "@blitzjs/config": "workspace:2.0.0-beta.17", + "@blitzjs/config": "workspace:2.0.0-beta.18", "@testing-library/react": "13.4.0", "@testing-library/react-hooks": "8.0.1", "@types/cookie": "0.4.1", diff --git a/packages/blitz-next/CHANGELOG.md b/packages/blitz-next/CHANGELOG.md index 30c8ffacb5..e81b5de12b 100644 --- a/packages/blitz-next/CHANGELOG.md +++ b/packages/blitz-next/CHANGELOG.md @@ -1,5 +1,14 @@ # @blitzjs/next +## 2.0.0-beta.18 + +### Patch Changes + +- Updated dependencies [72a4e594] +- Updated dependencies [ed2b0e22] +- Updated dependencies [c0a3b1ee] + - @blitzjs/rpc@2.0.0-beta.18 + ## 2.0.0-beta.17 ### Patch Changes diff --git a/packages/blitz-next/package.json b/packages/blitz-next/package.json index 2ce72f55d8..3b4302f3f0 100644 --- a/packages/blitz-next/package.json +++ b/packages/blitz-next/package.json @@ -1,6 +1,6 @@ { "name": "@blitzjs/next", - "version": "2.0.0-beta.17", + "version": "2.0.0-beta.18", "scripts": { "build": "unbuild", "dev": "pnpm predev && pnpm watch unbuild src --wait=0.2", @@ -24,7 +24,7 @@ "eslint.js" ], "dependencies": { - "@blitzjs/rpc": "2.0.0-beta.17", + "@blitzjs/rpc": "2.0.0-beta.18", "@tanstack/react-query": "4.0.10", "@types/hoist-non-react-statics": "3.3.1", "debug": "4.3.3", @@ -34,7 +34,7 @@ "supports-color": "8.1.1" }, "devDependencies": { - "@blitzjs/config": "workspace:2.0.0-beta.17", + "@blitzjs/config": "workspace:2.0.0-beta.18", "@testing-library/dom": "8.13.0", "@testing-library/jest-dom": "5.16.3", "@testing-library/react": "13.4.0", @@ -44,7 +44,7 @@ "@types/react": "18.0.25", "@types/react-dom": "17.0.14", "@types/testing-library__react-hooks": "4.0.0", - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "cross-spawn": "7.0.3", "find-up": "4.1.0", "next": "12.2.5", diff --git a/packages/blitz-rpc/CHANGELOG.md b/packages/blitz-rpc/CHANGELOG.md index c3a40bdcc5..7a5392bad4 100644 --- a/packages/blitz-rpc/CHANGELOG.md +++ b/packages/blitz-rpc/CHANGELOG.md @@ -1,5 +1,17 @@ # @blitzjs/rpc +## 2.0.0-beta.18 + +### Minor Changes + +- 72a4e594: internal: remove unneeed useSession from useQuery hooks +- c0a3b1ee: Fix mutability bug in RPC configuration + +### Patch Changes + +- ed2b0e22: Add ability to put your query and mutation resolvers in a separate monorepo folder, allowing you to use them in multiple apps. + - @blitzjs/auth@2.0.0-beta.18 + ## 2.0.0-beta.17 ### Patch Changes diff --git a/packages/blitz-rpc/package.json b/packages/blitz-rpc/package.json index 60953469df..d96aacd9c6 100644 --- a/packages/blitz-rpc/package.json +++ b/packages/blitz-rpc/package.json @@ -1,6 +1,6 @@ { "name": "@blitzjs/rpc", - "version": "2.0.0-beta.17", + "version": "2.0.0-beta.18", "scripts": { "build": "unbuild", "predev": "wait-on -d 400 ../blitz/dist/index-server.d.ts && wait-on -d 400 ../blitz-auth/dist/index-browser.d.ts", @@ -20,7 +20,7 @@ "dist/**" ], "dependencies": { - "@blitzjs/auth": "2.0.0-beta.17", + "@blitzjs/auth": "2.0.0-beta.18", "@swc/core": "1.3.7", "@tanstack/react-query": "4.0.10", "b64-lite": "1.4.0", @@ -31,11 +31,11 @@ "supports-color": "8.1.1" }, "devDependencies": { - "@blitzjs/config": "workspace:2.0.0-beta.17", + "@blitzjs/config": "workspace:2.0.0-beta.18", "@types/debug": "4.1.7", "@types/react": "18.0.25", "@types/react-dom": "17.0.14", - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "next": "12.2.5", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/packages/blitz/CHANGELOG.md b/packages/blitz/CHANGELOG.md index ea27a14b88..62235dac89 100644 --- a/packages/blitz/CHANGELOG.md +++ b/packages/blitz/CHANGELOG.md @@ -1,5 +1,11 @@ # blitz +## 2.0.0-beta.18 + +### Patch Changes + +- @blitzjs/generator@2.0.0-beta.18 + ## 2.0.0-beta.17 ### Patch Changes diff --git a/packages/blitz/package.json b/packages/blitz/package.json index fc3f4c8b01..59fb8fea54 100644 --- a/packages/blitz/package.json +++ b/packages/blitz/package.json @@ -1,6 +1,6 @@ { "name": "blitz", - "version": "2.0.0-beta.17", + "version": "2.0.0-beta.18", "scripts": { "build": "unbuild", "dev": "rm -rf dist && pnpm run predev && watch unbuild src --wait=0.2", @@ -25,7 +25,7 @@ "blitz": "bin/blitz" }, "dependencies": { - "@blitzjs/generator": "2.0.0-beta.17", + "@blitzjs/generator": "2.0.0-beta.18", "@mrleebo/prisma-ast": "0.2.6", "@types/global-agent": "2.1.1", "arg": "5.0.1", @@ -73,7 +73,7 @@ "watchpack": "2.1.1" }, "devDependencies": { - "@blitzjs/config": "workspace:2.0.0-beta.17", + "@blitzjs/config": "workspace:2.0.0-beta.18", "@types/cookie": "0.4.1", "@types/cross-spawn": "6.0.2", "@types/debug": "4.1.7", diff --git a/packages/codemod/CHANGELOG.md b/packages/codemod/CHANGELOG.md index a71a40dfcd..d2837a8e83 100644 --- a/packages/codemod/CHANGELOG.md +++ b/packages/codemod/CHANGELOG.md @@ -1,5 +1,12 @@ # @blitzjs/codemod +## 2.0.0-beta.18 + +### Patch Changes + +- @blitzjs/generator@2.0.0-beta.18 +- blitz@2.0.0-beta.18 + ## 2.0.0-beta.17 ### Patch Changes diff --git a/packages/codemod/package.json b/packages/codemod/package.json index dd2adeb91c..29e39c5ddc 100644 --- a/packages/codemod/package.json +++ b/packages/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@blitzjs/codemod", - "version": "2.0.0-beta.17", + "version": "2.0.0-beta.18", "scripts": { "build": "unbuild", "dev": "watch unbuild src --wait=0.2", @@ -25,9 +25,9 @@ "@babel/plugin-proposal-class-properties": "7.17.12", "@babel/plugin-syntax-jsx": "7.17.12", "@babel/plugin-syntax-typescript": "7.17.12", - "@blitzjs/generator": "2.0.0-beta.17", + "@blitzjs/generator": "2.0.0-beta.18", "arg": "5.0.1", - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "chalk": "^4.1.0", "cross-spawn": "7.0.3", "debug": "4.3.3", diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index c798b948a7..fcffba273d 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,7 @@ # @blitzjs/config +## 2.0.0-beta.18 + ## 2.0.0-beta.17 ## 2.0.0-beta.16 diff --git a/packages/config/package.json b/packages/config/package.json index 57c292c73e..977b0e27a2 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,7 +1,7 @@ { "name": "@blitzjs/config", "private": true, - "version": "2.0.0-beta.17", + "version": "2.0.0-beta.18", "license": "MIT", "dependencies": { "@typescript-eslint/eslint-plugin": "5.42.1", diff --git a/packages/generator/CHANGELOG.md b/packages/generator/CHANGELOG.md index 785c2df011..efcf857c0b 100644 --- a/packages/generator/CHANGELOG.md +++ b/packages/generator/CHANGELOG.md @@ -1,5 +1,7 @@ # @blitzjs/generator +## 2.0.0-beta.18 + ## 2.0.0-beta.17 ### Patch Changes diff --git a/packages/generator/package.json b/packages/generator/package.json index 65fed22393..8376dd9b97 100644 --- a/packages/generator/package.json +++ b/packages/generator/package.json @@ -1,6 +1,6 @@ { "name": "@blitzjs/generator", - "version": "2.0.0-beta.17", + "version": "2.0.0-beta.18", "scripts": { "dev": "watch unbuild src --wait=0.2", "build": "unbuild && pnpm build:templates", @@ -47,7 +47,7 @@ "vinyl": "2.2.1" }, "devDependencies": { - "@blitzjs/config": "2.0.0-beta.17", + "@blitzjs/config": "2.0.0-beta.18", "@juanm04/cpx": "2.0.1", "@types/babel__core": "7.1.19", "@types/diff": "5.0.2", diff --git a/packages/pkg-template/package.json b/packages/pkg-template/package.json index 3690da5043..cd42ef68b2 100644 --- a/packages/pkg-template/package.json +++ b/packages/pkg-template/package.json @@ -25,7 +25,7 @@ "@typescript-eslint/parser": "5.9.1" }, "devDependencies": { - "@blitzjs/config": "2.0.0-beta.17", + "@blitzjs/config": "2.0.0-beta.18", "@types/react": "18.0.25", "@types/react-dom": "17.0.14", "react": "18.2.0", diff --git a/recipes/base-web/package.json b/recipes/base-web/package.json index 3d9f2a6e52..5e901129e2 100644 --- a/recipes/base-web/package.json +++ b/recipes/base-web/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/bulma/package.json b/recipes/bulma/package.json index 9e859bf9aa..3ca80c6972 100644 --- a/recipes/bulma/package.json +++ b/recipes/bulma/package.json @@ -22,7 +22,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/bumbag-ui/package.json b/recipes/bumbag-ui/package.json index c5af2347ae..aad9f2b8da 100644 --- a/recipes/bumbag-ui/package.json +++ b/recipes/bumbag-ui/package.json @@ -24,7 +24,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/chakra-ui/package.json b/recipes/chakra-ui/package.json index 1927423de3..87ada6ebb6 100644 --- a/recipes/chakra-ui/package.json +++ b/recipes/chakra-ui/package.json @@ -24,7 +24,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/emotion/package.json b/recipes/emotion/package.json index a8acef4c94..be5abcb72b 100644 --- a/recipes/emotion/package.json +++ b/recipes/emotion/package.json @@ -22,7 +22,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/gh-action-yarn-mariadb/package.json b/recipes/gh-action-yarn-mariadb/package.json index b98625c83d..c1d4e503c9 100644 --- a/recipes/gh-action-yarn-mariadb/package.json +++ b/recipes/gh-action-yarn-mariadb/package.json @@ -24,6 +24,6 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17" + "blitz": "2.0.0-beta.18" } } diff --git a/recipes/gh-action-yarn-postgres/package.json b/recipes/gh-action-yarn-postgres/package.json index 261a63b740..49e745fe3b 100644 --- a/recipes/gh-action-yarn-postgres/package.json +++ b/recipes/gh-action-yarn-postgres/package.json @@ -24,6 +24,6 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17" + "blitz": "2.0.0-beta.18" } } diff --git a/recipes/ghost/package.json b/recipes/ghost/package.json index 5ae8197a83..811abfbb76 100644 --- a/recipes/ghost/package.json +++ b/recipes/ghost/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/graphql-apollo-server/package.json b/recipes/graphql-apollo-server/package.json index 6c8d23ebfd..33d210bbe4 100644 --- a/recipes/graphql-apollo-server/package.json +++ b/recipes/graphql-apollo-server/package.json @@ -22,7 +22,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0", "uuid": "^8.3.1" }, diff --git a/recipes/logrocket/package.json b/recipes/logrocket/package.json index aad83e30cb..3caf386467 100644 --- a/recipes/logrocket/package.json +++ b/recipes/logrocket/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/material-ui/package.json b/recipes/material-ui/package.json index cf28a52789..4d9953f387 100644 --- a/recipes/material-ui/package.json +++ b/recipes/material-ui/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/next-ui/package.json b/recipes/next-ui/package.json index c948d98e31..f7c898e64a 100644 --- a/recipes/next-ui/package.json +++ b/recipes/next-ui/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/passenger/package.json b/recipes/passenger/package.json index 2b34ccb088..8480f14c54 100644 --- a/recipes/passenger/package.json +++ b/recipes/passenger/package.json @@ -23,6 +23,6 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17" + "blitz": "2.0.0-beta.18" } } diff --git a/recipes/quirrel/package.json b/recipes/quirrel/package.json index a9abad321b..f27291c464 100644 --- a/recipes/quirrel/package.json +++ b/recipes/quirrel/package.json @@ -22,6 +22,6 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17" + "blitz": "2.0.0-beta.18" } } diff --git a/recipes/reflexjs/package.json b/recipes/reflexjs/package.json index 0569251ac6..c8d0b61651 100644 --- a/recipes/reflexjs/package.json +++ b/recipes/reflexjs/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/render/package.json b/recipes/render/package.json index 975be21a68..21d85231c6 100644 --- a/recipes/render/package.json +++ b/recipes/render/package.json @@ -22,6 +22,6 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17" + "blitz": "2.0.0-beta.18" } } diff --git a/recipes/secureheaders/package.json b/recipes/secureheaders/package.json index 3476e79d7e..a683018e2b 100644 --- a/recipes/secureheaders/package.json +++ b/recipes/secureheaders/package.json @@ -22,7 +22,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0", "uuid": "^8.3.1" }, diff --git a/recipes/stitches/package.json b/recipes/stitches/package.json index 8d129da64d..0c1eb2b9f7 100644 --- a/recipes/stitches/package.json +++ b/recipes/stitches/package.json @@ -24,7 +24,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/styled-components/package.json b/recipes/styled-components/package.json index ba1edc355c..2fd566c6ff 100644 --- a/recipes/styled-components/package.json +++ b/recipes/styled-components/package.json @@ -24,7 +24,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/tailwind/package.json b/recipes/tailwind/package.json index 4708100fdf..3f9023d6c5 100644 --- a/recipes/tailwind/package.json +++ b/recipes/tailwind/package.json @@ -22,7 +22,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/theme-ui/package.json b/recipes/theme-ui/package.json index e8c901fc80..325c4e513e 100644 --- a/recipes/theme-ui/package.json +++ b/recipes/theme-ui/package.json @@ -23,7 +23,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0" }, "devDependencies": { diff --git a/recipes/vanilla-extract/package.json b/recipes/vanilla-extract/package.json index 46ded0de4b..5b1248ca76 100644 --- a/recipes/vanilla-extract/package.json +++ b/recipes/vanilla-extract/package.json @@ -25,7 +25,7 @@ }, "homepage": "https://github.com/blitz-js/blitz#readme", "dependencies": { - "blitz": "2.0.0-beta.17", + "blitz": "2.0.0-beta.18", "jscodeshift": "0.13.0" }, "devDependencies": {