Skip to content

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

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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 ^19.1.7 -> ^21.5.0 age adoption passing confidence

Release Notes

netlify/cli (netlify-cli)

v21.5.0

Compare Source

Features

v21.4.2

Compare Source

Bug Fixes
  • notify activity dev server and double encoding when proxying to preview server (#​7300) (86e539e)

v21.4.1

Compare Source

Bug Fixes

v21.4.0

Compare Source

Features

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

v20.1.1

Compare Source

Bug Fixes

v20.1.0

Compare Source

Features
Bug Fixes

v20.0.4

Compare Source

Bug Fixes

v20.0.3

Compare Source

Bug Fixes

v20.0.2

Compare Source

Bug Fixes

v20.0.1

Compare Source

Bug Fixes

v20.0.0

Compare Source

⚠ BREAKING CHANGES
  • perform minimal accounts query when loading config
Performance Improvements
  • lazy load dev, dev-exec commands (9e27cdc)
  • perform minimal accounts query when loading config (3c2c5f3)

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 added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 6, 2025
@renovate renovate bot force-pushed the renovate/netlify-cli-21.x branch 6 times, most recently from 6eade7d to 5baec17 Compare May 13, 2025 01:40
@renovate renovate bot force-pushed the renovate/netlify-cli-21.x branch 5 times, most recently from 3289b70 to 86cc308 Compare May 19, 2025 15:49
@renovate renovate bot force-pushed the renovate/netlify-cli-21.x branch from 86cc308 to 177a786 Compare May 21, 2025 10:02
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants