Skip to content

Commit 83e49c9

Browse files
authored
Merge branch 'canary' into fix/guard-stream-cancel-calls-if-closed
2 parents 56fd620 + 4e877c0 commit 83e49c9

File tree

62 files changed

+1366
-1134
lines changed

Some content is hidden

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

62 files changed

+1366
-1134
lines changed

.cargo/config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ rustdocflags = []
77

88
[target.x86_64-pc-windows-msvc]
99
linker = "rust-lld"
10+
rustflags = ["-C", "target-feature=+crt-static"]
11+
[target.i686-pc-windows-msvc]
12+
rustflags = ["-C", "target-feature=+crt-static"]
1013

1114
[target.aarch64-unknown-linux-gnu]
1215
linker = "aarch64-linux-gnu-gcc"

.github/workflows/build_and_deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
# to ensure it did not change unexpectedly if docker image, or other dependency changed
153153
# - zig linker with portable glibc is avoided as it has known issues with static tls + node.js + multi threaded
154154
# environment.
155-
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2022-10-24-x64
155+
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2023-09-17-x64
156156
build: >-
157157
set -e &&
158158
apt update &&
@@ -173,7 +173,7 @@ jobs:
173173
- 'metal'
174174

175175
target: 'x86_64-unknown-linux-musl'
176-
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2022-10-24-alpine
176+
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2023-09-17-alpine
177177
build: >-
178178
set -e &&
179179
apk update &&
@@ -192,7 +192,7 @@ jobs:
192192
- 'metal'
193193

194194
target: 'aarch64-unknown-linux-gnu'
195-
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2022-10-24-aarch64
195+
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2023-09-17-aarch64
196196
build: >-
197197
set -e &&
198198
apt update &&
@@ -214,7 +214,7 @@ jobs:
214214
- 'metal'
215215

216216
target: 'aarch64-unknown-linux-musl'
217-
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2022-10-24-alpine
217+
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:stable-2023-09-17-alpine
218218
build: >-
219219
set -e &&
220220
apk update &&

.github/workflows/build_and_test.yml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
uses: ./.github/workflows/build_reusable.yml
3434
with:
3535
skipInstallBuild: 'yes'
36+
# Ensure all of the tests listed in turbopack test manifest actually exists;
37+
# i.e after removing an actual test and if it still stays in the manifest
38+
afterBuild: node -e 'require(\"./test/turbopack-tests-manifest.js\").verifyEnabledTestPath()'
3639
secrets: inherit
3740

3841
build-next:
@@ -151,6 +154,21 @@ jobs:
151154
afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-tests-manifest.js" TURBOPACK=1 node run-tests.js --timings -g ${{ matrix.group }}/5 -c ${TEST_CONCURRENCY} --type integration
152155
secrets: inherit
153156

157+
# --type production also runs tests/e2e
158+
test-turbopack-prod:
159+
name: test turbopack prod
160+
needs: ['build-native', 'build-next']
161+
strategy:
162+
fail-fast: false
163+
matrix:
164+
group: [1, 2, 3, 4, 5]
165+
uses: ./.github/workflows/build_reusable.yml
166+
with:
167+
nodeVersion: 16
168+
skipForDocsOnly: 'yes'
169+
afterBuild: RUST_BACKTRACE=0 NEXT_EXTERNAL_TESTS_FILTERS="$(pwd)/test/turbopack-tests-manifest.js" TURBOPACK=1 NEXT_TEST_MODE=start node run-tests.js --timings -g ${{ matrix.group }}/5 -c ${TEST_CONCURRENCY} --type production
170+
secrets: inherit
171+
154172
test-next-swc-wasm:
155173
name: test next-swc wasm
156174
needs: ['build-native', 'build-next']
@@ -227,7 +245,16 @@ jobs:
227245
secrets: inherit
228246

229247
report-test-results:
230-
needs: ['test-unit', 'test-dev', 'test-prod', 'test-integration']
248+
needs:
249+
[
250+
'test-unit',
251+
'test-dev',
252+
'test-prod',
253+
'test-integration',
254+
'test-turbopack-dev',
255+
'test-turbopack-integration',
256+
'test-turbopack-prod',
257+
]
231258
uses: ./.github/workflows/build_reusable.yml
232259
with:
233260
skipForDocsOnly: 'yes'

.github/workflows/issue_validator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Nissuer
21-
uses: balazsorban44/nissuer@1.4.0
21+
uses: balazsorban44/nissuer@1.5.0
2222
with:
2323
label-area-prefix: 'area:'
2424
label-area-section: 'Which area\(s\) are affected\? \(Select all that apply\)(.*)### Additional context'

docs/02-app/01-building-your-application/02-data-fetching/03-forms-and-mutations.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ module.exports = {
4343
> - Forms calling Server Actions from Server Components can function without JavaScript.
4444
> - Forms calling Server Actions from Client Components will queue submissions if JavaScript isn't loaded yet, prioritizing client hydration.
4545
> - Server Actions inherit the [runtime](/docs/app/building-your-application/rendering/edge-and-nodejs-runtimes) from the page or layout they are used on.
46-
> - Currently, if a route uses a Server Action, it is required to [render dynamically](/docs/app/building-your-application/rendering/server-components#server-rendering-strategies).
4746
4847
## Revalidating Cached Data
4948

docs/02-app/02-api-reference/08-next-cli.mdx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -158,19 +158,19 @@ will give you information like this example:
158158

159159
```bash filename="Terminal"
160160

161-
Operating System:
162-
Platform: linux
163-
Arch: x64
164-
Version: #22-Ubuntu SMP Fri Nov 5 13:21:36 UTC 2021
165-
Binaries:
166-
Node: 16.13.0
167-
npm: 8.1.0
168-
Yarn: 1.22.17
169-
pnpm: 6.24.2
170-
Relevant packages:
171-
next: 12.0.8
172-
react: 17.0.2
173-
react-dom: 17.0.2
161+
Operating System:
162+
Platform: linux
163+
Arch: x64
164+
Version: #22-Ubuntu SMP Fri Nov 5 13:21:36 UTC 2021
165+
Binaries:
166+
Node: 16.13.0
167+
npm: 8.1.0
168+
Yarn: 1.22.17
169+
pnpm: 6.24.2
170+
Relevant packages:
171+
next: 12.0.8
172+
react: 17.0.2
173+
react-dom: 17.0.2
174174

175175
```
176176

docs/03-pages/01-building-your-application/06-configuring/13-debugging.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Create a file named `.vscode/launch.json` at the root of your project with the f
3333
"request": "launch",
3434
"command": "npm run dev",
3535
"serverReadyAction": {
36-
"pattern": "started server on .+, url: (https?://.+)",
36+
"pattern": "- Local:.+(https?://.+)",
3737
"uriFormat": "%s",
3838
"action": "debugWithChrome"
3939
}

docs/04-architecture/fast-refresh.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ state to be preserved in more cases.
9191
edit.
9292
- You can put `console.log` or `debugger;` into the components you edit during
9393
development.
94+
- Remember that imports are case sensitive. Both fast and full refresh can fail,
95+
when your import doesn't match the actual filename.
96+
For example, `'./header'` vs `'./Header'`.
9497

9598
## Fast Refresh and Hooks
9699

examples/data-fetch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"start": "next start"
77
},
88
"dependencies": {
9-
"next": "12.2.5",
9+
"next": "12.3.4",
1010
"react": "^18.2.0",
1111
"react-dom": "^18.2.0"
1212
},

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": "13.5.2"
19+
"version": "13.5.3-canary.0"
2020
}

0 commit comments

Comments
 (0)