New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[client] Always use v13 of create deployment API endpoint #11351
Conversation
🦋 Changeset detectedLatest commit: 56af103 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 |
if (error instanceof Error) { | ||
output.warn(error.message); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (soft-blocking): log other values
If for some reason this variable isn't an instance of Error
, we should still log it.
if (error instanceof Error) { | |
output.warn(error.message); | |
} | |
if (error instanceof Error) { | |
output.warn(error.message); | |
} else { | |
output.warn(error.toString()); | |
} |
Updates `@vercel/client` to always use the v13 create-deployment endpoint, even when `builds` is present. This allows for `projectSettings.nodeVersion` to be passed when `builds` is present.
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@34.0.0 ### Major Changes - Disables promotion of preview deployments ([#11411](#11411)) ### Patch Changes - Always set `projectSettings.nodeVersion` in `vc deploy` ([#11351](#11351)) - [cli] optional override of existing environment variables with --force ([#11348](#11348)) ## @vercel/client@13.2.0 ### Minor Changes - Always use v13 of create deployment API endpoint ([#11351](#11351)) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Updates
@vercel/client
to always use the v13 create-deployment endpoint, even whenbuilds
is present. This allows forprojectSettings.nodeVersion
to be passed whenbuilds
is present.