unstale

npm / netlify-cli

netlify-cli

What changed in netlify-cli 6 to 27, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

36 breaking1 security1 deprecations22 new APIs and options3 performance9 behavior and defaults57 tooling61 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

netlify-cli 2760 changes

Breaking changes 3

  • The --json option always emits a JSON object for every authentication and link state.

    27.4.0release notes

  • Usage errors use exit code 2, allowing scripts to distinguish them from other command outcomes.

    27.0.0release notes

  • Node.js 20 is no longer supported; Netlify CLI requires Node.js 22.13.0 or later.

    27.0.0release notes

Security 1

  • The Netlify token is stored in the native OS secure keychain.

    27.18.0release notes

New APIs and options 8

  • Adds --remote to build an existing commit remotely on Netlify.

    27.16.0release notes

  • Adds a scale configuration option for the server.

    27.15.0release notes

  • The CLI supports this environment variable for controlling telemetry.

    27.13.0release notes

  • The blobs commands accept a --region flag.

    27.9.0release notes

  • Adds an agent-detection helper for identifying the driving agent.

    27.6.0release notes

  • Adds --deploy-id to target a specific deploy; --follow streams that targeted deploy.

    27.5.0release notes

  • Adds support for deploy-specific environment variables when running netlify deploy.

    27.2.0release notes

  • Allows --site-id to be used as a silent flag, preventing common guessing mistakes from agents.

    27.0.1release notes

Behavior and default changes 7

  • The logs command includes server logs.

    27.18.0release notes

  • Netlify Server is enabled without requiring feature flags.

    27.17.0release notes

  • The CLI reports when it runs in a CI environment.

    27.13.0release notes

  • Netlify agent skills are installed by default when initializing a project.

    27.12.0release notes

  • Installed skills are synchronized with the manifest.

    27.12.0release notes

  • Redirects are matched with @netlify/redirect-matcher.

    27.11.0release notes

  • Agent runner IDs are forwarded when a deploy is created.

    27.3.0release notes

Tooling 17

  • Prints next steps when there is no terminal.

    27.20.0release notes

  • Netlify skills are kept up to date in the background.

    27.19.0release notes

  • The init command can set up the Netlify MCP server for a project.

    27.19.0release notes

  • The deploy command links to server logs.

    27.18.0release notes

  • Server logs can be paged by cursor.

    27.17.0release notes

  • The default export error now mentions Fetchable modules.

    27.16.0release notes

  • Adds a server log source for developers to use when viewing logs.

    27.15.0release notes

  • Adds support for deploying server config.

    27.14.0release notes

  • Servers can now be deployed from their own manifest.

    27.10.0release notes

  • Standalone servers can now be deployed.

    27.10.0release notes

  • MCP-spawned logins are credited with utm_source=mcp.

    27.8.0release notes

  • Adds local development support for the experimental server.

    27.7.0release notes

  • The CLI adds UTM attribution to its login URL.

    27.6.0release notes

  • The CLI attaches the driving agent to telemetry events.

    27.6.0release notes

  • The CLI includes the driving agent in its API User-Agent.

    27.6.0release notes

  • Automatically selects the latest finished deploy for logs, including failed deploys.

    27.5.0release notes

  • Adds support for uploading edge functions.

    27.1.0release notes

Fixes and other changes 24

  • Fixes netlify init so it does not recreate projects linked without Git.

    27.16.3release notes

  • Fixes pagination for logs.

    27.16.2release notes

  • Prevents a crash when the proxy errors after response headers are sent.

    27.16.0release notes

  • Responds with 413 or 408 instead of crashing on oversized or slow request bodies.

    27.16.0release notes

  • The CLI now passes the client address to Netlify Server in local development.

    27.14.3release notes

  • The dev server now starts when the standalone flag is enabled.

    27.14.2release notes

  • Agent runners can now be stopped with the POST stop endpoint.

    27.13.0release notes

  • Telemetry and error reports are sent in CI environments.

    27.13.0release notes

  • Help output now lists nested subcommands.

    27.13.0release notes

  • The init command no longer crashes when the team list is empty.

    27.13.0release notes

  • Skill sync outcomes are reported accurately on the first run.

    27.12.0release notes

  • The dev command uses URL separators for static file paths.

    27.12.0release notes

  • Feature flags are now passed to ef bundling when using --no-build.

    27.11.2release notes

  • Improves matching logic for manual repos.

    27.8.1release notes

  • The CLI can recover a local database that cannot start.

    27.4.2release notes

  • Every statement of a multi-statement query is rendered.

    27.1.3release notes

  • Fixed pulling migrations from an explicit branch.

    27.1.2release notes

  • The edge-functions bootstrap fallback now points at server.ts.

    27.1.2release notes

  • Fixes an npm 12 issue for projects with Netlify Extensions.

    27.1.1release notes

  • Reconstructs build_data when it is missing during direct-zip deploys.

    27.1.0release notes

  • Prevents file descriptor exhaustion when watching for EF changes.

    27.0.3release notes

  • Malformed --data now gets a helpful explanation instead of leaking a SyntaxError.

    27.0.1release notes

  • Handling of GitLab repositories is fixed.

    27.0.0release notes

  • When piped, --help output no longer joins flag names to their descriptions.

    27.0.0release notes

netlify-cli 2611 changes

New APIs and options 2

Tooling 1

  • Adds support for the new Netlify Database primitive.

    26.0.0release notes

Fixes and other changes 8

  • The dev command can now execute commands containing shell operators such as && and ||.

    26.2.0release notes

  • Zip output is silenced when creating source zips.

    26.2.0release notes

  • Fixes an infinite loop on error.

    26.1.0release notes

  • Sending the wrong command is no longer treated as an error.

    26.1.0release notes

  • The non-interactive variant no longer uses inquirer.

    26.0.1release notes

  • Adjusts the import path to account for function-specific directories.

    26.0.1release notes

  • Filters out more user error messages.

    26.0.1release notes

  • Sets NETLIFY_DB_DRIVER when running netlify dev.

    26.0.0release notes

netlify-cli 2523 changes

Breaking changes 6

  • The Go and Rust function templates are removed from the functions:create command.

    25.0.0release notes

  • The logs:deploy command is removed in favor of the unified logs command.

    25.0.0release notes

  • The logs:edge-functions command is removed in favor of the unified logs command.

    25.0.0release notes

  • The logs:function command is removed in favor of the unified logs command.

    25.0.0release notes

  • A new, improved unified logs command replaces the separate function, deploy, and edge-function log commands.

    25.0.0release notes

  • Netlify CLI stops including npm-shrinkwrap.json.

    25.0.0release notes

Deprecations 1

  • Deprecation messaging was added for the legacy Netlify DB extension.

    25.3.0release notes

New APIs and options 1

Tooling 8

  • A setup wizard is now available in database init.

    25.6.0release notes

  • The CLI supports the NETLIFY_DEPLOY_SOURCE environment variable.

    25.5.0release notes

  • Database commands received various improvements; the notes do not specify which commands or behaviors changed.

    25.4.0release notes

  • The command shows the migrations directory path, helping developers identify the directory used for migrations.

    25.4.0release notes

  • New database subcommands use database as their primary name.

    25.2.0release notes

  • Adds the db migrations reset command.

    25.1.0release notes

  • Adds the db status command.

    25.1.0release notes

  • The db status command supports the NETLIFY_DB_BRANCH environment variable.

    25.1.0release notes

Fixes and other changes 7

  • Fixes to the dev server may improve behavior when running the local development server.

    25.6.2release notes

  • Migration finding behavior was fixed to match netlify/build.

    25.3.0release notes

  • Anonymous deploys are more reliable.

    25.2.0release notes

  • Intentional user-input errors are filtered out from error reporting.

    25.2.0release notes

  • Update checks inside an agent sandbox no longer cause fatal issues.

    25.2.0release notes

  • Intentional user-input errors are filtered out from report-error.

    25.1.1release notes

  • Login now attempts to use a browser and falls back to a ticket instead of forcing tickets.

    25.0.1release notes

netlify-cli 2432 changes

Breaking changes 1

  • The sites:create-template command was removed.

    24.0.0release notes

New APIs and options 6

  • The CLI can load the database connection string from an environment variable.

    24.11.0release notes

  • Adds site search to the CLI.

    24.9.0release notes

  • Deploys can use the --allow-anonymous option.

    24.7.0release notes

  • Adds support for switching to a known user.

    24.4.0release notes

  • Adds --check as part of an agent-friendly login flow.

    24.2.0release notes

  • Adds --request as part of an agent-friendly login flow.

    24.2.0release notes

Performance 1

  • Drops 62 transitive dependencies and approximately 3 MB from the install size.

    24.3.0release notes

Tooling 18

  • The CLI can pull database migrations.

    24.11.0release notes

  • The CLI's database commands have been restructured.

    24.11.0release notes

  • Adds the db connect command.

    24.10.0release notes

  • Improves linking when running non-interactively.

    24.9.0release notes

  • Improves the directions for creating sites and logging in.

    24.8.2release notes

  • The deploy command now sets branch as alias.

    24.8.0release notes

  • The sites command now supports the --json option.

    24.6.1release notes

  • With --json --verbose, log output is written to stderr.

    24.6.0release notes

  • The CLI now supports a create flow with agent runners.

    24.5.0release notes

  • The deploy command has an AX-related change; the notes do not specify further details.

    24.5.0release notes

  • Propagates the @netlify/build version, primary framework, and its version.

    24.4.0release notes

  • Adds a command for scaffolding migrations.

    24.3.0release notes

  • Executes db commands on a running instance.

    24.1.0release notes

  • Adds the db migrate command.

    24.1.0release notes

  • Adds the db reset command.

    24.1.0release notes

  • Makes deploy-specific environment variables available when running netlify dev.

    24.1.0release notes

  • Stops @netlify/dev on process exit, so it no longer continues running after the process exits.

    24.0.1release notes

  • An error message changed.

    24.0.0release notes

Fixes and other changes 6

  • Improves error handling around missing commands or unknown flags.

    24.8.1release notes

  • Fixed deployment of database migrations.

    24.6.2release notes

  • Accessibility was improved for environment variable setting.

    24.6.0release notes

  • Improves the experience of creating sites when not logged in and when using sites:create.

    24.5.1release notes

  • Adds support for an account scoped AI gateway.

    24.1.0release notes

  • Suppresses spinner output when the --json or --silent flag is passed.

    24.1.0release notes

netlify-cli 2319 changes

Breaking changes 2

  • AIG gating now uses site caps.

    23.15.0release notes

  • The Node.js version was updated to 24, which may affect the runtime needed to use the CLI.

    23.10.0release notes

Behavior and default changes 1

  • AIG environment variables are passed to child processes.

    23.13.0release notes

Tooling 7

  • Support for AIG was added to dev-exec.

    23.15.0release notes

  • Support for AIG was added to serve.

    23.15.0release notes

  • Adds a check for whether the AI gateway is disabled.

    23.14.0release notes

  • Mentions the detected framework when presenting build settings.

    23.14.0release notes

  • Netlify CLI now supports a skew protection token.

    23.12.0release notes

  • A deploy is created before the build runs.

    23.11.0release notes

  • Netlify CLI loads generated functions from Netlify Build.

    23.0.0release notes

Fixes and other changes 9

  • The deploy command now normalizes content.

    23.15.0release notes

  • Results now include sourceZipFileName for printing when it is available.

    23.12.3release notes

  • Fixed an EBADPLATFORM error when running npm ci.

    23.12.1release notes

  • Netlify CLI now handles ECONNRESET errors in Node.js 24.x.

    23.11.1release notes

  • Fixes corruption when uploading binary files to blob storage.

    23.10.0release notes

  • Restores support for the dev server in monorepos.

    23.10.0release notes

  • Edge functions are now bundled when they exist and you deploy with --no-build.

    23.10.0release notes

  • Uses a relative path for the functions folder.

    23.9.5release notes

  • Local Node.js options now match those used by AWS Lambda in production.

    23.9.4release notes

netlify-cli 222 changes

Breaking changes 1

  • Support for Node.js 18.x and 19.x was dropped.

    22.0.0release notes

Fixes and other changes 1

netlify-cli 2110 changes

Breaking changes 4

  • Use --no-build to opt into the previous behavior and deploy without running the configured build command.

    21.0.0release notes

  • The deploy command now runs the site's configured build command before deployment by default; use --no-build to deploy without building.

    21.0.0release notes

  • Deploy command output was polished and improved; scripts that look for specific output strings may stop working. Use --json for stable output that conforms to semantic versioning.

    21.0.0release notes

  • Support for the deprecated netlify-lambda package was removed; users still using it should follow the migration guide.

    21.0.0release notes

Behavior and default changes 1

  • Telemetry now sends command options and arguments.

    21.0.0release notes

Tooling 4

  • Command help output now links to relevant Netlify documentation.

    21.0.0release notes

  • Use --json for stable output that conforms to semantic versioning.

    21.0.0release notes

  • The dev command output was polished and improved.

    21.0.0release notes

  • The postinstall onboarding message was polished and improved.

    21.0.0release notes

Fixes and other changes 1

  • Fixed the framework server loading spinner that displays “Waiting for framework port”.

    21.0.0release notes

netlify-cli 203 changes

Breaking changes 1

  • The command no longer reports team membership permissions; with --json, Teams is now a list of team names instead of a hash of team names to permissions.

    20.0.0release notes

Performance 2

  • Lazy-loading dev and dev:exec commands saves about 30% of boot time for all commands.

    20.0.0release notes

  • Using a minimal accounts query when loading config saves more than 1000 ms on most commands.

    20.0.0release notes

netlify-cli 194 changes

Breaking changes 3

  • Deprecated camelCase option variants were removed, so CLI commands must use the supported option names.

    19.0.0release notes

  • Integration commands were removed from the CLI.

    19.0.0release notes

  • The CLI upgraded to commander@12 and fixed conflicting short option names.

    19.0.0release notes

Fixes and other changes 1

  • The dev server now processes environment mutations made by plugins.

    19.0.0release notes

netlify-cli 184 changes

Breaking changes 2

  • The addons subcommand was removed, so it can no longer be used.

    18.0.0release notes

  • The lm (large media) subcommand was removed, so it can no longer be used.

    18.0.0release notes

Tooling 1

  • Shell completion support was added for the ntl alias in zsh.

    18.0.0release notes

Fixes and other changes 1

  • Fixed the dev server IP when watch is skipped.

    18.0.0release notes

netlify-cli 173 changes

Breaking changes 1

New APIs and options 2

netlify-cli 162 changes

Breaking changes 2

  • Replaces framework-info with build-info.

    16.0.0release notes

  • In monorepos, the CLI now prompts you to select the site for the operations you run.

    16.0.0release notes

netlify-cli 152 changes

Breaking changes 1

Fixes and other changes 1

  • The Host header is now set on edge functions in HTTPS.

    15.0.0release notes

netlify-cli 146 changes

Breaking changes 3

  • Deno file system APIs in edge functions are no longer available locally, aligning local behavior with production.

    14.0.0release notes

  • User and integrations edge functions now execute in the correct order.

    14.0.0release notes

  • Support for Node.js 14.16 and 14.17 was dropped, affecting which Node.js versions developers can use.

    14.0.0release notes

Tooling 1

  • Environment variables from .env files are now injected into edge functions locally.

    14.0.0release notes

Fixes and other changes 2

  • Precedence for duplicate functions is determined based on extension.

    14.0.0release notes

  • Plugins now receive the correct URL and DEPLOY_URL environment variables in live mode.

    14.0.0release notes

netlify-cli 131 changes

Breaking changes 1

  • Netlify Dev responses now use the server header instead of x-powered-by, bringing dev server headers to parity with production.

    13.0.0release notes

netlify-cli 121 changes

Breaking changes 1

netlify-cli 111 changes

Breaking changes 1

  • Netlify Dev installs and runs build plugins required by frameworks, applying their version requirements, such as Node version requirements.

    11.0.0release notes

netlify-cli 101 changes

New APIs and options 1

netlify-cli 81 changes

Breaking changes 1

  • Node 13, 14.0.0–14.13.1, and 15 are no longer supported.

    8.0.0release notes

netlify-cli 71 changes

Breaking changes 1

  • Node 10 support was removed, so developers can no longer use Node 10 with this release.

    7.0.0release notes

netlify-cli 63 changes

Breaking changes 1

  • The deploy command now looks for a functions cache created by build and deploys existing function archives.

    6.0.0release notes

New APIs and options 2

  • Support for a manifest file was added.

    6.0.0release notes

  • This flag disables use of the functions cache and tells the CLI to create fresh archives during deployment.

    6.0.0release notes