Repository navigation
[remix] refactor runtime Function creation into single point of truth - #13023
Merged
erikareads merged 5 commits intoFeb 12, 2025
Merged
erikareads merged 5 commits into
erikareads merged 5 commits into
Conversation
🦋 Changeset detectedLatest commit: c2f0072 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
…on-creation-logic
erikareads
marked this pull request as ready for review
February 6, 2025 20:56
erikareads
requested review from
EndangeredMassa,
TooTallNate,
jeffsee55,
onsclom and
trek
as code owners
February 6, 2025 20:56
onsclom
previously approved these changes
Feb 11, 2025
…on-creation-logic
onsclom
approved these changes
Feb 12, 2025
erikareads
added this pull request to the merge queue
Feb 12, 2025
erikareads
deleted the
erikarowland/consolidate-remix-vercel-function-creation-logic
branch
February 12, 2025 19:41
Merged
LukeSheard
pushed a commit
that referenced
this pull request
Feb 13, 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 - Initial public release ([#13027](#13027)) ## @vercel/[email protected] ### Patch Changes - [build-utils] extract install command specific logic into helper ([#13049](#13049)) - [build-utils] remove dead node 16 check ([#13047](#13047)) ## [email protected] ### Patch Changes - Fix duplicate trace names generated from builders ([#13051](#13051)) - Updated dependencies \[[`a8c3efa2f907ff53e751b40121e9d4b986d7bd91`](a8c3efa), [`3688e7b3206f69f2456a9963c9e30077cab3fbd4`](3688e7b), [`d523fd6a92b36c2841b41e55c742099561555bc9`](d523fd6), [`65a501582d22c48f75044eac4c13f1be5bcd2c79`](65a5015), [`c93dbecb641890d2936547395d7744a5c197800a`](c93dbec)]: - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`3688e7b3206f69f2456a9963c9e30077cab3fbd4`](3688e7b), [`c93dbecb641890d2936547395d7744a5c197800a`](c93dbec)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`3688e7b3206f69f2456a9963c9e30077cab3fbd4`](3688e7b), [`c93dbecb641890d2936547395d7744a5c197800a`](c93dbec)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Fix duplicate trace names generated from builders ([#13051](#13051)) ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`3688e7b3206f69f2456a9963c9e30077cab3fbd4`](3688e7b), [`c93dbecb641890d2936547395d7744a5c197800a`](c93dbec)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - [remix] unify render function creation logic between Remix and React Router ([#13023](#13023)) - [remix] Add link to documentation after vercelPreset() warning ([#12942](#12942)) ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[]: - @vercel/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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 - Initial public release ([#13027](vercel/vercel#13027)) ## @vercel/[email protected] ### Patch Changes - [build-utils] extract install command specific logic into helper ([#13049](vercel/vercel#13049)) - [build-utils] remove dead node 16 check ([#13047](vercel/vercel#13047)) ## [email protected] ### Patch Changes - Fix duplicate trace names generated from builders ([#13051](vercel/vercel#13051)) - Updated dependencies \[[`e7b6ffdad65266b537dd740f22315197428ea7f7`](vercel/vercel@e7b6ffd), [`88237defd77abb446c8f04bb7963e2959ec43e2a`](vercel/vercel@88237de), [`6dd5a10f85d797fe8ff6133c41466c6e67f05dee`](vercel/vercel@6dd5a10), [`b19fe8c253e857efa441da52df9d9274238cc1fa`](vercel/vercel@b19fe8c), [`c43c0069ecb70e3d2f9dc5bff69f22647399d88a`](vercel/vercel@c43c006)]: - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`88237defd77abb446c8f04bb7963e2959ec43e2a`](vercel/vercel@88237de), [`c43c0069ecb70e3d2f9dc5bff69f22647399d88a`](vercel/vercel@c43c006)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`88237defd77abb446c8f04bb7963e2959ec43e2a`](vercel/vercel@88237de), [`c43c0069ecb70e3d2f9dc5bff69f22647399d88a`](vercel/vercel@c43c006)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Fix duplicate trace names generated from builders ([#13051](vercel/vercel#13051)) ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`88237defd77abb446c8f04bb7963e2959ec43e2a`](vercel/vercel@88237de), [`c43c0069ecb70e3d2f9dc5bff69f22647399d88a`](vercel/vercel@c43c006)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - [remix] unify render function creation logic between Remix and React Router ([#13023](vercel/vercel#13023)) - [remix] Add link to documentation after vercelPreset() warning ([#12942](vercel/vercel#12942)) ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[]: - @vercel/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This branch was successfully deployed
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Building on #12992 this PR unifies the logic for function creation between Remix and React Router. There was also a lot of duplicated logic between Edge and Node runtime function creation, which I've refactored into a single code path.
Previously, there were a lot of checks that switched dependent on runtime (node vs edge), this PR centralizes that check into
getRuntimeSettings.