- 06 Dec, 2023 13 commits
-
-
vercel-release-bot authored
-
Tobias Koppers authored
### What? Code update for refactoring in https://github.com/vercel/turbo/pull/6590 Closes PACK-2043
-
Tobias Koppers authored
### What? add tracing to the module graph walking Closes PACK-2090
-
Zack Tanner authored
This is a continuation from https://github.com/vercel/next.js/pull/58783 to remove the remaining code related to static prefetching.
-
Zack Tanner authored
Reverts vercel/next.js#58596 This is failing lint checks [x-ref](https://github.com/vercel/next.js/actions/runs/7109843046/job/19355454595)
-
Justin Pfifer authored
Co-authored-by:
Justin Pfifer <justin.pfifer@carvana.com> Co-authored-by:
Lee Robinson <me@leerob.io>
-
Peter Kellner authored
-
Thoushif Aazam Shaik authored
-
Jackie authored
-
Willem-Jaap authored
`updateItem` is the name of the action, not the passed prop. The correct property name is `myAction`.
-
Jiwon Choi authored
This PR removes guidance to invalid URL
-
Mustafa Çor authored
-
Wyatt Johnson authored
This makes some critical modifications to the app render pipeline when PPR has been enabled for pages with segments defining: ```js export const dynamic = "force-dynamic" ``` Importantly, it no longer modifies the revalidation time to zero for those pages, and now falls back to the provided default revalidation time. When static render occurs, if the page being rendered has a segment config defining `dynamic === "force-dynamic"`, then it will postpone at the root of the component tree. This ensures that no render code is executed for the page, as the entirety of the tree will have postponed. This fixes the bug where the flight prefetch wasn't generated correctly as well.
-
- 05 Dec, 2023 15 commits
-
-
vercel-release-bot authored
-
Shu Ding authored
Most of them can now be handled by `optimizePackageImports` as I manually tested them locally. The main benefit is that structural updates from these libs won't affect our internal configurations anymore, as they're automatic with the new approach. The little downside is that the automatic way is a bit slower than the `modularizeImports` config as it needs to do extra analyzation. But overall, this is a good direction. Depends on #59254.
-
Zack Tanner authored
### What? Using an interception marker next to a dynamic segment does not behave properly when deployed to Vercel ### Why? The named route regex that gets created is not accounting for the interception marker, which is causing the non-intercepted route to match the intercepted serverless function. ### How? This factors in the interception marker when building the named route regex so that the non-intercepted route regex properly matches when loading the non-intercepted page. Deployment verified here: https://test-intercept-mu.vercel.app/ Closes NEXT-1786 Fixes #54650
-
vercel-release-bot authored
-
Shu Ding authored
Fixes #57624. The recent issue was an unexpected side effect caused by https://github.com/vercel/next.js/commit/305bb015060e82be3e6ae59a3d063c11a3e207f9, which only affects specific packages like `@mui/material`. The problem was that the entry file of `@mui/material` has `"use client"` at top, which affects the compilation result to output reference info only (when on the RSC layer), instead of keeping the original export statements. And the fix here is to ignore all layer info and React specific transforms here, as barrel optimization isn't related to all these framework features at all. To keep all directives unchanged, the SWC transform needs to parse and pass that info to the Webpack loader. This PR adds a test to ensure that `@mui/material` is working as expected (less than 1500 modules compiled). Without this feature it'll be ~2400 modules. Closes NEXT-1793, closes NEXT-1762.
-
Leah authored
Also fixes the retry running on forks (hopefully for real this time) Closes PACK-2087
-
Lee Robinson authored
Addresses https://github.com/vercel/feedback/issues/47802.
-
Leah authored
-
vercel-release-bot authored
-
Tobias Koppers authored
* https://github.com/vercel/turbo/pull/6588 <!-- Leah - ci: remove daily turbopack next.js integration test workflow --> * https://github.com/vercel/turbo/pull/6666 <!-- Will Binns-Smith - Turbopack css: treat `composes` and `@import` as urls when resolving --> * https://github.com/vercel/turbo/pull/6701 <!-- Tobias Koppers - add user level tracing --> * https://github.com/vercel/turbo/pull/6616 <!-- Leah - feat(turbopack): support "loading" WebAssembly injected as global varables in edge runtime --> Closes PACK-2086
-
Tim Neutkens authored
Ensures the app-dir - logging tests pass with Turbopack enabled. <!-- 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 - Run `pnpm prettier-fix` to fix formatting issues before opening the PR. - Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide ### Adding or Updating 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 # --> Closes NEXT-1795
-
Tobias Koppers authored
### What? add a few user-focused info-level spans to allow high-level tracing on a normal build. `NEXT_TURBOPACK_TRACING=1` can be used to generate a `.next/trace.log` file ### Why? Gain insight into build performance and module cost Closes PACK-2083
-
Shohei Maeda authored
fix: properly call `normalizeDynamicRouteParams` in `NextWebServer.handleCatchAllRenderRequest` (#58949) fixes https://github.com/vercel/next.js/issues/53682 This follows the same implementation as `Server.handleCatchallRenderRequest` (base-server).
-
Vercel Release Bot authored
This auto-generated PR updates font data with latest available
-
Dima Voytenko authored
Testmode is refactored to support both serverless and edge functions under a sandbox.
-
- 04 Dec, 2023 12 commits
-
-
Jiří Hofman authored
### What? The link in `@see - Remote Patterns` leads to - https://nextjs.org/docs/pages/api-reference/components/image#remote-patterns, but it should lead to - https://nextjs.org/docs/pages/api-reference/components/image#remotepatterns <img width="591" alt="image" src="https://github.com/vercel/next.js/assets/12988096/a6ed727f-e601-460d-9cf2-5bbb0faf7527"> Co-authored-by:
JJ Kasper <jj@jjsweb.site>
-
Shohei Maeda authored
Fixes https://github.com/vercel/next.js/issues/54245 https://nextjs.org/docs/app/api-reference/next-config-js/output#caveats Currently, `outputFileTracingExcludes`/`outputFileTracingIncludes` only works with Pages router. This PR adds support for App router.
-
OJ Kwon authored
-
vercel-release-bot authored
-
Rishabh Poddar authored
Co-authored-by:Lee Robinson <me@leerob.io>
-
Jiachi Liu authored
-
Tim Neutkens authored
## What? Ensures this is reported correctly. <!-- 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 - Run `pnpm prettier-fix` to fix formatting issues before opening the PR. - Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide ### Adding or Updating 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 # --> Closes NEXT-1794
-
Wyatt Johnson authored
This removes the dead code related to prefetching until it can reland. Co-authored-by:kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
Leah authored
-
Leah authored
### What? GitHub workflow commands need to be echoed Closes PACK-2075
-
Jiachi Liu authored
-
Andrew Clark authored
Adds process.env.__NEXT_PPR as static flag that it gets inlined by DefinePlugin during build. This matches what we do for other experiments, but I do wonder, why do we bother with process.env at all instead of a global __NEXT_PPR symbol? I'll leave that for later discussion. Closes NEXT-1792
-