[pull] canary from vercel:canary#1112
Merged
Merged
Conversation
### What?
Adds an `updateTag` example to the `cacheTag` API reference page.
### Why?
The `cacheTag` docs only showed `revalidateTag` for cache invalidation.
For forms and user-triggered mutations (the dominant use case for
`cacheTag`), `updateTag` is the recommended API because it provides
read-your-own-writes semantics. DX agent friction logs showed agents
defaulting to `revalidateTag` and hitting the deprecated single-arg
error before discovering `updateTag` via web search.
### How?
Added a second example block after the existing `revalidateTag` one,
showing `updateTag('my-data')` in a Server Function.
Co-authored-by: Joseph Chamochumbi <joseph.chamochumbi@vercel.com>
### What? Remove `experimental.useNodeStreams` from the public config surface and make Node streams always-on for Node.js App Router rendering. The smaller default-on change and dedicated CI cleanup landed in #94311. The standalone compatibility update landed separately in #94347. ### Why? Node streams are now the default Node.js runtime rendering path, so the opt-in config and runtime selection plumbing are stale. Edge bundles continue to use the web-stream path because Node streams are unavailable there. ### How? - Define `__NEXT_USE_NODE_STREAMS` as true for Node.js app runtime bundles and false for edge user bundles. - Remove config, schema, runtime, export, and server plumbing for `experimental.useNodeStreams`. - Delete the obsolete env-precedence fixture. - Clean benchmark docs and scripts that still set or compare `experimental.useNodeStreams`. ### Verification - `pnpm --filter=next types` - `pnpm build-all` <!-- NEXT_JS_LLM_PR -->
### What? Remove the cacheComponents + web streams rendering branches from `app-render`. ### Why? `cacheComponents` does not support the edge runtime, and Node streams are now always-on for the Node.js runtime in the parent PR. That makes the cacheComponents web-stream branches dead code. ### How? - Collapse cacheComponents staged RSC rendering to the Node-stream implementation. - Remove the web-stream cacheComponents helper functions and static-stage byte counter. - Keep the ordinary non-cacheComponents web-stream paths for edge/runtime compatibility. ### Verification - `pnpm --filter=next types` - `pnpm --filter=next build` - `pnpm test-start-webpack test/e2e/app-dir/app/standalone.test.ts` <!-- NEXT_JS_LLM_PR -->
### What? Reduce the `test-new-tests-dev` and `test-new-tests-start` workflow matrices from ten groups to five. ### Why? Restore these flake-detection jobs to five concurrent shards. ### How? Change each matrix group list from `1/10` through `10/10` to `1/5` through `5/5`. ### Verification - `pnpm prettier --with-node-modules --ignore-path .prettierignore --check .github/workflows/build_and_test.yml` - `git diff --cached --check` <!-- NEXT_JS_LLM_PR -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )