Skip to content

Commit 7f0e429

Browse files
authored
Merge branch 'canary' into issue/runtime-type
2 parents 42adbf5 + da31ac7 commit 7f0e429

File tree

120 files changed

+2189
-1782
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+2189
-1782
lines changed

Cargo.lock

+22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ quote = "1.0.23"
388388
rand = "0.9.0"
389389
rayon = "1.10.0"
390390
regex = "1.10.6"
391+
regress = "0.10.3"
391392
reqwest = { version = "=0.11.17", default-features = false }
392393
rstest = "0.16.0"
393394
rustc-hash = "2.1.0"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: How to deploy your Next.js application
3+
nav_title: Deploying
4+
description: Learn how to deploy your Next.js application.
5+
---
6+
7+
Once you're ready to deploy your Next.js app, you can choose a [managed infrastructure provider](#managed-infrastructure-providers) or [self-host](#self-hosting) your application.
8+
9+
## Managed infrastructure providers
10+
11+
A managed platform is a practical option for deploying your Next.js app, as these providers take care of hosting, scaling, and server configuration for you.
12+
13+
[Vercel](https://vercel.com/docs/frameworks/nextjs?utm_source=next-site&utm_medium=docs&utm_campaign=next-website), the creators and maintainers of Next.js, allows you to deploy your application with **full-feature support** and **zero-configuration**.
14+
15+
- Learn more about [Next.js on Vercel](https://vercel.com/docs/frameworks/nextjs?utm_source=next-site&utm_medium=docs&utm_campaign=next-website).
16+
- Try Next.js on Vercel by [deploying a template](https://vercel.com/templates/next.js?utm_source=next-site&utm_medium=docs&utm_campaign=next-website).
17+
18+
We also have community maintained deployment templates for:
19+
20+
- [Deno](https://github.com/nextjs/deploy-deno)
21+
- [Flightcontrol](https://github.com/nextjs/deploy-flightcontrol)
22+
- [Railway](https://github.com/nextjs/deploy-railway)
23+
- [Render](https://github.com/nextjs/deploy-render)
24+
- [SST](https://github.com/nextjs/deploy-sst)
25+
26+
Please refer to each provider's documentation for information on supported Next.js features.
27+
28+
## Self-Hosting
29+
30+
Self-hosting may mean you're responsible for provisioning your own servers, managing containers, and scaling. You can self-host Next.js in three different ways:
31+
32+
- [A Node.js server](/docs/app/building-your-application/deploying#nodejs-server)
33+
- [A Docker container](/docs/app/building-your-application/deploying#docker-image)
34+
- [A static export](/docs/app/building-your-application/deploying#static-html-export)
35+
36+
We have community maintained deployment examples with the following self-hosting providers:
37+
38+
- [DigitalOcean](https://github.com/nextjs/deploy-digitalocean)
39+
- [Fly.io](https://github.com/nextjs/deploy-fly)
40+
- [GitHub Pages](https://github.com/nextjs/deploy-github-pages)
41+
- [Google Cloud Run](https://github.com/nextjs/deploy-google-cloud-run)
42+
43+
> **🎥 Watch:** Learn more about self-hosting Next.js → [YouTube (45 minutes)](https://www.youtube.com/watch?v=sIVL4JMqRfc).
+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: Multi-Zones
2+
title: How to build micro-frontends using multi-zones and Next.js
3+
nav_title: Multi-Zones
34
description: Learn how to build micro-frontends using Next.js Multi-Zones to deploy multiple Next.js apps under a single domain.
45
---
56

Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
title: Production Checklist
2+
title: How to optimize your Next.js application for production
3+
nav_title: Production
34
description: Recommendations to ensure the best performance and user experience before taking your Next.js application to production.
45
---
56

docs/01-app/03-building-your-application/06-optimizing/06-package-bundling.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to optimize your application's server and client bundles.
55
related:
66
description: Learn more about optimizing your application for production.
77
links:
8-
- app/building-your-application/deploying/production-checklist
8+
- app/guides/production-checklist
99
---
1010

1111
Bundling external packages can significantly improve the performance of your application. <AppOnly>By default, packages imported inside Server Components and Route Handlers are automatically bundled by Next.js. This page will guide you through how to analyze and further optimize package bundling.</AppOnly> <PagesOnly>By default, packages imported into your application are not bundled. This can impact performance or might not work if external packages are not pre-bundled, for example, if imported from a monorepo or `node_modules`. This page will guide you through how to analyze and configure package bundling.</PagesOnly>
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
title: Multi-Zones
2+
title: How to build micro-frontends using multi-zones and Next.js
3+
nav_title: Multi-Zones
34
description: Learn how to build micro-frontends using Next.js Multi-Zones to deploy multiple Next.js apps under a single domain.
4-
source: app/building-your-application/deploying/multi-zones
5+
source: app/guides/multi-zones
56
---
67

78
{/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
2-
title: Production Checklist
2+
title: How to optimize your Next.js application for production
3+
nav_title: Production
34
description: Recommendations to ensure the best performance and user experience before taking your Next.js application to production.
4-
source: app/building-your-application/deploying/production-checklist
5+
source: app/guides/production-checklist
56
---
67

78
{/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}

docs/02-pages/03-building-your-application/05-optimizing/06-package-bundling.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ source: app/building-your-application/optimizing/package-bundling
66
related:
77
description: Learn more about optimizing your application for production.
88
links:
9-
- pages/building-your-application/deploying/production-checklist
9+
- pages/guides/production-checklist
1010
---
1111

1212
{/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
"registry": "https://registry.npmjs.org/"
1717
}
1818
},
19-
"version": "15.3.1-canary.9"
19+
"version": "15.3.1-canary.11"
2020
}

package.json

+15-15
Original file line numberDiff line numberDiff line change
@@ -229,16 +229,16 @@
229229
"pretty-ms": "7.0.0",
230230
"random-seed": "0.3.0",
231231
"react": "19.0.0",
232-
"react-builtin": "npm:react@19.2.0-canary-1d6c8168-20250411",
232+
"react-builtin": "npm:react@19.2.0-canary-b04254fd-20250415",
233233
"react-dom": "19.0.0",
234-
"react-dom-builtin": "npm:react-dom@19.2.0-canary-1d6c8168-20250411",
235-
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-1d6c8168-20250411",
236-
"react-experimental-builtin": "npm:react@0.0.0-experimental-1d6c8168-20250411",
237-
"react-is-builtin": "npm:react-is@19.2.0-canary-1d6c8168-20250411",
238-
"react-server-dom-turbopack": "19.2.0-canary-1d6c8168-20250411",
239-
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-1d6c8168-20250411",
240-
"react-server-dom-webpack": "19.2.0-canary-1d6c8168-20250411",
241-
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-1d6c8168-20250411",
234+
"react-dom-builtin": "npm:react-dom@19.2.0-canary-b04254fd-20250415",
235+
"react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-b04254fd-20250415",
236+
"react-experimental-builtin": "npm:react@0.0.0-experimental-b04254fd-20250415",
237+
"react-is-builtin": "npm:react-is@19.2.0-canary-b04254fd-20250415",
238+
"react-server-dom-turbopack": "19.2.0-canary-b04254fd-20250415",
239+
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-b04254fd-20250415",
240+
"react-server-dom-webpack": "19.2.0-canary-b04254fd-20250415",
241+
"react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-b04254fd-20250415",
242242
"react-ssr-prepass": "1.0.8",
243243
"react-virtualized": "9.22.3",
244244
"relay-compiler": "13.0.2",
@@ -248,8 +248,8 @@
248248
"resolve-from": "5.0.0",
249249
"sass": "1.54.0",
250250
"satori": "0.12.2",
251-
"scheduler-builtin": "npm:scheduler@0.27.0-canary-1d6c8168-20250411",
252-
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-1d6c8168-20250411",
251+
"scheduler-builtin": "npm:scheduler@0.27.0-canary-b04254fd-20250415",
252+
"scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-b04254fd-20250415",
253253
"seedrandom": "3.0.5",
254254
"semver": "7.3.7",
255255
"shell-quote": "1.7.3",
@@ -291,10 +291,10 @@
291291
"@types/react": "^19.1.1",
292292
"@types/react-dom": "19.1.2",
293293
"jest-snapshot": "30.0.0-alpha.6",
294-
"react": "19.2.0-canary-1d6c8168-20250411",
295-
"react-dom": "19.2.0-canary-1d6c8168-20250411",
296-
"react-is": "19.2.0-canary-1d6c8168-20250411",
297-
"scheduler": "0.27.0-canary-1d6c8168-20250411"
294+
"react": "19.2.0-canary-b04254fd-20250415",
295+
"react-dom": "19.2.0-canary-b04254fd-20250415",
296+
"react-is": "19.2.0-canary-b04254fd-20250415",
297+
"scheduler": "0.27.0-canary-b04254fd-20250415"
298298
},
299299
"patchedDependencies": {
300300
"webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch",

packages/create-next-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-next-app",
3-
"version": "15.3.1-canary.9",
3+
"version": "15.3.1-canary.11",
44
"keywords": [
55
"react",
66
"next",

packages/eslint-config-next/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-next",
3-
"version": "15.3.1-canary.9",
3+
"version": "15.3.1-canary.11",
44
"description": "ESLint configuration used by Next.js.",
55
"main": "index.js",
66
"license": "MIT",
@@ -10,7 +10,7 @@
1010
},
1111
"homepage": "https://nextjs.org/docs/app/api-reference/config/eslint",
1212
"dependencies": {
13-
"@next/eslint-plugin-next": "15.3.1-canary.9",
13+
"@next/eslint-plugin-next": "15.3.1-canary.11",
1414
"@rushstack/eslint-patch": "^1.10.3",
1515
"@typescript-eslint/eslint-plugin": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0",
1616
"@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0",

packages/eslint-plugin-next/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/eslint-plugin-next",
3-
"version": "15.3.1-canary.9",
3+
"version": "15.3.1-canary.11",
44
"description": "ESLint plugin for Next.js.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

packages/font/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@next/font",
33
"private": true,
4-
"version": "15.3.1-canary.9",
4+
"version": "15.3.1-canary.11",
55
"repository": {
66
"url": "vercel/next.js",
77
"directory": "packages/font"

packages/next-bundle-analyzer/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/bundle-analyzer",
3-
"version": "15.3.1-canary.9",
3+
"version": "15.3.1-canary.11",
44
"main": "index.js",
55
"types": "index.d.ts",
66
"license": "MIT",

packages/next-codemod/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/codemod",
3-
"version": "15.3.1-canary.9",
3+
"version": "15.3.1-canary.11",
44
"license": "MIT",
55
"repository": {
66
"type": "git",

packages/next-env/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/env",
3-
"version": "15.3.1-canary.9",
3+
"version": "15.3.1-canary.11",
44
"keywords": [
55
"react",
66
"next",

packages/next-mdx/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/mdx",
3-
"version": "15.3.1-canary.9",
3+
"version": "15.3.1-canary.11",
44
"main": "index.js",
55
"license": "MIT",
66
"repository": {

packages/next-plugin-storybook/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/plugin-storybook",
3-
"version": "15.3.1-canary.9",
3+
"version": "15.3.1-canary.11",
44
"repository": {
55
"url": "vercel/next.js",
66
"directory": "packages/next-plugin-storybook"

packages/next-polyfill-module/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/polyfill-module",
3-
"version": "15.3.1-canary.9",
3+
"version": "15.3.1-canary.11",
44
"description": "A standard library polyfill for ES Modules supporting browsers (Edge 16+, Firefox 60+, Chrome 61+, Safari 10.1+)",
55
"main": "dist/polyfill-module.js",
66
"license": "MIT",

packages/next-polyfill-nomodule/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/polyfill-nomodule",
3-
"version": "15.3.1-canary.9",
3+
"version": "15.3.1-canary.11",
44
"description": "A polyfill for non-dead, nomodule browsers.",
55
"main": "dist/polyfill-nomodule.js",
66
"license": "MIT",

packages/next-rspack/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "next-rspack",
3-
"version": "15.3.1-canary.9",
3+
"version": "15.3.1-canary.11",
44
"repository": {
55
"url": "vercel/next.js",
66
"directory": "packages/next-rspack"

packages/next-swc/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/swc",
3-
"version": "15.3.1-canary.9",
3+
"version": "15.3.1-canary.11",
44
"private": true,
55
"files": [
66
"native/"

packages/next/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "next",
3-
"version": "15.3.1-canary.9",
3+
"version": "15.3.1-canary.11",
44
"description": "The React Framework",
55
"main": "./dist/server/next.js",
66
"license": "MIT",
@@ -100,7 +100,7 @@
100100
]
101101
},
102102
"dependencies": {
103-
"@next/env": "15.3.1-canary.9",
103+
"@next/env": "15.3.1-canary.11",
104104
"@swc/counter": "0.1.3",
105105
"@swc/helpers": "0.5.15",
106106
"busboy": "1.6.0",
@@ -164,11 +164,11 @@
164164
"@jest/types": "29.5.0",
165165
"@mswjs/interceptors": "0.23.0",
166166
"@napi-rs/triples": "1.2.0",
167-
"@next/font": "15.3.1-canary.9",
168-
"@next/polyfill-module": "15.3.1-canary.9",
169-
"@next/polyfill-nomodule": "15.3.1-canary.9",
170-
"@next/react-refresh-utils": "15.3.1-canary.9",
171-
"@next/swc": "15.3.1-canary.9",
167+
"@next/font": "15.3.1-canary.11",
168+
"@next/polyfill-module": "15.3.1-canary.11",
169+
"@next/polyfill-nomodule": "15.3.1-canary.11",
170+
"@next/react-refresh-utils": "15.3.1-canary.11",
171+
"@next/swc": "15.3.1-canary.11",
172172
"@opentelemetry/api": "1.6.0",
173173
"@playwright/test": "1.41.2",
174174
"@storybook/addon-a11y": "8.6.0",

packages/next/src/build/webpack-config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1944,7 +1944,7 @@ export default async function getBaseWebpackConfig(
19441944
dev,
19451945
}),
19461946
// rspack doesn't support the parser hooks used here
1947-
!isRspack && (isClient || isEdgeServer) && new DropClientPage(),
1947+
(isClient || isEdgeServer) && new DropClientPage(),
19481948
isNodeServer &&
19491949
!dev &&
19501950
new (require('./webpack/plugins/next-trace-entrypoints-plugin')

0 commit comments

Comments
 (0)