Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

- Removed all `sentry-cli files ...` and `sentry-cli releases files ...` subcommands ([#2956](https://github.com/getsentry/sentry-cli/pull/2956)). These commands provided functionality for managing release files, a feature that has been deprecated in Sentry. Users still using `sentry-cli files upload` to upload source maps should migrate to `sentry-cli sourcemaps upload`.
- Removed the `sentry-cli sourcemaps explain` command ([#2947](https://github.com/getsentry/sentry-cli/pull/2947)). The command had been deprecated for some time, since Sentry now has a better in-product debugging flow for source map problems via the "Unminify Code" button, which is displayed on any JavaScript issues which could not be unminified.
- Removed the `sentry-cli send-metric ...` subcommands ([#3006](https://github.com/getsentry/sentry-cli/pull/3006)). These commands have been deprecated, and the data they send is no longer accepted by Sentry.
- Removed support for the legacy API key authentication method ([#2935](https://github.com/getsentry/sentry-cli/pull/2935)). Sentry CLI now only supports authenticating with Auth Tokens. If you are using API key authentication via any of the following methods, you need to generate and use an [Auth Token](https://docs.sentry.io/account/auth-tokens/), instead:
- `--api-key` CLI flag
- `SENTRY_API_KEY` environment variable
Expand Down
52 changes: 17 additions & 35 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ regex = "1.7.3"
runas = "1.0.0"
rust-ini = "0.18.0"
semver = "1.0.16"
sentry = { version = "0.34.0", default-features = false, features = [
sentry = { version = "0.46.0", default-features = false, features = [
"anyhow",
"curl",
"contexts",
"metrics",
] }
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.93"
Expand Down
2 changes: 0 additions & 2 deletions src/commands/derive_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use clap::{ArgAction::SetTrue, Parser, Subcommand};

use super::dart_symbol_map::DartSymbolMapArgs;
use super::logs::LogsArgs;
use super::send_metric::SendMetricArgs;

#[derive(Parser)]
pub(super) struct SentryCLI {
Expand Down Expand Up @@ -35,6 +34,5 @@ pub(super) struct SentryCLI {
#[derive(Subcommand)]
pub(super) enum SentryCLICommand {
Logs(LogsArgs),
SendMetric(SendMetricArgs),
DartSymbolMap(DartSymbolMapArgs),
}
1 change: 0 additions & 1 deletion src/commands/logs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ pub(super) fn execute(_: &ArgMatches) -> Result<()> {
let SentryCLICommand::Logs(LogsArgs { subcommand }) = SentryCLI::parse().command else {
unreachable!("expected logs subcommand");
};

eprintln!("{BETA_WARNING}");

match subcommand {
Expand Down
2 changes: 0 additions & 2 deletions src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ mod releases;
mod repos;
mod send_envelope;
mod send_event;
mod send_metric;
mod sourcemaps;
#[cfg(not(feature = "managed"))]
mod uninstall;
Expand Down Expand Up @@ -67,7 +66,6 @@ macro_rules! each_subcommand {
$mac!(repos);
$mac!(send_event);
$mac!(send_envelope);
$mac!(send_metric);
$mac!(sourcemaps);
$mac!(dart_symbol_map);
#[cfg(not(feature = "managed"))]
Expand Down
15 changes: 0 additions & 15 deletions src/commands/send_metric/distribution.rs

This file was deleted.

15 changes: 0 additions & 15 deletions src/commands/send_metric/gauge.rs

This file was deleted.

29 changes: 0 additions & 29 deletions src/utils/metrics.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ pub mod formatting;
pub mod fs;
pub mod http;
pub mod logging;
pub mod metrics;
pub mod non_empty;
pub mod progress;
pub mod proguard;
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading