- 12 Jan, 2025 3 commits
-
-
vercel-release-bot authored
-
Vercel Release Bot authored
[diff facebook/react@056073de...540efebc](https://github.com/facebook/react/compare/056073de...540efebc) <details> <summary>React upstream changes</summary> - https://github.com/facebook/react/pull/32041 - https://github.com/facebook/react/pull/32038 </details>
-
Lee Robinson authored
-
- 11 Jan, 2025 12 commits
-
-
vercel-release-bot authored
-
Paweł Ciosek authored
docs update: Remove public access modifier from resetRequestCache method in CacheHandler class, it's not available in js file (only in typescript) (#74788) ### What? During development I noticed that example of custom CacheHandler contains expression that works only in TypeScript but the file is declared as JS. ### Why? To improve documentation DX, so other developers won't be surprised that code they copied from official docs is not correct semantically. ### How? Added small fix removing public accessor
-
Konstantin Pschera authored
This will fix a small bug in one of the examples in the Getting Started docs. The examples declares a variable that's already declared in the props which would result in an error when running this.
-
Apostolos Tsakpinis authored
Adds missing word in: `minification cannot customized using` to: `minification cannot be customized using` <!-- 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 # -->
-
Jude Gao authored
When there are no errors, we show `Errors` component with `minimized` status, which means that it should only render the indicator on the bottom left corner of the screen. E2E tests for the new DevOverlay will be added later.
-
Jiwon Choi authored
This PR removed the `title` of stories; that way, it's 1:1 with the codebase. The better the structure of the codebase, the better the structure of the storybook. Also, added `background` colors to test out UI correctly. Closes NDX-655
-
Vercel Release Bot authored
-
Nick Muller authored
-
Benjamin Woodruff authored
-
Benjamin Woodruff authored
-
Vercel Release Bot authored
This auto-generated PR updates font data with latest available
-
Benjamin Woodruff authored
-
- 10 Jan, 2025 25 commits
-
-
Jiachi Liu authored
### What Remove the condition to check when version indicator can be displayed as it doesn't have to be coupled with test mode or telemetry
-
Will Binns-Smith authored
This: - Replaces all use of chunk items in the interface for `chunk_content` with ChunkableModules - Moves `is_self_async` from `ChunkItem` to `Module` - Renames `AvailableChunkItems` to `AvailableModules` and all associated structs and methods, using modules in place of chunk items --------- Co-authored-by:Tobias Koppers <tobias.koppers@googlemail.com>
-
Benjamin Woodruff authored
refactor(turbopack/next-api): Implement NonLocalValue for TracedDiGraph and SingleModuleGraph (#74506) This allows `SingleModuleGraph` to implement `NonLocalValue`, removing the 'local' opt-out on the `turbo_tasks::value` macro.
-
Will Binns-Smith authored
This adds the edge weight (the `ChunkingType`) of the edge during `traverse_edges_from_entry` and `traverse_edges_from_entry_topological`, rather than only providing only the originating node. Test Plan: Added a log to verify edge types were provided to these visitors.
-
Sam Ko authored
## Why? We have to explicitly give a `-1` for `days-before-pr-close` and `days-before-pr-stale` in order to ignore sifting through PRs. - https://github.com/vercel/next.js/actions/runs/12716117689/job/35449724177#step:2:376
-
vercel-release-bot authored
-
Jiachi Liu authored
### What Introduce an experimental config `experimental.htmlLimitedBots` (type `Regex`) which can used for controlling the metadata streaming behavior for different bots, if the bots user agent is matching the regex, it will serve blocking metadata forcedly. This gives users some control to opt-out streaming metadata for some clients or bots which cannot handle it. Output another manifest `response-config-manfiest.json` containing the customized UA, which is potentially used for the platform serving Next.js to control the returned response for certain UA. But it's mostly for PPR case which we'll tackle later. Closes NDX-635 Closes NDX-599
-
Sam Ko authored
## Why? We currently have no automated process for handling stale issues. This PR adds an automated process for this.
-
Andrew Clark authored
Fixes a bug in the handling of stale times in the client Segment Cache, when prefetching a PPR-enabled route. The stale time sent by the server is in seconds, but I was handling it as if it were in milliseconds. This caused the entry to expire almost immediately. I didn't notice this sooner because the main test apps I've been working with don't have PPR enabled, and the non-PPR path was converting the values correctly. The existing e2e tests also didn't catch it because they run fast enough that the entries don't expire.
-
Jiwon Choi authored
This PR added a `.cursorignore` file to ignore **27,500 files** for Cursor to index. ```.gitignore # The reverse pattern did not work. * !packages/** ``` ### Before  ### After 
-
mikeboensel authored
-
Jiachi Liu authored
-
Sebastian "Sebbie" Silbermann authored
-
Hendrik Liebau authored
When using a Node.js module that is [supported in the Edge runtime](https://vercel.com/docs/functions/runtimes/edge-runtime#compatible-node.js-modules), we must not emit a warning during build.
-
Jiwon Choi authored
This PR added style for Runtime Error Code Frame. The file icon will follow up and will be replaced with correct icons (e.g. js, ts, etc.) > [!NOTE] > Does not fully align with Figma due to restrictions on how `@babel/code-frame` handles colors and spacing. ### Light  ### Dark  Closes NDX-650 --------- Co-authored-by:
Jiachi Liu <inbox@huozhi.im>
-
Jiwon Choi authored
This PR added style for Call Stack and applied the following: - Changed call stack rendering logic - Display the stack of the first frame - Removed unused CSS - Ported component CSS from the `RuntimeError` component to respecting components. ### Light https://github.com/user-attachments/assets/2f93e01f-1c3f-49c7-b5a5-b5434370be85 ### Dark https://github.com/user-attachments/assets/2db6cb1f-4701-416d-95c8-c14c128035ae Closes NDX-610 --------- Co-authored-by:
Jiachi Liu <inbox@huozhi.im>
-
Jiwon Choi authored
This PR added Turbopack styling. ### Light  ### Dark  Closes NDX-636 --------- Co-authored-by:
Jiachi Liu <inbox@huozhi.im>
-
Jiwon Choi authored
This PR decoupled the `Dialog` component with the "Error" overlay. Removed unused styles in the progress.
-
Jiwon Choi authored
This PR fixed the followings: - `versionInfo` was omitted in the `Errors` component. - The border radius of the Error type label chip is 6px in design but was 8px in dev. - Removed unnecessary margins and paddings that took unexpected space. ### Light  ### Dark 
-
Tobias Koppers authored
### What? Improves memory usage by changing the way data is stored in the new backend. Instead of keeping a map `enum CachedDataItemKey` -> `enum CachedDataItemValue`, it uses a Vec `enum CachedDataItemStorage` which keeps a single storage for every `enum CachedDataItemType`. The storage is strongly types and e. g. stores a map `TaskId` -> `()`, which makes it more memory efficient while still not wasting memory for unused types. It also calls `shrink_to_fit` after task completion and `shrink_amortized` after removing items, to reduce the unnecessary capacity.
-
Sebastian "Sebbie" Silbermann authored
-
Donny/강동윤 authored
### What? Update swc crates to https://github.com/swc-project/swc/releases/tag/swc_core%40v10.1.0 ### Why? To apply https://github.com/vercel/next.js/pull/73696 and parallelization improvements. ### How?
-
Jiwon Choi authored
This PR added style for the version staleness indicator. The "Turbopack-ness" will be added in the follow up PR. ### Light  ### Dark  Closes NDX-575
-
Mat Mannion authored
### What? A minor fix to the `package.json` for `@vercel/og`; there is a typo on the SPDX license ID for MPL-2.0 which is causing the license ID to not be correctly extracted by some automated tooling (one example is https://github.com/CycloneDX/cyclonedx-webpack-plugin, meaning that the license ID isn't correctly identified). ### Why? For apps that use automated tooling to generate an exhaustive list of dependencies, it's useful to have the license identified automatically and for this to be a valid SPDX identifier to be able to group dependencies together. Co-authored-by:
Jiachi Liu <inbox@huozhi.im>
-
Jiwon Choi authored
This PR added style for pagination and has no logic difference. Changed the filename from `ErrorPagination` to `error-overlay-pagination` for consistency. ### Light  ### Dark  Closes NDX-576
-