Skip to content

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

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 ^4.2.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

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)

v19.1.7

Compare Source

Performance Improvements
  • speed up all commands by 75+ ms by enabling V8 code cache when available (node>=22.8.0) (#​7173) (a916f23)

v19.1.6

Compare Source

Bug Fixes

v19.1.5

Compare Source

Bug Fixes
  • npm-shrinkwrap.json: remove dev deps (8e9421a)

v19.1.4

Compare Source

Bug Fixes

v19.1.3

Compare Source

Bug Fixes
  • install pnpm in release workflow for E2E tests (c1a7cd6)

v19.1.1

Compare Source

Bug Fixes

v19.1.0

Compare Source

Features
Bug Fixes

v19.0.3

Compare Source

Bug Fixes

v19.0.2

Compare Source

Bug Fixes
  • better ip version detection when using skip wait port property in dev command (#​7074) (0cf0f11)
  • remove package.json#packageManager entry (#​7087) (736d006)

v19.0.1

Compare Source

Bug Fixes
Reverts

v19.0.0

Compare Source

⚠ BREAKING CHANGES
  • upgrade to commander@12 and fix some conflicting short option names (#​7008)
  • remove deprecated camelCase option variants (#​7046)
  • remove integration commands (#​7047)
Features
Bug Fixes

v18.1.0

Compare Source

Features
Bug Fixes

v18.0.4

Compare Source

Bug Fixes

v18.0.3

Compare Source

Bug Fixes

v18.0.2

Compare Source

Bug Fixes

v18.0.1

Compare Source

Bug Fixes

v18.0.0

Compare Source

⚠ BREAKING CHANGES
  • remove addons subcommand (#​6974)
  • remove the lm (large media) subcommand (#​6956)
Features
Bug Fixes

v17.38.1

Compare Source

Bug Fixes

v17.38.0

Compare Source

Features
Bug Fixes

v17.37.2

Compare Source

Bug Fixes

v17.37.1

Compare Source

Bug Fixes

v17.37.0

Compare Source

Features
Bug Fixes

v17.36.4

Compare Source

Bug Fixes

v17.36.3

Compare Source

Bug Fixes

v17.36.2

Compare Source

Bug Fixes

v17.36.1

Compare Source

Bug Fixes

v17.36.0

Compare Source

Features
  • dev: update dev server plugin env variable to be an array of plugins (#​6811) (dbcf1f5)

v17.35.0

Compare Source

Features

v17.34.4

Compare Source

Bug Fixes

v17.34.3

Compare Source

Bug Fixes

v17.34.2

Compare Source

Bug Fixes

v17.34.1

Compare Source

Bug Fixes

v17.34.0

Compare Source

Features
Bug Fixes

v17.33.6

Compare Source

Bug Fixes

v17.33.5

Compare Source

Bug Fixes

v17.33.4

Compare Source

Bug Fixes

v17.33.3

Compare Source

Bug Fixes

v17.33.2

Compare Source

Bug Fixes

v17.33.1

Compare Source

Bug Fixes

v17.33.0

Compare Source

Features
  • expose deploy context to functions and edge functions (#​6747) (a4a4026)

v17.32.1

Compare Source

Bug Fixes

v17.32.0

Compare Source

Features

v17.31.0

Compare Source

Features
  • add support for the Frameworks API (

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 force-pushed the renovate/netlify-cli-21.x branch 3 times, most recently from 2845f8f to c73fd79 Compare May 8, 2025 01:23
@renovate renovate bot force-pushed the renovate/netlify-cli-21.x branch from c73fd79 to c8ac11b Compare May 8, 2025 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants