- 03 May, 2023 3 commits
-
-
vercel-release-bot authored
-
JJ Kasper authored
This updates some handling as discussed and cleans up un-necessary fields from previous PR. ---------
-
Tim Neutkens authored
<!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ### Improving Documentation or adding/fixing Examples - The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md ### Fixing a bug - Related issues linked using `fixes #number` - Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ### Adding a feature - Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. (A discussion must be opened, see https://github.com/vercel/next.js/discussions/new?category=ideas) - Related issues/discussions are linked using `fixes #number` - e2e tests added (https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs - Documentation added - Telemetry added. In case of a feature if it's used or not. - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ## For Maintainers - Minimal description (aim for explaining to someone not on the team to understand the PR) - When linking to a Slack thread, you might want to share details of the conclusion - Link both the Linear (Fixes NEXT-xxx) and the GitHub issues - Add review comments if necessary to explain to the reviewer the logic behind a change ### What? ### Why? ### How? Closes NEXT- Fixes # --> --------- Co-authored-by:
JJ Kasper <jj@jjsweb.site>
-
- 02 May, 2023 23 commits
-
-
Shu Ding authored
Since we're allowing setting `runtime` in layout files, this PR fixes the type guard plugin. Closes #49079.
-
Jiachi Liu authored
* For sitemap if they're not using dynamic routes generation `generateSitemaps`, should optimize them as static sitemap * For icons and social images, if they're not using `generateImageMetadata`, should optimize them as static path Closes NEXT-1071 Fixes #48991
-
Tobias Koppers authored
### What? fix bug and stability of test case Co-authored-by:kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
Tobias Koppers authored
### What? test cases for https://github.com/vercel/turbo/pull/4779
-
Steven authored
After trying out draft mode on canary, I realized that it was easy to select the wrong option from the VS Code intellisense suggestion dropdown. So this PR changes `enabled` to `isEnabled` and also wraps in a class to make the icons for methods look different. ## Before <img width="545" alt="image" src="https://user-images.githubusercontent.com/229881/235705729-2be5a5a0-2299-4152-bee7-b6d5659a8d59.png"> ## After <img width="545" alt="image" src="https://user-images.githubusercontent.com/229881/235733072-338dfb2f-9e27-4d04-b009-a66503efe682.png">
-
Kiko Beats authored
The `WebSocket` constructor exposed by `undici` is not working against some db connections. That can be considered kind of expected since `undici` docs is saying it's experimental. We're working into isolate the issue and report at `undici` repository, but for now, let's just use `ws` for all the node versions.
-
Shu Ding authored
This PR adds a `key` param to the IPC server to validate if a request is from a child process or not.
-
Maia Teegarden authored
This PR: * Adds more config keys that should be supported or can be ignored * Cleans up supported key checking and allows nested keys that aren't experimental * Removes logging for "only supported options" since the list is much longer now
-
JJ Kasper authored
This updates the default CNA prompts a bit to be more straightforward. x-ref: [slack thread](https://vercel.slack.com/archives/C03KAR5DCKC/p1681919151818769) x-ref: [slack thread](https://vercel.slack.com/archives/C04K237UHCP/p1682959312307409)
-
JJ Kasper authored
This updates revalidate handling for app and moves some exports from `next/server` to `next/cache` x-ref: [slack thread](https://vercel.slack.com/archives/C042LHPJ1NX/p1682535961644979?thread_ts=1682368724.384619&cid=C042LHPJ1NX) ---------
-
Tobias Koppers authored
### What? add not-found to the app dir scanning ### Why? not found pages should be supported ### How?
-
Tobias Koppers authored
### What? Avoid quotes around env vars from next.config.js ### Why? values in `env` in next.config.js got stringified incorrectly
-
Balázs Orbán authored
[Slack thread](https://vercel.slack.com/archives/C04K237UHCP/p1682972426769409) Closes NEXT-1077 --------- Co-authored-by:
Tim Neutkens <tim@timneutkens.nl> Co-authored-by:
kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
Shu Ding authored
This PR adds a test case of handling file inputs in a form. Fixes NEXT-1062
-
Tim Neutkens authored
## What? Changes the logic for running node-file-trace to no longer rely on parsing the webpack request. Instead using the module metadata set in each loader to generate the path. ## How? The `route` metadata is already provided on all entry loaders since I added `preferredRegion` support, this can now leverage `route` as well to generate the required path. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ### Improving Documentation or adding/fixing Examples - The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md ### Fixing a bug - Related issues linked using `fixes #number` - Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ### Adding a feature - Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. (A discussion must be opened, see https://github.com/vercel/next.js/discussions/new?category=ideas) - Related issues/discussions are linked using `fixes #number` - e2e tests added (https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs - Documentation added - Telemetry added. In case of a feature if it's used or not. - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ## For Maintainers - Minimal description (aim for explaining to someone not on the team to understand the PR) - When linking to a Slack thread, you might want to share details of the conclusion - Link both the Linear (Fixes NEXT-xxx) and the GitHub issues - Add review comments if necessary to explain to the reviewer the logic behind a change ### What? ### Why? ### How? Closes NEXT- Fixes # -->
-
vercel-release-bot authored
-
Tobias Koppers authored
### What? allows to change blur mode for structured images also improve performance for static metadata images in app dir by avoiding computing blur placeholder ### Why? we might want to change the blur mode (in dicussion) ### How? adds an enum to control the mode
-
OJ Kwon authored
### What? This is necessary changes for the WEB-862, however dependent to https://github.com/vercel/turbo/pull/4521.
-
Steven authored
- Closes #49053 Co-authored-by:JJ Kasper <22380829+ijjk@users.noreply.github.com>
-
Patrick Arminio authored
The font is imported and used in `app/layout.tsx` :)
-
vercel-release-bot authored
-
lijianan authored
use includes replace indexOf
-
- 01 May, 2023 14 commits
-
-
OJ Kwon authored
### What? - closes WEB-800 This PR mimics fallback google font behavior for the turbopack from https://github.com/vercel/next.js/pull/47428, replaces fallback to capsize and adjust read logics.
-
OJ Kwon authored
### What? Trying to close WEB-718. Since next.config can pass `Record<String, any>` for the env value, explicitly interop it.
-
Shu Ding authored
This env should only affect the teardown & restart process, instead of the `useWorkers` option. This also solves the problem of running `next dev` on StackBlitz (which has the env var set: https://github.com/vercel/next.js/issues/48964#issuecomment-1528569879). Closes #48964.
-
Steven authored
fix NEXT-1003 Co-authored-by:Wyatt Johnson <633002+wyattjoh@users.noreply.github.com>
-
lijianan authored
### What? remove useless React.Fragment tag ### Why? <img /> is a single element, No need `<></>` as an outer wrapper ### How?
-
Jimmy Lai authored
-
Shu Ding authored
This PR renames `experimental.experimentalReact` as `experimental.serverActions` and makes it a hard compilation error if it's not set but detected server actions.
-
Ngô Đức Anh authored
### What? This PR fixes middleware's edge-chunks not being copied in copyTracedFiles. ### How? Merging its files' handling with other pages' ones. ### Note I also want to exclude `process.turbopack` from the unsupported APIs list by checking if `key === 'turbopack'` in `createProcessPolyfill` and `warnForUnsupportedProcessApi`, but I want to have some opinion on this first as I don't know if `process.turbopack` works with the Edge runtime.
-
Ngô Đức Anh authored
### What? This fixes `next-types-plugin` causing Typescript to complain about CommonJS files importing ESM ones when `"type": "module"` is set but `experimental.typedRoutes` is not enabled. ### How? Always create a `.next/types/package.json` with `"type": "module"` instead of only doing so when `experimental.typedRoutes` is enabled. Fixes #49004
-
Alberto Vilches authored
A link to a third-party package in the docs directs you to the wrong page.
-
Daniel authored
-
vercel-release-bot authored
-
Shu Ding authored
This PR adds `position: absolute` to the router announcer container so it won't affect the layout of siblings / parents. Closes #48087. Co-authored-by:kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
Shu Ding authored
This PR does three things: - Vendors the package `react-server-dom-webpack@experimental` as `react-server-dom-webpack-experimental` similar to React and React DOM - Upgrades all vendored React packages - Re-lands the `experimentalReact` flag to switch between `@next` and `@experimental` channels of React for app dir. Fix NEXT-926.
-