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

Upgrade Nextjs 15 #7588

Merged
merged 42 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
20593e3
Upgrade e2e test project to Nextjs 15
chalosalvador Aug 23, 2024
0d95cce
Update next.config experimental.serverActions ot be an object
chalosalvador Aug 23, 2024
5bd09ee
Remove deprecated option swcMinify from next.config
chalosalvador Aug 23, 2024
f7ac2a4
Add 'force-static' to nextjs static GET route handler to generate a v…
chalosalvador Aug 23, 2024
156ccf4
Add _not-found route to expected effective firebase.json and remove h…
chalosalvador Aug 23, 2024
160b314
Add hasStaticAppNotFoundComponent verification back
chalosalvador Aug 27, 2024
0ebcd4f
Add hasStaticAppNotFoundComponent verification back
chalosalvador Aug 27, 2024
0a303e8
Skipping partial html files generated due to enabling ppr in Nextjs
chalosalvador Sep 4, 2024
703b6a9
Detect partial html files in build and add them to reasonsForBackend.
chalosalvador Sep 12, 2024
c4eedfe
Add tests cases for new utils functions
chalosalvador Sep 12, 2024
983cd5d
Merge branch 'master' of github.com:firebase/firebase-tools into chal…
chalosalvador Sep 12, 2024
c78c861
Merge branch 'master' into chalosalvador/fix-next-ppr-dynamic-pages
chalosalvador Sep 12, 2024
467392a
Merge branch 'master' into chalosalvador/fix-next-ppr-dynamic-pages
chalosalvador Oct 3, 2024
ec84e82
Merge branch 'chalosalvador/fix-next-ppr-dynamic-pages' of github.com…
chalosalvador Oct 4, 2024
5aab663
Check if file .html exists before trying to read it.
chalosalvador Oct 4, 2024
c86c96a
Remove warning if file does not exist
chalosalvador Oct 4, 2024
0f0ea1a
Merge branch 'master' into chalosalvador/fix-next-ppr-dynamic-pages
chalosalvador Oct 4, 2024
74ec984
Changelog
chalosalvador Oct 4, 2024
f04ed22
Promise.all test isPartialHTML
chalosalvador Oct 9, 2024
d81127e
Merge branch 'master' of github.com:firebase/firebase-tools into chal…
chalosalvador Oct 9, 2024
005d6d3
Merge branch 'master' into chalosalvador/fix-next-ppr-dynamic-pages
chalosalvador Oct 17, 2024
47c3def
Refactor to use .meta files for PPR
chalosalvador Oct 17, 2024
9dd127a
Changelog
chalosalvador Oct 17, 2024
9ad29da
Merge branch 'master' of github.com:firebase/firebase-tools into chal…
chalosalvador Oct 21, 2024
5d39766
Upgrade NextJS deploy test to 15.0.0-canary.202 and add new headers f…
chalosalvador Oct 21, 2024
2e77e20
Merge branch 'master' into chalosalvador/upgrade-nextjs-15
chalosalvador Oct 22, 2024
c083ea1
Bump nextjs to 15.0.0
chalosalvador Oct 22, 2024
7e4325f
Fix identation on package.json for tests
chalosalvador Oct 22, 2024
b9a0825
Merge branch 'master' into chalosalvador/upgrade-nextjs-15
chalosalvador Oct 22, 2024
2d1eb4a
Merge branch 'master' into chalosalvador/fix-next-ppr-dynamic-pages
chalosalvador Oct 22, 2024
cb92793
Merge branch 'chalosalvador/fix-next-ppr-dynamic-pages' into chalosal…
chalosalvador Oct 22, 2024
7c5262e
Update supportedRange constant and skip sharp as dep when next gte 15…
chalosalvador Oct 24, 2024
d92f733
Changelog
chalosalvador Oct 24, 2024
b40a6af
Merge branch 'master' of github.com:firebase/firebase-tools into chal…
chalosalvador Oct 25, 2024
ba9dc35
Fix case for PPR message
chalosalvador Oct 25, 2024
023d4b8
Revert skip sharp on next 15
chalosalvador Oct 25, 2024
619f95b
Update changelog
chalosalvador Oct 25, 2024
28cf6fd
Update image optimization comment.
chalosalvador Oct 25, 2024
6194675
Merge branch 'master' of github.com:firebase/firebase-tools into chal…
chalosalvador Oct 25, 2024
d390ad4
Merge branch 'master' into chalosalvador/upgrade-nextjs-15
chalosalvador Oct 28, 2024
6a6d697
Merge branch 'master' into chalosalvador/upgrade-nextjs-15
chalosalvador Oct 29, 2024
0270243
Merge branch 'master' into chalosalvador/upgrade-nextjs-15
chalosalvador Oct 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- Add support for deploying new blocking triggers. (#6384)
- Added support for Next.js 15.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export const dynamic = 'force-static'
chalosalvador marked this conversation as resolved.
Show resolved Hide resolved

export async function GET() {
return new Response(JSON.stringify([1, 2, 3]), {
status: 200,
Expand Down
3 changes: 1 addition & 2 deletions scripts/webframeworks-deploy-tests/nextjs/next.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
experimental: {
serverActions: true,
serverActions: {},
chalosalvador marked this conversation as resolved.
Show resolved Hide resolved
},
basePath: "/base",
i18n: {
Expand Down
Loading
Loading