Skip to content

[next] Root Params#12764

Merged
wyattjoh merged 5 commits intomainfrom
feat/root-params
Dec 18, 2024
Merged

[next] Root Params#12764
wyattjoh merged 5 commits intomainfrom
feat/root-params

Conversation

@wyattjoh
Copy link
Copy Markdown
Contributor

@wyattjoh wyattjoh commented Dec 16, 2024

Added support for root params on pages powered by partial prerendering. This enables shell generation for pages with the root params. Now, when partial prerendering is enabled for a route with a root parameter, such as structure like this:

/[lang]/layout.tsx
/[lang]/page.tsx

The lang key will be included in the generated shell that's returned. For parameters that were prerendered (via generateStaticParams), they will already have more complete shells generated. This specific blocking route is only used when routes are served that have unknown root params.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Dec 16, 2024

🦋 Changeset detected

Latest commit: 5b79696

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

ztanner
ztanner previously approved these changes Dec 17, 2024
@wyattjoh wyattjoh enabled auto-merge December 17, 2024 22:12
@wyattjoh wyattjoh disabled auto-merge December 17, 2024 22:12
ztanner
ztanner previously approved these changes Dec 17, 2024
@wyattjoh wyattjoh added this pull request to the merge queue Dec 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 17, 2024
@wyattjoh wyattjoh added this pull request to the merge queue Dec 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 17, 2024
@wyattjoh wyattjoh enabled auto-merge December 18, 2024 01:18
@wyattjoh wyattjoh added this pull request to the merge queue Dec 18, 2024
Merged via the queue into main with commit 79a7374 Dec 18, 2024
@wyattjoh wyattjoh deleted the feat/root-params branch December 18, 2024 01:53
TooTallNate pushed a commit that referenced this pull request Jan 2, 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
## @vercel/[email protected]

### Major Changes

