diff --git a/CHANGELOG.md b/CHANGELOG.md index b43ae84369..0e66596fe2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ we should rename this section to "Unreleased" --> - `api_key` configuration file field - `apiKey` option in the JavaScript API - Removed the `upload-proguard` subcommand's `--app-id`, `--version`, `--version-code`, `--android-manifest`, and `--platform` arguments ([#2876](https://github.com/getsentry/sentry-cli/pull/2876), [#2940](https://github.com/getsentry/sentry-cli/pull/2940), [#2948](https://github.com/getsentry/sentry-cli/pull/2948)). Users using these arguments should stop using them, as they are unnecessary. The information passed to these arguments is no longer visible in Sentry. +- Removed the `--started` argument from the `sentry-cli releases finalize` command ([#XXXX](TODO)). This argument is a no-op, so any users using it should simply stop using it. - In the JS API, the `SentryCli.execute` method's `live` parameter now only takes boolean values ([#2971](https://github.com/getsentry/sentry-cli/pull/2971)). Setting `live` to `true` now behaves like `'rejectOnError'` did previously, with a zero exit status resolving the returned promise with `"success (live mode)"` and a non-zero status rejecting the promise with an error message. - In the JS API, the `option` parameter to `Releases.uploadSourceMaps` no longer takes a `live` property ([#2971](https://github.com/getsentry/sentry-cli/pull/2971)). We now always execute the command with `live` set to `true`. diff --git a/src/commands/releases/finalize.rs b/src/commands/releases/finalize.rs index a7eb4a99a4..ed2555e9df 100644 --- a/src/commands/releases/finalize.rs +++ b/src/commands/releases/finalize.rs @@ -17,14 +17,6 @@ pub fn make_command(command: Command) -> Command { .value_name("URL") .help("Optional URL to the release for information purposes."), ) - .arg( - Arg::new("started") - .long("started") - .hide(true) - .value_parser(get_timestamp) - .value_name("TIMESTAMP") - .help("[DEPRECATED] This value is ignored."), - ) .arg( Arg::new("released") .long("released") @@ -40,13 +32,6 @@ pub fn execute(matches: &ArgMatches) -> Result<()> { #[expect(clippy::unwrap_used, reason = "legacy code")] let version = matches.get_one::("version").unwrap(); - if matches.get_one::>("started").is_some() { - log::warn!( - "The --started flag is deprecated. Its value is ignored, \ - and the argument will be completely removed in a future version." - ); - } - api.authenticated()?.update_release( &config.get_org(matches)?, version,