Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: support next.js 15 #4387

Merged
merged 28 commits into from
Dec 23, 2024
Merged

chore: support next.js 15 #4387

merged 28 commits into from
Dec 23, 2024

Conversation

siddhsuresh
Copy link
Member

@siddhsuresh siddhsuresh commented Oct 26, 2024

Closes: #4385 #4385

What are the changes and their implications?

Upgrade packages to avoid warnings thrown from latest next.js version

Copy link

changeset-bot bot commented Oct 26, 2024

🦋 Changeset detected

Latest commit: 0e49cb2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@blitzjs/auth Major
@blitzjs/next Major
@blitzjs/rpc Major
blitz Minor
next-blitz-auth Patch
@blitzjs/codemod Major
@blitzjs/config Major
@blitzjs/generator Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@siddhsuresh
Copy link
Member Author

!preview next-js-15

Copy link
Contributor

github-actions bot commented Nov 5, 2024

Snapshot Release next-js-15

@siddhsuresh siddhsuresh linked an issue Nov 13, 2024 that may be closed by this pull request
@siddhsuresh siddhsuresh marked this pull request as ready for review November 22, 2024 07:08
@siddhsuresh siddhsuresh force-pushed the siddharth/upgrade-to-next-15 branch from 9219ec7 to ad493c4 Compare December 3, 2024 08:40
@siddhsuresh siddhsuresh added 0 - <(^_^)> - merge it! ✌️ Kodiak automerge and removed 0 - <(^_^)> - merge it! ✌️ Kodiak automerge labels Dec 23, 2024
@kodiakhq kodiakhq bot merged commit 3fa3a4e into main Dec 23, 2024
29 checks passed
@kodiakhq kodiakhq bot deleted the siddharth/upgrade-to-next-15 branch December 23, 2024 18:02
@seekshiva
Copy link

What will be the ETA for this version to be pushed to npm?

@siddhsuresh
Copy link
Member Author

@seekshiva pushed to npm now. Version 2.2.0

@MonsterDKing
Copy link

i test create new proyect and mount in vercel and give me this error ..

Error: Usage of getBlitzContext is supported only in next.js 13.0.0 and above. Please upgrade your next.js version. at /var/task/.next/server/chunks/646.js:44:28080 at Generator.next () at /var/task/.next/server/chunks/646.js:44:25680 at new Promise () at eO (/var/task/.next/server/chunks/646.js:44:25500) at eD (/var/task/.next/server/chunks/646.js:44:27803) at /var/task/.next/server/chunks/646.js:44:77420 at Generator.next () at /var/task/.next/server/chunks/646.js:44:77305 at new Promise () { digest: '3648858347' }

this is the package.json

{ "name": "testing", "version": "1.0.0", "private": true, "scripts": { "dev": "blitz dev", "build": "blitz build", "start": "blitz start", "studio": "blitz prisma studio", "lint": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx .", "test": "vitest run --passWithNoTests", "test:watch": "vitest", "prepare": "husky install" }, "prisma": { "schema": "db/schema.prisma" }, "prettier": { "semi": false, "printWidth": 100 }, "lint-staged": { "*.{js,ts,tsx}": [ "eslint --fix" ] }, "dependencies": { "@blitzjs/auth": "2.2.0", "@blitzjs/next": "2.2.0", "@blitzjs/rpc": "2.2.0", "@prisma/client": "5.4.2", "blitz": "2.2.0", "formik": "2.4.6", "next": "14.2.15", "prisma": "5.4.2", "react": "18.2.0", "react-dom": "18.2.0", "secure-password": "4.0.0", "zod": "3.23.8" }, "devDependencies": { "@next/env": "13.4.19", "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "13.4.0", "@testing-library/react-hooks": "8.0.1", "@types/node": "18.11.9", "@types/preview-email": "2.0.1", "@types/react": "18.0.25", "@typescript-eslint/eslint-plugin": "5.42.1", "@vitejs/plugin-react": "2.2.0", "ajv": "^7.0.0", "eslint": "8.27.0", "eslint-config-next": "12.3.1", "eslint-config-prettier": "8.5.0", "husky": "8.0.2", "jsdom": "20.0.3", "lint-staged": "13.0.3", "prettier": "^2.7.1", "prettier-plugin-prisma": "4.4.0", "pretty-quick": "3.1.3", "preview-email": "3.0.7", "typescript": "^4.8.4", "vite-tsconfig-paths": "3.6.0", "vitest": "0.25.3" } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Next 15 error when using getBlitzContext Blitz 2.1.2 doesn't work with Next 15 --turbo
7 participants