Skip to content

Commit

Permalink
Version Packages (beta)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 24, 2023
1 parent cadefb8 commit e01da4b
Show file tree
Hide file tree
Showing 53 changed files with 243 additions and 100 deletions.
10 changes: 9 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
"@blitzjs/recipe-theme-ui": "0.34.0-canary.0",
"@blitzjs/recipe-vanilla-extract": "0.34.0-canary.0",
"test-rpc-path-root": "0.0.0",
"test-full-auth-with-rpc": "0.0.0"
"test-full-auth-with-rpc": "0.0.0",
"next-blitz-auth": "0.1.0",
"test-app-dir": "0.0.0"
},
"changesets": [
"afraid-dancers-juggle",
Expand All @@ -67,6 +69,7 @@
"calm-nails-wait",
"calm-papayas-protect",
"calm-tomatoes-drive",
"chatty-fireants-leave",
"chilled-carrots-own",
"chilly-candles-care",
"chilly-nails-nail",
Expand All @@ -77,6 +80,7 @@
"cool-doors-invent",
"cool-horses-check",
"cuddly-pugs-crash",
"cuddly-singers-perform",
"curly-rules-speak",
"curly-seas-serve",
"curvy-days-attend",
Expand All @@ -96,6 +100,7 @@
"fair-kangaroos-clean",
"fair-wombats-sneeze",
"famous-kings-explain",
"fast-adults-guess",
"fast-clocks-push",
"fast-papayas-grow",
"fast-trainers-kneel",
Expand All @@ -109,6 +114,7 @@
"forty-timers-rhyme",
"four-brooms-juggle",
"four-meals-fry",
"four-radios-tickle",
"four-sheep-judge",
"funny-cups-pay",
"fuzzy-bees-warn",
Expand Down Expand Up @@ -169,6 +175,7 @@
"lucky-cows-try",
"lucky-months-guess",
"lucky-years-turn",
"mean-ears-speak",
"mean-gorillas-reply",
"modern-cameras-pull",
"modern-games-dream",
Expand Down Expand Up @@ -258,6 +265,7 @@
"stale-jobs-drum",
"stale-parents-yawn",
"strong-apes-reply",
"strong-chicken-study",
"strong-keys-lie",
"stupid-rabbits-jump",
"stupid-walls-sell",
Expand Down
15 changes: 15 additions & 0 deletions apps/next13/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# next-blitz-auth

## 0.1.1-beta.0

### Patch Changes

- Updated dependencies [cadefb88e]
- Updated dependencies [6f18cbdc9]
- Updated dependencies [9529dbd6f]
- Updated dependencies [6e88a847f]
- blitz@2.0.0-beta.24
- @blitzjs/auth@2.0.0-beta.24
- @blitzjs/next@2.0.0-beta.24
- @blitzjs/rpc@2.0.0-beta.24
- @blitzjs/config@2.0.0-beta.24
2 changes: 1 addition & 1 deletion apps/next13/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-blitz-auth",
"version": "0.1.0",
"version": "0.1.1-beta.0",
"private": true,
"scripts": {
"blitz:dev": "next dev",
Expand Down
2 changes: 1 addition & 1 deletion apps/toolkit-app-passportjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@hookform/error-message": "2.0.0",
"@hookform/resolvers": "2.9.10",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.23",
"blitz": "workspace:2.0.0-beta.24",
"next": "13.1.6",
"openid-client": "5.2.1",
"prisma": "4.6.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/toolkit-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@hookform/error-message": "2.0.0",
"@hookform/resolvers": "2.9.10",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.23",
"blitz": "workspace:2.0.0-beta.24",
"next": "13.1.6",
"next-auth": "4.18.7",
"prisma": "4.6.1",
Expand Down
10 changes: 5 additions & 5 deletions integration-tests/auth-with-rpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
"prisma:studio": "prisma studio"
},
"dependencies": {
"@blitzjs/auth": "workspace:2.0.0-beta.23",
"@blitzjs/config": "workspace:2.0.0-beta.23",
"@blitzjs/next": "workspace:2.0.0-beta.23",
"@blitzjs/rpc": "workspace:2.0.0-beta.23",
"@blitzjs/auth": "workspace:2.0.0-beta.24",
"@blitzjs/config": "workspace:2.0.0-beta.24",
"@blitzjs/next": "workspace:2.0.0-beta.24",
"@blitzjs/rpc": "workspace:2.0.0-beta.24",
"@hookform/error-message": "2.0.0",
"@hookform/resolvers": "2.9.10",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.23",
"blitz": "workspace:2.0.0-beta.24",
"delay": "5.0.0",
"next": "13.1.6",
"prisma": "4.6.1",
Expand Down
8 changes: 4 additions & 4 deletions integration-tests/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"prisma:studio": "prisma studio"
},
"dependencies": {
"@blitzjs/auth": "workspace:2.0.0-beta.23",
"@blitzjs/config": "workspace:2.0.0-beta.23",
"@blitzjs/next": "workspace:2.0.0-beta.23",
"@blitzjs/auth": "workspace:2.0.0-beta.24",
"@blitzjs/config": "workspace:2.0.0-beta.24",
"@blitzjs/next": "workspace:2.0.0-beta.24",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.23",
"blitz": "workspace:2.0.0-beta.24",
"lowdb": "3.0.0",
"next": "13.1.6",
"prisma": "4.6.1",
Expand Down
10 changes: 5 additions & 5 deletions integration-tests/get-initial-props/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@
"schema": "db/schema.prisma"
},
"dependencies": {
"@blitzjs/auth": "workspace:2.0.0-beta.23",
"@blitzjs/next": "workspace:2.0.0-beta.23",
"@blitzjs/rpc": "workspace:2.0.0-beta.23",
"@blitzjs/auth": "workspace:2.0.0-beta.24",
"@blitzjs/next": "workspace:2.0.0-beta.24",
"@blitzjs/rpc": "workspace:2.0.0-beta.24",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.23",
"blitz": "workspace:2.0.0-beta.24",
"lowdb": "3.0.0",
"next": "13.1.6",
"prisma": "4.6.1",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.23",
"@blitzjs/config": "workspace:2.0.0-beta.24",
"@next/bundle-analyzer": "12.0.8",
"@types/express": "4.17.13",
"@types/fs-extra": "9.0.13",
Expand Down
8 changes: 4 additions & 4 deletions integration-tests/middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next"
},
"dependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.23",
"@blitzjs/next": "workspace:2.0.0-beta.23",
"@blitzjs/rpc": "workspace:2.0.0-beta.23",
"blitz": "workspace:2.0.0-beta.23",
"@blitzjs/config": "workspace:2.0.0-beta.24",
"@blitzjs/next": "workspace:2.0.0-beta.24",
"@blitzjs/rpc": "workspace:2.0.0-beta.24",
"blitz": "workspace:2.0.0-beta.24",
"next": "13.1.6",
"react": "18.2.0",
"react-dom": "18.2.0"
Expand Down
10 changes: 5 additions & 5 deletions integration-tests/next-13-app-dir/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"prisma:studio": "prisma studio"
},
"dependencies": {
"@blitzjs/auth": "workspace:2.0.0-beta.23",
"@blitzjs/config": "workspace:2.0.0-beta.23",
"@blitzjs/next": "workspace:2.0.0-beta.23",
"@blitzjs/rpc": "workspace:2.0.0-beta.23",
"@blitzjs/auth": "workspace:2.0.0-beta.24",
"@blitzjs/config": "workspace:2.0.0-beta.24",
"@blitzjs/next": "workspace:2.0.0-beta.24",
"@blitzjs/rpc": "workspace:2.0.0-beta.24",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.23",
"blitz": "workspace:2.0.0-beta.24",
"lowdb": "3.0.0",
"next": "13.1.6",
"prisma": "4.6.1",
Expand Down
10 changes: 5 additions & 5 deletions integration-tests/no-suspense/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@
"prisma:studio": "prisma studio"
},
"dependencies": {
"@blitzjs/auth": "workspace:2.0.0-beta.23",
"@blitzjs/next": "workspace:2.0.0-beta.23",
"@blitzjs/rpc": "workspace:2.0.0-beta.23",
"@blitzjs/auth": "workspace:2.0.0-beta.24",
"@blitzjs/next": "workspace:2.0.0-beta.24",
"@blitzjs/rpc": "workspace:2.0.0-beta.24",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.23",
"blitz": "workspace:2.0.0-beta.24",
"lowdb": "3.0.0",
"next": "13.1.6",
"prisma": "4.6.1",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.23",
"@blitzjs/config": "workspace:2.0.0-beta.24",
"@next/bundle-analyzer": "12.0.8",
"@types/express": "4.17.13",
"@types/fs-extra": "9.0.13",
Expand Down
10 changes: 5 additions & 5 deletions integration-tests/qm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"clean": "rm -rf .turbo && rm -rf node_modules"
},
"dependencies": {
"@blitzjs/auth": "workspace:2.0.0-beta.23",
"@blitzjs/config": "workspace:2.0.0-beta.23",
"@blitzjs/next": "workspace:2.0.0-beta.23",
"@blitzjs/rpc": "workspace:2.0.0-beta.23",
"@blitzjs/auth": "workspace:2.0.0-beta.24",
"@blitzjs/config": "workspace:2.0.0-beta.24",
"@blitzjs/next": "workspace:2.0.0-beta.24",
"@blitzjs/rpc": "workspace:2.0.0-beta.24",
"@prisma/client": "4.6.1",
"@tanstack/react-query": "4.0.10",
"blitz": "workspace:2.0.0-beta.23",
"blitz": "workspace:2.0.0-beta.24",
"next": "13.1.6",
"prisma": "4.6.1",
"react": "18.2.0",
Expand Down
8 changes: 4 additions & 4 deletions integration-tests/react-query-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
"schema": "db/schema.prisma"
},
"dependencies": {
"@blitzjs/next": "workspace:2.0.0-beta.23",
"@blitzjs/rpc": "workspace:2.0.0-beta.23",
"@blitzjs/next": "workspace:2.0.0-beta.24",
"@blitzjs/rpc": "workspace:2.0.0-beta.24",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.23",
"blitz": "workspace:2.0.0-beta.24",
"lowdb": "3.0.0",
"next": "13.1.6",
"prisma": "4.6.1",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.23",
"@blitzjs/config": "workspace:2.0.0-beta.24",
"@next/bundle-analyzer": "12.0.8",
"@types/express": "4.17.13",
"@types/fs-extra": "9.0.13",
Expand Down
8 changes: 4 additions & 4 deletions integration-tests/rpc-path-root/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next"
},
"dependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.23",
"@blitzjs/next": "workspace:2.0.0-beta.23",
"@blitzjs/rpc": "workspace:2.0.0-beta.23",
"blitz": "workspace:2.0.0-beta.23",
"@blitzjs/config": "workspace:2.0.0-beta.24",
"@blitzjs/next": "workspace:2.0.0-beta.24",
"@blitzjs/rpc": "workspace:2.0.0-beta.24",
"blitz": "workspace:2.0.0-beta.24",
"next": "13.1.6",
"react": "18.2.0",
"react-dom": "18.2.0"
Expand Down
8 changes: 4 additions & 4 deletions integration-tests/rpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next"
},
"dependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.23",
"@blitzjs/next": "workspace:2.0.0-beta.23",
"@blitzjs/rpc": "workspace:2.0.0-beta.23",
"blitz": "workspace:2.0.0-beta.23",
"@blitzjs/config": "workspace:2.0.0-beta.24",
"@blitzjs/next": "workspace:2.0.0-beta.24",
"@blitzjs/rpc": "workspace:2.0.0-beta.24",
"blitz": "workspace:2.0.0-beta.24",
"next": "13.1.6",
"react": "18.2.0",
"react-dom": "18.2.0"
Expand Down
10 changes: 5 additions & 5 deletions integration-tests/trailing-slash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@
"schema": "db/schema.prisma"
},
"dependencies": {
"@blitzjs/auth": "workspace:2.0.0-beta.23",
"@blitzjs/next": "workspace:2.0.0-beta.23",
"@blitzjs/rpc": "workspace:2.0.0-beta.23",
"@blitzjs/auth": "workspace:2.0.0-beta.24",
"@blitzjs/next": "workspace:2.0.0-beta.24",
"@blitzjs/rpc": "workspace:2.0.0-beta.24",
"@prisma/client": "4.6.1",
"blitz": "workspace:2.0.0-beta.23",
"blitz": "workspace:2.0.0-beta.24",
"lowdb": "3.0.0",
"next": "13.1.6",
"prisma": "4.6.1",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.23",
"@blitzjs/config": "workspace:2.0.0-beta.24",
"@next/bundle-analyzer": "12.0.8",
"@types/express": "4.17.13",
"@types/fs-extra": "9.0.13",
Expand Down
35 changes: 35 additions & 0 deletions packages/blitz-auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
# @blitzjs/auth

## 2.0.0-beta.24

### Major Changes

- 9529dbd6f: ## ⚠️ Breaking Changes for Blitz Auth

Automatically upgrade using codemod
(Make sure to git commit before running this command to avoid losing changes)

```bash
npx @blitz/codemod secure-password
```

Introduce a new import path for the Blitz wrapper `SecurePassword` to fully decouple the library from `@blitzjs/auth`

```diff
- import {SecurePassword} from "@blitzjs/auth"
+ import {SecurePassword} from "@blitzjs/auth/secure-password"
```

### Minor Changes

- cadefb88e: - New Blitz Auth Function `getAppSession`, This function will use the cookies and headers provided by the server component and returns the current session.
- New Blitz Auth Hook `useAuthenticatedAppSession`, This hook is implemented as the replacement of the BlitzPage seurity auth utilities provided for the pages directory to work with React Server Components in the Nextjs 13 app directory
- New Blitz React Server Component Wrapper, `BlitzProvider` is to be imported from setupBlitzClient in src/blitz-client.ts and to used to ideally wrap the entire application in the `RootLayout` in the root layout.ts file of next app directory.
- Fix failing tests due to the error `NextRouter is not mounted` in next 13 blitz apps
- 6f18cbdc9: feature: Next Auth Adapter

### Patch Changes

- 6e88a847f: Fixed security vulnerabilities in passport-adapter by upgrading `passport` and `jsonwebtoken`
- Updated dependencies [cadefb88e]
- Updated dependencies [6f18cbdc9]
- blitz@2.0.0-beta.24

## 2.0.0-beta.23

### Major Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/blitz-auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blitzjs/auth",
"version": "2.0.0-beta.23",
"version": "2.0.0-beta.24",
"homepage": "https://blitzjs.com/",
"repository": {
"type": "git",
Expand Down Expand Up @@ -47,7 +47,7 @@
"url": "0.11.0"
},
"peerDependencies": {
"blitz": "2.0.0-beta.23",
"blitz": "2.0.0-beta.24",
"next": "*",
"next-auth": "*",
"secure-password": "4.0.0"
Expand All @@ -64,15 +64,15 @@
}
},
"devDependencies": {
"@blitzjs/config": "workspace:2.0.0-beta.23",
"@blitzjs/config": "workspace:2.0.0-beta.24",
"@testing-library/react": "13.4.0",
"@testing-library/react-hooks": "8.0.1",
"@types/cookie": "0.4.1",
"@types/debug": "4.1.7",
"@types/jsonwebtoken": "8.5.8",
"@types/react": "18.0.25",
"@types/react-dom": "17.0.14",
"blitz": "2.0.0-beta.23",
"blitz": "2.0.0-beta.24",
"next": "13.1.6",
"next-auth": "4.18.7",
"react": "18.2.0",
Expand Down

0 comments on commit e01da4b

Please sign in to comment.