- Change getPathOverrideForPackageManager() to use detectedLockfile
argument ([#12749](#12749))

### Patch Changes

- Refactor build-util usage to reuse detected lockfile
([#12749](#12749))

- add support for `images.qualities`
([#12792](#12792))

## @vercel/[email protected]

### Minor Changes

- moved methods to @vercel/functions
([#12758](#12758))

## @vercel/[email protected]

### Minor Changes

- Update default ignored folders from the zip output:
([#12807](#12807))

    -   nested `node_modules`
    -   nested `.next` & `.nuxt`
    -   `.git` & `.vercel`

### Patch Changes

- Support VERCEL_IPC_PATH along with VERCEL_IPC_FD
([#12800](#12800))

## [email protected]

### Patch Changes

- Added root params support for pages powered by partial prerendering
([#12764](#12764))

- Update `@vercel/fun` to v1.1.2
([#12791](#12791))

- Update "follow-redirects" to v1.15.9 to avoid security vulnerability
report ([#12771](#12771))

- [deploy] make deploy --target case sensitive
([#12747](#12747))

- add support for `images.qualities`
([#12792](#12792))

- Updated dependencies
\[[`79a7374cdd8e734f01ee1b9ad6662182b9090bc0`](79a7374),
[`6150fbe18ef7fb4a6591a87a40c4452b2c9923ce`](6150fbe),
[`7adf5367054bdd86e7ecb9791290fffeb756fcfb`](7adf536),
[`7adf5367054bdd86e7ecb9791290fffeb756fcfb`](7adf536),
[`c11c3553f30bf00501f7136cfb5fda9f9c4b4fb1`](c11c355),
[`99a2899b9f3e1868752690f75bd1ca587f53ffdd`](99a2899),
[`c31d0813fc9668859c81ec0002e502aa200eec95`](c31d081)]:
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Updated dependencies
\[[`7adf5367054bdd86e7ecb9791290fffeb756fcfb`](7adf536),
[`7adf5367054bdd86e7ecb9791290fffeb756fcfb`](7adf536),
[`c31d0813fc9668859c81ec0002e502aa200eec95`](c31d081)]:
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- remove "next" in firewall to resolve vulnerability report
([#12688](#12688))

## @vercel/[email protected]

### Patch Changes

- Refactor build-util usage to reuse detected lockfile
([#12749](#12749))

## @vercel/[email protected]

### Patch Changes

- Updated dependencies
\[[`7adf5367054bdd86e7ecb9791290fffeb756fcfb`](7adf536),
[`7adf5367054bdd86e7ecb9791290fffeb756fcfb`](7adf536),
[`c31d0813fc9668859c81ec0002e502aa200eec95`](c31d081)]:
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Refactor build-util usage to reuse detected lockfile
([#12749](#12749))

## @vercel/[email protected]

### Patch Changes

- Added root params support for pages powered by partial prerendering
([#12764](#12764))

- Fix next data route replacing
([#12782](#12782))

- Refactor build-util usage to reuse detected lockfile
([#12749](#12749))

- add support for `images.qualities`
([#12792](#12792))

## @vercel/[email protected]

### Patch Changes

- Updated dependencies
\[[`7adf5367054bdd86e7ecb9791290fffeb756fcfb`](7adf536),
[`7adf5367054bdd86e7ecb9791290fffeb756fcfb`](7adf536),
[`c31d0813fc9668859c81ec0002e502aa200eec95`](c31d081)]:
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Refactor build-util usage to reuse detected lockfile
([#12749](#12749))

## @vercel/[email protected]

### Patch Changes

- Refactor build-util usage to reuse detected lockfile
([#12749](#12749))

## @vercel/[email protected]

### Patch Changes

- Refactor build-util usage to reuse detected lockfile
([#12749](#12749))

-   Updated dependencies \[]:
    -   @vercel/[email protected]

## @vercel-internals/[email protected]

### Patch Changes

- Updated dependencies
\[[`7adf5367054bdd86e7ecb9791290fffeb756fcfb`](7adf536),
[`7adf5367054bdd86e7ecb9791290fffeb756fcfb`](7adf536),
[`c31d0813fc9668859c81ec0002e502aa200eec95`](c31d081)]:
    -   @vercel/[email protected]
QuietCraftsmanship pushed a commit to QuietCraftsmanship/Vercel that referenced this pull request Jul 6, 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
## @vercel/[email protected]

### Major Changes

- Change getPathOverrideForPackageManager() to use detectedLockfile
argument ([#12749](vercel/vercel#12749))

### Patch Changes

- Refactor build-util usage to reuse detected lockfile
([#12749](vercel/vercel#12749))

- add support for `images.qualities`
([#12792](vercel/vercel#12792))

## @vercel/[email protected]

### Minor Changes

- moved methods to @vercel/functions
([#12758](vercel/vercel#12758))

## @vercel/[email protected]

### Minor Changes

- Update default ignored folders from the zip output:
([#12807](vercel/vercel#12807))

    -   nested `node_modules`
    -   nested `.next` & `.nuxt`
    -   `.git` & `.vercel`

### Patch Changes

- Support VERCEL_IPC_PATH along with VERCEL_IPC_FD
([#12800](vercel/vercel#12800))

## [email protected]

### Patch Changes

- Added root params support for pages powered by partial prerendering
([#12764](vercel/vercel#12764))

- Update `@vercel/fun` to v1.1.2
([#12791](vercel/vercel#12791))

- Update "follow-redirects" to v1.15.9 to avoid security vulnerability
report ([#12771](vercel/vercel#12771))

- [deploy] make deploy --target case sensitive
([#12747](vercel/vercel#12747))

- add support for `images.qualities`
([#12792](vercel/vercel#12792))

- Updated dependencies
\[[`34d76cd266658c88a0726ae58ed06ccc97cf68c9`](vercel/vercel@34d76cd),
[`0d49e1e7ec14ad189aca39c625f9e020193b35b5`](vercel/vercel@0d49e1e),
[`f50f256535f8f7742cadee3c992a24aaeb2280c4`](vercel/vercel@f50f256),
[`f50f256535f8f7742cadee3c992a24aaeb2280c4`](vercel/vercel@f50f256),
[`9e11876f3c946324eaaa939f004b1b44bb142bc2`](vercel/vercel@9e11876),
[`9f98b21e6fc9551f03e55d6c6f8b033da3a67a73`](vercel/vercel@9f98b21),
[`181dc4b21d7f94eb074d52d7c3d06cdbedb98d13`](vercel/vercel@181dc4b)]:
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Updated dependencies
\[[`f50f256535f8f7742cadee3c992a24aaeb2280c4`](vercel/vercel@f50f256),
[`f50f256535f8f7742cadee3c992a24aaeb2280c4`](vercel/vercel@f50f256),
[`181dc4b21d7f94eb074d52d7c3d06cdbedb98d13`](vercel/vercel@181dc4b)]:
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- remove "next" in firewall to resolve vulnerability report
([#12688](vercel/vercel#12688))

## @vercel/[email protected]

### Patch Changes

- Refactor build-util usage to reuse detected lockfile
([#12749](vercel/vercel#12749))

## @vercel/[email protected]

### Patch Changes

- Updated dependencies
\[[`f50f256535f8f7742cadee3c992a24aaeb2280c4`](vercel/vercel@f50f256),
[`f50f256535f8f7742cadee3c992a24aaeb2280c4`](vercel/vercel@f50f256),
[`181dc4b21d7f94eb074d52d7c3d06cdbedb98d13`](vercel/vercel@181dc4b)]:
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Refactor build-util usage to reuse detected lockfile
([#12749](vercel/vercel#12749))

## @vercel/[email protected]

### Patch Changes

- Added root params support for pages powered by partial prerendering
([#12764](vercel/vercel#12764))

- Fix next data route replacing
([#12782](vercel/vercel#12782))

- Refactor build-util usage to reuse detected lockfile
([#12749](vercel/vercel#12749))

- add support for `images.qualities`
([#12792](vercel/vercel#12792))

## @vercel/[email protected]

### Patch Changes

- Updated dependencies
\[[`f50f256535f8f7742cadee3c992a24aaeb2280c4`](vercel/vercel@f50f256),
[`f50f256535f8f7742cadee3c992a24aaeb2280c4`](vercel/vercel@f50f256),
[`181dc4b21d7f94eb074d52d7c3d06cdbedb98d13`](vercel/vercel@181dc4b)]:
    -   @vercel/[email protected]

## @vercel/[email protected]

### Patch Changes

- Refactor build-util usage to reuse detected lockfile
([#12749](vercel/vercel#12749))

## @vercel/[email protected]

### Patch Changes

- Refactor build-util usage to reuse detected lockfile
([#12749](vercel/vercel#12749))

## @vercel/[email protected]

### Patch Changes

- Refactor build-util usage to reuse detected lockfile
([#12749](vercel/vercel#12749))

-   Updated dependencies \[]:
    -   @vercel/[email protected]

## @vercel-internals/[email protected]

### Patch Changes

- Updated dependencies
\[[`f50f256535f8f7742cadee3c992a24aaeb2280c4`](vercel/vercel@f50f256),
[`f50f256535f8f7742cadee3c992a24aaeb2280c4`](vercel/vercel@f50f256),
[`181dc4b21d7f94eb074d52d7c3d06cdbedb98d13`](vercel/vercel@181dc4b)]:
    -   @vercel/[email protected]
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.

3 participants