Skip to content

Commit

Permalink
Merge branch 'canary' into mischnic/pack-2589-mdx-error
Browse files Browse the repository at this point in the history
  • Loading branch information
mischnic authored Sep 24, 2024
2 parents 6bfcd35 + f57cada commit 2127b3d
Show file tree
Hide file tree
Showing 1,169 changed files with 48,218 additions and 32,990 deletions.
26 changes: 14 additions & 12 deletions .github/ISSUE_TEMPLATE/1.bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ body:
attributes:
label: Link to the code that reproduces this issue
description: |
A link to a **public** [GitHub repository](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template) or a [CodeSandbox](https://codesandbox.io/p/sandbox/github/vercel/next.js/tree/canary/examples/reproduction-template) minimal reproduction. Minimal reproductions should be created from our [bug report template with `npx create-next-app -e reproduction-template`](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template) and should include only changes that contribute to the issue. To report a Pages Router related issue, you can use these templates: [`npx create-next-app -e reproduction-template-pages`](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template-pages) or [CodeSandbox](https://codesandbox.io/p/sandbox/github/vercel/next.js/tree/canary/examples/reproduction-template-pages)
A link to a **public** [GitHub repository](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template) or a [CodeSandbox](https://codesandbox.io/p/sandbox/github/vercel/next.js/tree/canary/examples/reproduction-template) minimal reproduction. Minimal reproductions should be created from our [bug report template with `npx create-next-app -e reproduction-template`](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template) and should include only changes that contribute to the issue. To report a Pages Router related issue, you can use these templates: [`npx create-next-app -e reproduction-template-pages`](https://github.com/vercel/next.js/tree/canary/examples/reproduction-template-pages) or [CodeSandbox](https://codesandbox.io/p/sandbox/github/vercel/next.js/tree/canary/examples/reproduction-template-pages).
If you decide to create your own minimal reproduction, please make sure test on canary. It is highly likely that the issue you are experiencing is already fixed in the canary version.
**Skipping this/providing an invalid link will result in the issue being closed.**
placeholder: 'https://github.com/user/my-minimal-nextjs-issue-reproduction'
Expand Down Expand Up @@ -55,18 +57,18 @@ body:
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 22.5.0
Version: Darwin Kernel Version 23.6.0
Binaries:
Node: 18.17.1
npm: 9.5.1
Yarn: 1.22.19
pnpm: N/A
Node: 20.17.0
npm: 10.8.2
Yarn: 1.22.22
pnpm: 9.10.0
Relevant Packages:
next: 13.4.20
eslint-config-next: 13.4.20
react: 18.2.0
react-dom: 18.2.0
typescript: 5.2.2
next: 15.0.0-canary.148
eslint-config-next: 15.0.0-canary.148
react: 19.0.0-rc-3dfd5d9e-20240910
react-dom: 19.0.0-rc-3dfd5d9e-20240910
typescript: 5.6.2
Next.js Config:
output: N/A
validations:
Expand Down Expand Up @@ -129,7 +131,7 @@ body:
description: |
Any extra information that might help us investigate. For example, where are you deploying your application (Vercel, Docker, other platform)? Is it only reproducible on that platform, or locally too? Is the issue only happening in a specific browser? etc.
placeholder: |
I tested my reproduction against different canary releases, and the first one that introduced the bug was "13.4.20-canary.13", since reverting to "13.4.20-canary.12" works.
I tested my reproduction against different canary releases, and the first one that introduced the bug was "15.0.0-canary.148", since reverting to "15.0.0-canary.147" works.
or
Expand Down

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions .github/actions/next-repo-actions/dist/issues/index.mjs

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions .github/actions/next-repo-actions/dist/issues/licenses.txt
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,30 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


debug
MIT
(The MIT License)

Copyright (c) 2014-2017 TJ Holowaychuk <[email protected]>
Copyright (c) 2018-2021 Josh Junon

Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the 'Software'), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.



delayed-stream
MIT
Copyright (c) 2011 Debuggable Limited <[email protected]>
Expand Down Expand Up @@ -800,6 +824,31 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


ms
MIT
The MIT License (MIT)

Copyright (c) 2016 Zeit, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


nextjs-project
The MIT License (MIT)

Expand Down
52 changes: 28 additions & 24 deletions .github/actions/next-repo-actions/src/issues-by-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,37 +17,41 @@ async function main() {
try {
const { data: issues } = await octokit.rest.search.issuesAndPullRequests({
order: 'desc',
per_page: 50,
per_page: 25,
q: `repo:${owner}/${repo} is:issue is:open`,
})

const filteredIssues = issues.items.filter(
(issue) => issue.body && issue.body.includes(`${version}`)
)

const blocks = BlockCollection([
Section({
text: `*A list of the most recently created, open issues that are on v${version}.*\n_Note: This :github2: <https://github.com/vercel/next.js/blob/canary/.github/workflows/issue_version.yml|workflow> queries the 50 most recent issues, then filters them to only include issues that mention v${version}._`,
}),
Divider(),
Section({
text: filteredIssues
.map(
(issue, i) =>
`${i + 1}. <${issue.html_url}|#${issue.number}>: ${issue.title}`
)
.join('\n'),
}),
])

await slackClient.chat.postMessage({
blocks,
channel: '#next-info',
icon_emoji: ':github:',
username: 'GitHub Notifier',
})

info(`Posted to Slack!`)
if (filteredIssues.length > 0) {
const blocks = BlockCollection([
Section({
text: `*A list of the most recently created, open issues that are on v${version}.*\n_Note: This :github2: <https://github.com/vercel/next.js/blob/canary/.github/workflows/issue_version.yml|workflow> queries the 50 most recent issues, then filters them to only include issues that mention v${version}._`,
}),
Divider(),
Section({
text: filteredIssues
.map(
(issue, i) =>
`${i + 1}. <${issue.html_url}|#${issue.number}>: ${issue.title}`
)
.join('\n'),
}),
])

await slackClient.chat.postMessage({
blocks,
channel: '#next-info',
icon_emoji: ':github:',
username: 'GitHub Notifier',
})

info(`Posted to Slack!`)
} else {
info(`No issues found for ${version}.`)
}
} catch (error) {
setFailed(error)
}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/next-repo-actions/src/popular-issues.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async function run() {

await slackClient.chat.postMessage({
blocks: generateBlocks(data.items),
channel: '#next-info',
channel: '#coord-next-triage',
icon_emoji: ':github:',
username: 'GitHub Notifier',
})
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

env:
NAPI_CLI_VERSION: 2.16.2
TURBO_VERSION: 2.0.9
TURBO_VERSION: 2.1.2
NODE_LTS_VERSION: 20
CARGO_PROFILE_RELEASE_LTO: 'true'
TURBO_TEAM: 'vercel'
Expand Down Expand Up @@ -106,16 +106,20 @@ jobs:
fail-fast: false
matrix:
exclude:
# only build the binaries we usually test with
# darwin arm64, windows x64, linux GNU x64
# only build the binaries we run automated tests against
# linux GNU x64
- settings:
target: ${{ needs.deploy-target.outputs.value == 'automated-preview' && 'i686-pc-windows-msvc' }}
- settings:
target: ${{ needs.deploy-target.outputs.value == 'automated-preview' && 'aarch64-apple-darwin' }}
- settings:
target: ${{ needs.deploy-target.outputs.value == 'automated-preview' && 'aarch64-pc-windows-msvc' }}
- settings:
target: ${{ needs.deploy-target.outputs.value == 'automated-preview' && 'aarch64-unknown-linux-gnu' }}
- settings:
target: ${{ needs.deploy-target.outputs.value == 'automated-preview' && 'aarch64-unknown-linux-musl' }}
- settings:
target: ${{ needs.deploy-target.outputs.value == 'automated-preview' && 'x86_64-pc-windows-msvc' }}
- settings:
target: ${{ needs.deploy-target.outputs.value == 'automated-preview' && 'x86_64-unknown-linux-musl' }}
- settings:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
NAPI_CLI_VERSION: 2.14.7
TURBO_VERSION: 2.0.9
TURBO_VERSION: 2.1.2
NODE_MAINTENANCE_VERSION: 18
NODE_LTS_VERSION: 20
TEST_CONCURRENCY: 8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ on:

env:
NAPI_CLI_VERSION: 2.14.7
TURBO_VERSION: 2.0.3
TURBO_VERSION: 2.1.2
NODE_LTS_VERSION: 20.9.0
TEST_CONCURRENCY: 8
# disable backtrace for test snapshots
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code_freeze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ name: Code Freeze

env:
NAPI_CLI_VERSION: 2.14.7
TURBO_VERSION: 2.0.9
TURBO_VERSION: 2.1.2
NODE_LTS_VERSION: 20

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request_stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Generate Pull Request Stats

env:
NAPI_CLI_VERSION: 2.14.7
TURBO_VERSION: 2.0.9
TURBO_VERSION: 2.1.2
NODE_LTS_VERSION: 20
TEST_CONCURRENCY: 6

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ name: Trigger Release

env:
NAPI_CLI_VERSION: 2.14.7
TURBO_VERSION: 2.0.9
TURBO_VERSION: 2.1.2
NODE_LTS_VERSION: 20

jobs:
Expand Down
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@
"RUST_BACKTRACE": "0"
},
"cSpell.words": [
"Destructuring",
"Entrypoints",
"jscodeshift",
"napi",
"nextjs",
"opentelemetry",
Expand Down
Loading

0 comments on commit 2127b3d

Please sign in to comment.