Skip to content

Commit c8afb6e

Browse files
authored
Merge branch 'canary' into zt/upgrade-react
2 parents 593c3d1 + 7425d51 commit c8afb6e

File tree

87 files changed

+7273
-700
lines changed

Some content is hidden

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

87 files changed

+7273
-700
lines changed

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ jobs:
424424
'test-dev',
425425
'test-prod',
426426
'test-integration',
427+
'test-firefox-safari',
427428
'test-ppr-dev',
428429
'test-ppr-prod',
429430
'test-ppr-integration',

.github/workflows/turbopack-nextjs-build-integration-tests.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
name: Setup Next.js build
4141
uses: ./.github/workflows/setup-nextjs-build.yml
4242
with:
43-
version: ${{ inputs.version }}
43+
version: ${{ inputs.version || 'canary' }}
4444

4545
# Actual test scheduling. These jobs mimic the same jobs in Next.js repo,
4646
# which we do allow some of duplications to make it easier to update if upstream changes.
@@ -70,7 +70,7 @@ jobs:
7070
id: restore-build
7171
with:
7272
path: ./*
73-
key: ${{ inputs.version }}-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt}}-${{ github.run_number }}
73+
key: ${{ inputs.version || 'canary' }}-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt}}-${{ github.run_number }}
7474
fail-on-cache-miss: true
7575

7676
- name: Enable corepack and install yarn
@@ -96,9 +96,8 @@ jobs:
9696
path: |
9797
test/turbopack-test-junit-report
9898
99-
# TODO: Implement specifically running production tests only for Turbopack. Enabling this now enables running `test/integration` with development mode too.
10099
test-integration-production:
101-
name: Next.js production integration test (Integration)
100+
name: Next.js integration test (Integration)
102101
needs: [setup_nextjs]
103102
runs-on:
104103
- 'self-hosted'
@@ -117,7 +116,7 @@ jobs:
117116
id: restore-build
118117
with:
119118
path: ./*
120-
key: ${{ inputs.version }}-${{ github.sha }}
119+
key: ${{ inputs.version || 'canary' }}-${{ github.sha }}
121120
fail-on-cache-miss: true
122121

123122
- name: Enable corepack and install yarn
@@ -145,8 +144,7 @@ jobs:
145144
# Collect integration test results from execute_tests,
146145
# Store it as github artifact for next step to consume.
147146
collect_nextjs_production_integration_stat:
148-
# needs: [test-production, test-integration-production]
149-
needs: [test-production]
147+
needs: [test-production, test-integration-production]
150148
name: Next.js integration test production status report
151149
runs-on:
152150
- 'self-hosted'
@@ -164,7 +162,7 @@ jobs:
164162
- name: Collect integration test stat
165163
uses: ./.github/actions/next-integration-stat
166164
with:
167-
diff_base: ${{ inputs.diff_base }}
165+
diff_base: ${{ inputs.diff_base || 'none' }}
168166

169167
- name: Store artifacts
170168
uses: actions/upload-artifact@v4
@@ -176,8 +174,7 @@ jobs:
176174
passed-test-path-list.json
177175
178176
upload_test_report:
179-
# needs: [test-production, test-integration-production]
180-
needs: [test-production]
177+
needs: [test-production, test-integration-production]
181178
name: Upload test report to datadog
182179
runs-on:
183180
- 'self-hosted'

.github/workflows/turbopack-nextjs-dev-integration-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
name: Setup Next.js build
4141
uses: ./.github/workflows/setup-nextjs-build.yml
4242
with:
43-
version: ${{ inputs.version }}
43+
version: ${{ inputs.version || 'canary' }}
4444

4545
# Actual test scheduling. These jobs mimic the same jobs in Next.js repo,
4646
# which we do allow some of duplications to make it easier to update if upstream changes.
@@ -70,7 +70,7 @@ jobs:
7070
id: restore-build
7171
with:
7272
path: ./*
73-
key: ${{ inputs.version }}-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt}}-${{ github.run_number }}
73+
key: ${{ inputs.version || 'canary' }}-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt}}-${{ github.run_number }}
7474
fail-on-cache-miss: true
7575

7676
- name: Enable corepack and install yarn
@@ -116,7 +116,7 @@ jobs:
116116
id: restore-build
117117
with:
118118
path: ./*
119-
key: ${{ inputs.version }}-${{ github.sha }}
119+
key: ${{ inputs.version || 'canary' }}-${{ github.sha }}
120120
fail-on-cache-miss: true
121121

122122
- name: Enable corepack and install yarn
@@ -162,7 +162,7 @@ jobs:
162162
- name: Collect integration test stat
163163
uses: ./.github/actions/next-integration-stat
164164
with:
165-
diff_base: ${{ inputs.diff_base }}
165+
diff_base: ${{ inputs.diff_base || 'none' }}
166166

167167
- name: Store artifacts
168168
uses: actions/upload-artifact@v4

docs/02-app/01-building-your-application/01-routing/10-parallel-routes.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default function Layout({ children, team, analytics }) {
6464
}
6565
```
6666

67-
However, slots are **not** [route segments](/docs/app/building-your-application/routing#route-segments) and do not affect the URL structure. For example, for `/dashboard/@analytics/views`, the URL will be `/dashboard/views` since `@analytics` is a slot.
67+
However, slots are **not** [route segments](/docs/app/building-your-application/routing#route-segments) and do not affect the URL structure. For example, for `/@analytics/views`, the URL will be `/views` since `@analytics` is a slot.
6868

6969
> **Good to know**:
7070
>
@@ -95,7 +95,7 @@ Consider the following folder structure. The `@team` slot has a `/settings` page
9595
height="930"
9696
/>
9797

98-
When navigating to `/dashboard/settings`, the `@team` slot will render the `/settings` page while maintaining the currently active page for the `@analytics` slot.
98+
When navigating to `/settings`, the `@team` slot will render the `/settings` page while maintaining the currently active page for the `@analytics` slot.
9999

100100
On refresh, Next.js will render a `default.js` for `@analytics`. If `default.js` doesn't exist, a `404` is rendered instead.
101101

@@ -183,31 +183,31 @@ For example, the `@analytics` slot has two subpages: `/page-views` and `/visitor
183183

184184
Within `@analytics`, create a [`layout`](/docs/app/building-your-application/routing/pages-and-layouts) file to share the tabs between the two pages:
185185

186-
```tsx filename="app/dashboard/@analytics/layout.tsx" switcher
186+
```tsx filename="app/@analytics/layout.tsx" switcher
187187
import Link from 'next/link'
188188

189189
export default function Layout({ children }: { children: React.ReactNode }) {
190190
return (
191191
<>
192192
<nav>
193-
<Link href="/dashboard/page-views">Page Views</Link>
194-
<Link href="/dashboard/visitors">Visitors</Link>
193+
<Link href="/page-views">Page Views</Link>
194+
<Link href="/visitors">Visitors</Link>
195195
</nav>
196196
<div>{children}</div>
197197
</>
198198
)
199199
}
200200
```
201201

202-
```jsx filename="app/dashboard/@analytics/layout.js" switcher
202+
```jsx filename="app/@analytics/layout.js" switcher
203203
import Link from 'next/link'
204204

205205
export default function Layout({ children }: { children: React.ReactNode }) {
206206
return (
207207
<>
208208
<nav>
209-
<Link href="/dashboard/page-views">Page Views</Link>
210-
<Link href="/dashboard/visitors">Visitors</Link>
209+
<Link href="/page-views">Page Views</Link>
210+
<Link href="/visitors">Visitors</Link>
211211
</nav>
212212
<div>{children}</div>
213213
</>

docs/02-app/02-api-reference/02-file-conventions/default.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Consider the following folder structure. The `@team` slot has a `settings` page,
2121
height="930"
2222
/>
2323

24-
When navigating to `/dashboard/settings`, the `@team` slot will render the `settings` page while maintaining the currently active page for the `@analytics` slot.
24+
When navigating to `/settings`, the `@team` slot will render the `settings` page while maintaining the currently active page for the `@analytics` slot.
2525

2626
On refresh, Next.js will render a `default.js` for `@analytics`. If `default.js` doesn't exist, a `404` is rendered instead.
2727

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
"registry": "https://registry.npmjs.org/"
1717
}
1818
},
19-
"version": "14.2.0-canary.42"
19+
"version": "14.2.0-canary.44"
2020
}

packages/create-next-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-next-app",
3-
"version": "14.2.0-canary.42",
3+
"version": "14.2.0-canary.44",
44
"keywords": [
55
"react",
66
"next",

packages/eslint-config-next/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-next",
3-
"version": "14.2.0-canary.42",
3+
"version": "14.2.0-canary.44",
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/building-your-application/configuring/eslint#eslint-config",
1212
"dependencies": {
13-
"@next/eslint-plugin-next": "14.2.0-canary.42",
13+
"@next/eslint-plugin-next": "14.2.0-canary.44",
1414
"@rushstack/eslint-patch": "^1.3.3",
1515
"@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0",
1616
"eslint-import-resolver-node": "^0.3.6",

packages/eslint-plugin-next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/eslint-plugin-next",
3-
"version": "14.2.0-canary.42",
3+
"version": "14.2.0-canary.44",
44
"description": "ESLint plugin for Next.js.",
55
"main": "dist/index.js",
66
"license": "MIT",

packages/font/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/font",
3-
"version": "14.2.0-canary.42",
3+
"version": "14.2.0-canary.44",
44
"repository": {
55
"url": "vercel/next.js",
66
"directory": "packages/font"

packages/font/src/google/font-data.json

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,7 +1877,7 @@
18771877
"defaultValue": 400
18781878
}
18791879
],
1880-
"subsets": ["latin", "latin-ext"]
1880+
"subsets": ["latin", "latin-ext", "math", "symbols"]
18811881
},
18821882
"Bokor": {
18831883
"weights": ["400"],
@@ -2949,7 +2949,7 @@
29492949
"David Libre": {
29502950
"weights": ["400", "500", "700"],
29512951
"styles": ["normal"],
2952-
"subsets": ["hebrew", "latin", "latin-ext", "vietnamese"]
2952+
"subsets": ["hebrew", "latin", "latin-ext", "math", "symbols", "vietnamese"]
29532953
},
29542954
"Dawning of a New Day": {
29552955
"weights": ["400"],
@@ -10866,7 +10866,7 @@
1086610866
"Poppins": {
1086710867
"weights": ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
1086810868
"styles": ["normal", "italic"],
10869-
"subsets": ["devanagari", "latin", "latin-ext"]
10869+
"subsets": ["latin", "latin-ext"]
1087010870
},
1087110871
"Port Lligat Sans": {
1087210872
"weights": ["400"],
@@ -11338,6 +11338,29 @@
1133811338
"styles": ["normal"],
1133911339
"subsets": ["latin", "latin-ext"]
1134011340
},
11341+
"Reddit Mono": {
11342+
"weights": [
11343+
"200",
11344+
"300",
11345+
"400",
11346+
"500",
11347+
"600",
11348+
"700",
11349+
"800",
11350+
"900",
11351+
"variable"
11352+
],
11353+
"styles": ["normal"],
11354+
"axes": [
11355+
{
11356+
"tag": "wght",
11357+
"min": 200,
11358+
"max": 900,
11359+
"defaultValue": 400
11360+
}
11361+
],
11362+
"subsets": ["latin", "latin-ext", "vietnamese"]
11363+
},
1134111364
"Redressed": {
1134211365
"weights": ["400"],
1134311366
"styles": ["normal"],
@@ -13103,6 +13126,11 @@
1310313126
"styles": ["normal"],
1310413127
"subsets": ["latin", "latin-ext"]
1310513128
},
13129+
"Tac One": {
13130+
"weights": ["400"],
13131+
"styles": ["normal"],
13132+
"subsets": ["latin", "latin-ext", "math", "symbols", "vietnamese"]
13133+
},
1310613134
"Tai Heritage Pro": {
1310713135
"weights": ["400", "700"],
1310813136
"styles": ["normal"],
@@ -14033,6 +14061,26 @@
1403314061
"styles": ["normal"],
1403414062
"subsets": ["devanagari", "latin", "latin-ext"]
1403514063
},
14064+
"Yarndings 12": {
14065+
"weights": ["400"],
14066+
"styles": ["normal"],
14067+
"subsets": ["latin", "math", "symbols"]
14068+
},
14069+
"Yarndings 12 Charted": {
14070+
"weights": ["400"],
14071+
"styles": ["normal"],
14072+
"subsets": ["latin", "math", "symbols"]
14073+
},
14074+
"Yarndings 20": {
14075+
"weights": ["400"],
14076+
"styles": ["normal"],
14077+
"subsets": ["latin", "math", "symbols"]
14078+
},
14079+
"Yarndings 20 Charted": {
14080+
"weights": ["400"],
14081+
"styles": ["normal"],
14082+
"subsets": ["latin", "math", "symbols"]
14083+
},
1403614084
"Yatra One": {
1403714085
"weights": ["400"],
1403814086
"styles": ["normal"],

0 commit comments

Comments
 (0)