Packages

@sentry/cli

3.8.2 · 22 Oct 2026FSL-1.1-MIT24.7M / weekRepositoryHomepagenpmAtom feed

Your version

2.0.0

major12 Apr 2022Where it was published

2.58.6 is the newest release of 2.x.

In short

5 breaking9 new4 changed10 internal

  • breaking

    Breaking changes are denotated with (breaking) tag, and appropriate required changes are provided for each entry.

  • breaking

    Update minimal required node version to v12 (update node version) (breaking)

  • breaking

    Rename --header argument of releases files upload command to --file-header (rename flag) (breaking)

  • breaking

    Rename CUSTOM_HEADER to SENTRY_HEADER and defaults.custom_header to http.header (rename env variable or

  • breaking

    Make ignore-empty for releases set-commits a default behavior and hide --ignore-empty flag (remove

Release note

This is the first, long-overdue major release in over 5 years of sentry-cli's life.
Some APIs were removed, some reworked, some newly added.

Most of introduced API changes are backward compatible through hidden aliases, so there is no immediate need for users
developing 3rd party tools to make all the changes immediatelly.
We do however encourage everyone to do it sooner or later, as deprecated items will be removed in the next major
releases.

Breaking changes are denotated with (breaking) tag, and appropriate required changes are provided for each entry.

New APIs

  • Add debug-files command, which is a joined functionality of difutil and upload-dif commands.

  • Add deploys command, which was extracted from releases deploys subcommand.

  • Add files command, which was extracted from releases files subcommand.

  • Add sourcemaps upload command, which was extracted from releases files upload-sourcemaps subcommand.

  • Add sourcemaps resolve command.

  • Allow for specifying global --header argument, which supports multiple occurences, to configure outgoing
    requests

  • Implement global --quiet/--silent flags to allow silencing stdout output (This flag is currently
    implemented only for selected subcommands)

Removed APIs

  • ref: Remove upload-dsym command (use debug-files upload instead) (breaking) restored in 2.0.2 as hidden
    alias

  • ref: Remove difutil id subcommand (use debug-files check instead) (breaking) restored in 2.0.2 as hidden
    alias

  • ref: Remove monitors command (support for this feature has been dropped) (breaking) - restored in 2.0.3 as
    hidden command

  • ref: Remove bash-hook command (use 1.x if you still need the functionality) (breaking) - restored in 2.0.3 as
    hidden command

Breaking Changes

  • breaking

    Update minimal required node version to v12 (update node version) (breaking)

  • breaking

    Rename --header argument of releases files upload command to --file-header (rename flag) (breaking)

  • breaking

    Rename CUSTOM_HEADER to SENTRY_HEADER and defaults.custom_header to http.header (rename env variable or
    update config file) (breaking)

  • breaking

    Make ignore-empty for releases set-commits a default behavior and hide --ignore-empty flag (remove
    --ignore-empty usage) (breaking)

Various fixes & improvements

  • Implement --quiet flag for releases upload-sourcemaps command

  • Implement --quiet flag for difutil check command