- 17 Apr, 2025 17 commits
-
-
vercel-release-bot authored
-
Vercel Release Bot authored
[diff facebook/react@b04254fd...4a36d3ea](https://github.com/facebook/react/compare/b04254fd...4a36d3ea) <details> <summary>React upstream changes</summary> - https://github.com/facebook/react/pull/32936 - https://github.com/facebook/react/pull/32935 - https://github.com/facebook/react/pull/32932 - https://github.com/facebook/react/pull/32931 - https://github.com/facebook/react/pull/32930 - https://github.com/facebook/react/pull/32929 - https://github.com/facebook/react/pull/32928 - https://github.com/facebook/react/pull/32934 - https://github.com/facebook/react/pull/32933 </details>
-
Will Binns-Smith authored
-
Niklas Mischkulnig authored
1. Add the import in question to the module ident: `[project]/test/e2e/on-request-error/isr (unsupported edge import fs)` 2. Wrap the source creation into a separate turbotask, so that `fs` and `fs/promises` get the same Source cell (instead of two different Sources with the same ident)
-
Will Binns-Smith authored
-
vercel-release-bot authored
-
Vercel Release Bot authored
-
Jiachi Liu authored
-
Jiachi Liu authored
-
Sebastian "Sebbie" Silbermann authored
-
Vercel Release Bot authored
-
Niklas Mischkulnig authored
-
Jiachi Liu authored
Fixes the function signature changed in #78200
-
Jiachi Liu authored
### What Move built-in `global-error` into a new module, separated from `error-boundary`
-
Delba de Oliveira authored
-
Zack Jackson 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 - 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 # --> Fix failing tests for in DropClientPages mode for alternative bundler --------- Co-authored-by:
JJ Kasper <jj@jjsweb.site>
-
Delba de Oliveira authored
Closes: https://linear.app/vercel/issue/DOC-4549/production-checklist Redirects: https://github.com/vercel/front/pull/44234
-
- 16 Apr, 2025 23 commits
-
-
vercel-release-bot authored
-
Luke Sandberg authored
Turbopack: Support ECMAScript styleregex with negative lookahead in `require.context` calls (#78251) Add support for more ECMASCRIPT style regular expressions via the `regress` regex engine in order to support `require.context` calls with complex filters. We still prefer the `regex` crate when possible as it performs better but fall back to `regress` when the regular expression uses unsupported features. This should improve webpack compatibility for `require.context` calls. Closes PACK-3895
-
Vercel Release Bot authored
-
Tobias Koppers authored
### What? Make the test case cover more cases by testing for add and removal of pages, client components, multiple noop builds and multiple change cycles.
-
Vercel Release Bot authored
-
Sebastian "Sebbie" Silbermann authored
-
vercel-release-bot authored
-
Hendrik Liebau authored
When generating a new test with `pnpm new-test`, the IDE will show the following error when opening the generated `page.tsx` or `layout.tsx` files: ```sh 'React' refers to a UMD global, but the current file is a module. Consider adding an import instead.ts (2686) ``` This is because by default, the generated test app is covered by the root `tsconfig.json`, containing `{"jsx": "react-jsx"}` which expects there to be a `React` import that the template files don't have. When first running `pnpm next dev` or `pnpm next build`, a local `tsconfig.json` file is generated for the test app. This config contains `{"jsx": "preserve"}`, which fixes the initial errors. To avoid this step, and prevent the initial compiler errors, we can just copy the `tsconfig.json` as well as the `next-env.d.ts` from the CNA template files into the new test app. (Those two files are git-ignored, by the way.) -
Tobias Koppers authored
### What? * Some debug asserts were missing to validate the correct category on read access via `iter()` or `extract_if()`. Added these. * incorrect accessed category led to empty list of dependencies after restoring from persistent caching, which led to weird bugs like Cell not found errors So optimized the category assignment to make sure aggregation updates can operate on Meta only. Children, Collectibles and CollectiblesDependent were moved to Meta category since they are accessed during aggregation updates. `Children` are used as follower for non-aggregating nodes. `Collectibles` are read when computing the aggregated information and `CollectiblesDependent` are read when aggregated collectibles are modified. * Added a unit test reproducting this bug and the next PR in the stack also added a e2e test reproducting it.
-
Tobias Koppers authored
### What? This allows to test caching more aggressively
-
Delba de Oliveira authored
Closes: https://linear.app/vercel/issue/DOC-4548/multi-zones Redirects: https://github.com/vercel/front/pull/44233
-
Delba de Oliveira authored
Closes: https://linear.app/vercel/issue/DOC-3702/page-deploying --------- Co-authored-by:
Rich Haines <hello@richardhaines.dev>
-
Jiachi Liu authored
-
Vercel Release Bot authored
-
Niklas Mischkulnig authored
Fixes duplicate `CachedExternalModule`s, due to different result depending on the reference type: As opposed to adding the whole reference type to the external's `AssetIdent`, normalize the reference type, tracing an external with `EcmaScriptModules(ImportPart(Evaluation))` (which returns nothing for side-effect-free packages) is strange anyway. ``` request: "@emotion/react" reference_type: EcmaScriptModules(ImportPart(Evaluation)) tracing_resolve_result: [] tracing_resolve_affecting: ["[project]/node_modules/.pnpm/@emotion+react@11.11.1_@types+react@19.1.1_react@19.2.0-canary-1d6c8168-20250411/node_modules/@emotion/react/package.json", "[project]/node_modules/@emotion/react"] ``` ``` request: "@emotion/react" reference_type: EcmaScriptModules(ImportPart(Export("CacheProvider"))) tracing_resolve_result: ["[project]/node_modules/.pnpm/@emotion+react@11.11.1_@types+react@19.1.1_react@19.2.0-canary-1d6c8168-20250411/node_modules/@emotion/react/dist/emotion-react.cjs.mjs [externals-tracing] (ecmascript)"] tracing_resolve_affecting: ["[project]/node_modules/.pnpm/@emotion+react@11.11.1_@types+react@19.1.1_react@19.2.0-canary-1d6c8168-20250411/node_modules/@emotion/react/package.json", "[project]/node_modules/@emotion/react"] ``` -
Vercel Release Bot authored
-
Vercel Release Bot authored
-
Benjamin Woodruff authored
fix(turbo-tasks-fs): Update notify-rs, handle recursive symlinks in realpath implementation, add an e2e test for symlinked files (#78220) While working on filesystem watching stuff, I saw that `notify-rs` had a new `with_follow_symlinks` flag, which seems very relevant to us and how we handle symlinks. When looking to enable this, I noticed that we lacked e2e tests for symlinks. I added a few tests, but found lots of other bugs... - I ran into https://github.com/vercel/next.js/discussions/77463#discussioncomment-12847522, which I documented, but am not fixing, because it's too far out of scope. - I ran into a bug with realpath, which is fixed here.
-
Sebastian "Sebbie" Silbermann authored
-
Niklas Mischkulnig authored
Fixes two more module ident collisions 1. `ContextTransition` is a massive footgun, because it reuses the transitions from the parent context. So it essentially always creates a new context (which is not actually what we want), e.g. here this created two different `app-edge-shared` contexts because `app-edge-rsc` and `app-edge-ssr` have different transitions. I hope this wasn't by design? ``` next/dist/esm/server/app-render/after-task-async-storage.external.js [app-edge-rsc] -> next/dist/esm/server/app-render/after-task-async-storage-instance.js [app-edge-shared] next/dist/esm/server/app-render/after-task-async-storage.external.js [app-edge-ssr] -> next/dist/esm/server/app-render/after-task-async-storage-instance.js [app-edge-shared] ``` 2. The client module proxy module was missing its layer in the identifier (the layer of the proxy module, i.e. `app-edge-rsc` or `app-rsc`). It's correct that there are two different modules.
-
Donny/강동윤 authored
### What? Refactor `references` of `EcmascriptModulePartAsset`. ### Why? I'll remove the fake AST with another PR on the graphite stack.
-
Tobias Koppers authored
### What? We need to wait for completion of the trace writer drop before existing the program
-