Skip to content

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 6, 2025

This PR contains the following updates:

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

Release Notes

netlify/cli (netlify-cli)

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

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

Name Link
🔨 Latest commit 2063d17
🔍 Latest deploy log https://app.netlify.com/sites/plugin-angular-universal-demo/deploys/681e658b0bd68000087468a9
😎 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
@renovate renovate bot force-pushed the renovate/netlify-cli-21.x branch from ea3f968 to 18d480f Compare May 6, 2025 21:26
kodiakhq[bot]
kodiakhq bot previously approved these changes May 6, 2025
@renovate renovate bot force-pushed the renovate/netlify-cli-21.x branch from 18d480f to 9e4c131 Compare May 7, 2025 01:24
kodiakhq[bot]
kodiakhq bot previously approved these changes May 7, 2025
@renovate renovate bot force-pushed the renovate/netlify-cli-21.x branch from 9e4c131 to c494569 Compare May 7, 2025 21:34
kodiakhq[bot]
kodiakhq bot previously approved these changes May 7, 2025
@renovate renovate bot force-pushed the renovate/netlify-cli-21.x branch from c494569 to 51e3b8b Compare May 8, 2025 20:02
kodiakhq[bot]
kodiakhq bot previously approved these changes May 8, 2025
@renovate renovate bot force-pushed the renovate/netlify-cli-21.x branch from 51e3b8b to 518f9eb Compare May 9, 2025 13:10
kodiakhq[bot]
kodiakhq bot previously approved these changes May 9, 2025
@renovate renovate bot force-pushed the renovate/netlify-cli-21.x branch from 518f9eb to 2063d17 Compare May 9, 2025 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies javascript type: chore work needed to keep the product and development running smoothly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants