Skip to content

feat(next): extend getRequestHandlerWithMetadata export to support cacheComponents#13595

Merged
wyattjoh merged 1 commit intomainfrom
feat/server-launcher-cache-components
Jul 22, 2025
Merged

feat(next): extend getRequestHandlerWithMetadata export to support cacheComponents#13595
wyattjoh merged 1 commit intomainfrom
feat/server-launcher-cache-components

Conversation

@wyattjoh
Copy link
Copy Markdown
Contributor

Summary

This PR extends the condition for exporting getRequestHandlerWithMetadata in the Next.js server launcher to also support the experimental cacheComponents feature, not just PPR.

Changes

Test plan

  • Existing tests should continue to pass
  • The getRequestHandlerWithMetadata export should be available when either ppr or cacheComponents is enabled in the experimental config

@wyattjoh wyattjoh requested review from a team, huozhi, ijjk, timneutkens and ztanner as code owners July 22, 2025 20:36
@wyattjoh wyattjoh requested a review from mknichel July 22, 2025 20:36
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jul 22, 2025

🦋 Changeset detected

Latest commit: 7175eea

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@vercel/next Patch
vercel Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@wyattjoh wyattjoh added this pull request to the merge queue Jul 22, 2025
Merged via the queue into main with commit 501d4da Jul 22, 2025
293 of 297 checks passed
@wyattjoh wyattjoh deleted the feat/server-launcher-cache-components branch July 22, 2025 21:28
github-merge-queue bot pushed a commit that referenced this pull request Jul 22, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## [email protected]

### Patch Changes

- Updated dependencies
\[[`501d4da4f3be995111eafe6d6197000365a5a377`](501d4da)]:
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Add cacheComponents support for getRequestHandlerWithMetadata export
([#13595](#13595))

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants