Skip to content

[next] Fix next data route replacing#12782

Merged
ijjk merged 3 commits intomainfrom
ijjk/fix-data-route-replacing
Dec 19, 2024
Merged

[next] Fix next data route replacing#12782
ijjk merged 3 commits intomainfrom
ijjk/fix-data-route-replacing

Conversation

@ijjk
Copy link
Copy Markdown
Member

@ijjk ijjk commented Dec 19, 2024

This fixes our route generation from replacing assuming the dot isn't escaped which changed in vercel/next.js#73850

Re-enables test disabled in https://linear.app/vercel/issue/ZERO-3045/unskip-failing-nextjs-test

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Dec 19, 2024

🦋 Changeset detected

Latest commit: 6e42c51

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

@ijjk ijjk merged commit 6150fbe into main Dec 19, 2024
@ijjk ijjk deleted the ijjk/fix-data-route-replacing branch December 19, 2024 21:42
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.

2 participants