Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(deps): update dependency netlify-cli to v21 #313

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

Merged
mrstork merged 1 commit into main from renovate/netlify-cli-21.x
May 14, 2025

Conversation

Copy link
Contributor

@renovate renovate bot commented May 6, 2025
edited
Loading

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
netlify-cli ^20.1.1 -> ^21.3.0 age adoption passing confidence

Release Notes

netlify/cli (netlify-cli)

v21.3.0

Compare Source

Features
Bug Fixes

v21.2.1

Compare Source

Bug Fixes

v21.2.0

Compare Source

Features
  • update recipes to include windsurf rules directory preset (#​7275) (7502e5f)

v21.1.0

Compare Source

Features
  • add new netlify clone command, to clone an existing repo + connected Netlify site in one step (#​7260) (fe9940e)
  • init: prompt to configure build settings in 'no git remote' case (#​7258) (cb881e8)
Bug Fixes

v21.0.1

Compare Source

Bug Fixes

v21.0.0

Compare Source

⚠ BREAKING CHANGES
  • remove support for deprecated netlify-lambda package (#​7236)

The netlify-lambda NPM package was deprecated in Feb 2023. If you are one of the few using this, see the migration guide.

⚠ Potentially breaking changes
run build before deploy (#​7195)

The deploy command now runs the site's configured build command before deployment by default. Previously, this was achieved by passing the --build flag. In other words, --build is no longer needed.

To opt into the previous default behavior, users can now specify netlify deploy --no-build.

👉🏼 Why are we changing this?

This has long been one of the most common sources of confusion with the Netlify CLI. Developers expect a "deploy" command to deploy their project. We're making this change to follow the Principle of Least Surprise and streamline the experience for new users.

Upgrading

👉🏼 (most common) Build and deploy

Remove the --build flag:

netlify deploy --build [...] # before

netlify deploy [...] # after

👉🏼 Separate build and deploy

[!WARNING]
Make sure your deploy command runs in your expected environment, e.g. if you were running FOO=bar netlify build && netlify deploy, make sure FOO is visible to the deploy command, which is now running the build: FOO=bar netlify deploy.

Collapse into one command, if you can:

netlify build && netlify deploy # before

netlify deploy # after

Otherwise, add the --no-build flag:

make spaghetti && netlify deploy # before

make spaghetti && netlify deploy --no-build # after

👉🏼 (rare) Deploy without build step

Add the --no-build flag:

netlify deploy [...] # before (there was no `--build` here)

netlify deploy --no-build [...]
polish and improve deploy command output (#​7250) (795a451)

If you were automatically looking for specific strings in the netlify deploy output, your scripts may stop working. See the above PR for details.

Note that this is not recommended and such changes may not be considered breaking in the future. For stable output that conforms to semantic versioning, use netlify deploy --json.

Features
Bug Fixes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner May 6, 2025 14:58
@github-actions github-actions bot added the type: chore work needed to keep the product and development running smoothly label May 6, 2025
Copy link

netlify bot commented May 6, 2025
edited
Loading

Deploy Preview for plugin-angular-universal-demo ready!

Name Link
🔨 Latest commit 3e224ba
🔍 Latest deploy log https://app.netlify.com/sites/plugin-angular-universal-demo/deploys/68238e869130160008fea541
😎 Deploy Preview https://deploy-preview-313--plugin-angular-universal-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

kodiakhq[bot]
kodiakhq bot previously approved these changes May 6, 2025
kodiakhq[bot]
kodiakhq bot previously approved these changes May 6, 2025
kodiakhq[bot]
kodiakhq bot previously approved these changes May 7, 2025
kodiakhq[bot]
kodiakhq bot previously approved these changes May 7, 2025
kodiakhq[bot]
kodiakhq bot previously approved these changes May 8, 2025
kodiakhq[bot]
kodiakhq bot previously approved these changes May 9, 2025
kodiakhq[bot]
kodiakhq bot previously approved these changes May 9, 2025
kodiakhq[bot]
kodiakhq bot previously approved these changes May 13, 2025
@mrstork mrstork merged commit 87e21de into main May 14, 2025
11 checks passed
@mrstork mrstork deleted the renovate/netlify-cli-21.x branch May 14, 2025 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@kodiakhq kodiakhq[bot] kodiakhq[bot] approved these changes

Assignees
No one assigned
Labels
dependencies javascript type: chore work needed to keep the product and development running smoothly
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /