releases.shpreview
Sentry/Sentry CLI

Sentry CLI

$npx -y @buildinternet/releases show sentry-cli
Mon
Wed
Fri
AprMayJunJulAugSepOctNovDecJanFebMarApr
Less
More
Releases39Avg13/moVersionsv3.2.0 → v3.3.6-snapshot.20260416.d4d6232
Jan 21, 2025

Various fixes & improvements

  • build: Replace dotenv with dotenvy (#2351) by @szokeasaurusrex
    • This fixes a problem where multiline env variables were not supported in .env files
Jan 20, 2025

Various fixes & improvements

  • build: Bump symbolic to 12.13.3 (#2346) by @szokeasaurusrex
  • ref(api): Replace custom deserializer with derive (#2337) by @szokeasaurusrex
  • ref(sourcemaps): Reduce sourcemap upload memory usage (#2343) by @szokeasaurusrex
  • build: Update memmap2 (#2340) by @szokeasaurusrex
  • ref: Fix new clippy lints (#2341) by @szokeasaurusrex
  • feat(dif): Fail debug-files upload when file is too big (#2331) by @szokeasaurusrex
  • ref(dif): Handle "too big" error with warning (#2330) by @szokeasaurusrex
  • ref(dif): Create type for DIF validation errors (#2329) by @szokeasaurusrex
  • ref(api): Remove unnecessary collect (#2333) by @szokeasaurusrex
Jan 2, 2025

New features

  • feat(debugid): Update debug ID snippet to write on globalThis when available (#2301) by @lforst

Improvements

  • build: Change release opt-level (#2325) by @szokeasaurusrex
  • build: Make backtraces useable in release builds (#2324) by @szokeasaurusrex

Bug fixes

  • fix(chunking): Remove power-of-two chunk size restriction (#2312) by @szokeasaurusrex
<details> <summary><h3>Non-user-facing changes</h3></summary>

We made several refactors and added several tests in this release. These changes should not affect users.

  • ref(sourcemaps): Reword "no sourcemap ref" (#2320) by @szokeasaurusrex
  • test(proguard): Add chunk upload tests (#2322) by @szokeasaurusrex
  • ref(proguard): Use existing chunked upload logic (#2318) by @szokeasaurusrex
  • ref(chunks): Remove upload-dif reference from poll_assemble (#2321) by @szokeasaurusrex
  • ref(chunks): Make render_detail take Option<&str> (#2317) by @szokeasaurusrex
  • ref(chunks): Extract upload logic from upload_difs_chunked (#2316) by @szokeasaurusrex
  • ref(chunks): Rename upload module to options (#2315) by @szokeasaurusrex
  • ref(chunks): Make ChunkOptions a struct (#2314) by @szokeasaurusrex
  • ref(dif): Use &str in DifUpload struct (#2307) by @szokeasaurusrex
  • ref(dif): Genericize poll_assemble (#2300) by @szokeasaurusrex
  • feat(release): Replace release bot with GH app (#2306) by @Jeffreyhung
  • fix(proguard): Add leading / to uploaded Proguard file name (#2304) by @szokeasaurusrex
  • ref(dif): Genericize try_assemble options parameter (#2299) by @szokeasaurusrex
  • ref(api): Rename ChunkedUploadOptions to indicate they are set by server (#2298) by @szokeasaurusrex
  • ref(proguard): Use Chunked<ProguardMapping> for proguard upload (#2296) by @szokeasaurusrex
  • ref(chunks): Make ChunkedDifRequest take Cow<'_, str> for name (#2295) by @szokeasaurusrex
  • ref(proguard): Replace MappingRef with ProguardMapping (#2294) by @szokeasaurusrex
  • ref(proguard): Create new proguard utils submodule (#2293) by @szokeasaurusrex
  • ref(proguard): Directly open paths as ByteView (#2292) by @szokeasaurusrex
  • ref(dif): Put hash in ChunkedDifRequest (#2290) by @szokeasaurusrex
  • ref(chunks): Rename Named trait to Assemblable (#2289) by @szokeasaurusrex
  • ref(dif): Make poll_assemble generic (#2287) by @szokeasaurusrex
  • ref(dif): Rename ToAssemble trait
  • ref(dif): Make try_assemble_dif generic
  • ref(dif): Replace ChunkedDifMatch with generic ChunkedObject
  • ref(utils): Use usize in get_sha1_checksums signature
  • test(chunk-upload): Test chunk uploading only some chunks missing
  • ref: Fix new Clippy lints
  • test(chunk-upload): Test upload where only some files need upload (#2276)
  • test(chunk-upload): Test chunk upload with many chunks (#2275)
  • ref(test): Use constant for expected request boundary (#2277)
  • test(chunk-upload): Add a test for uploading multiple debug files (#2274)
  • ref(sourcemaps): Fix clippy lint
  • ref(test): Introduce assert_cmd test manager
  • test(chunk-upload): Add test for full chunk upload
</details>
Nov 26, 2024

Various fixes & improvements

  • fix(sourcemaps): Correctly read files with debug_id and debugId (#2268) by @loewenheim
  • build: Remove unused dependencies (#2255) by @szokeasaurusrex
  • ref(proguard): Define environment variable name in constant (#2265) by @szokeasaurusrex
  • ref(test): Remove redundant line (#2266) by @szokeasaurusrex
  • fix(proguard): Wait until chunks are assembled (#2267) by @szokeasaurusrex
Nov 22, 2024

Features/improvements

  • feat(proguard): Introduce experimental chunk uploading feature (#2264) by @szokeasaurusrex
  • feat: Read debug IDs from debugId field in sourcemaps (#2222)

Various fixes & improvements

  • ref(proguard): Delete pointless code (#2263) by @szokeasaurusrex
  • fix: Improve error handling in dif.rs (#2225)
  • ci: Run codeql-analysis on all PRs (#2224)
  • build: Add assert_cmd as a dev dependency
  • ref(api): Remove dead code (#2217)
  • ref: Remove SENTRY_DUMP_REPONSE environment variable (#2212)
  • ref(utils): Remove allow(dead_code) from update utils (#2216)
  • ref(api): Remove blanket allow(dead_code) (#2215)
  • ref(api): Only allow dead code where needed (#2213)
<details> <summary><h3>Changes to tests</h3></summary>
  • ref(test): Broaden with_header_matcher types (#2261) by @szokeasaurusrex
  • ref(test): Accept impl Into<Matcher> for with_matcher (#2260) by @szokeasaurusrex
  • ref(test): Align with_reponse_body parameter to mockito (#2259) by @szokeasaurusrex
  • ref(test): Make mock builder status default to 200 (#2258) by @szokeasaurusrex
  • ref(test): Change chunk upload options org (#2257) by @szokeasaurusrex
  • ref(test): Bump mockito mocking library (#2254) by @szokeasaurusrex
  • ref(test): Use TestManager in new chunk upload test (#2253) by @szokeasaurusrex
  • ref(test): Add TestManager struct for uniform test setup (#2252) by @szokeasaurusrex
  • ref(tests): mock_common_endpoints refactor (#2251) by @szokeasaurusrex
  • ref(tests): Simplify mock_common_upload_endpoints (#2250) by @szokeasaurusrex
  • ref(tests): Extract mock_common_upload_endpoints into module (#2249) by @szokeasaurusrex
  • ref(tests): Rename mocking to mock_endpoint_builder (#2248) by @szokeasaurusrex
  • ref: Fix typo in tests (#2243) by @szokeasaurusrex
  • ref(test): Rename EndpointOptions to MockEndpointBuilder (#2247) by @szokeasaurusrex
  • ref(test): Refactor EndpointOptions (#2246) by @szokeasaurusrex
  • ref(test): Privatize struct fields of EndpointOptions (#2245) by @szokeasaurusrex
  • ref(test): Move mock endpoint code to module (#2244) by @szokeasaurusrex
  • test: batch send-event tests (#2230) by @szokeasaurusrex
  • test: Run trycmd tests with RUST_BACKTRACE=0 (#2242) by @szokeasaurusrex
  • test(send-metric): Batch tests together (#2241) by @szokeasaurusrex
  • test(react_native): Bubble up target_os (#2240) by @szokeasaurusrex
  • test(projects): Batch tests together (#2239) by @szokeasaurusrex
  • test(monitors): Batch monitors tests (#2236)
  • test(monitors): Delete unneeded monitors test (#2237)
  • test(organizations): Batch tests together (#2238)
  • test(events): Batch tests together (#2235)
  • test(debug-files): Batch tests together (#2234)
  • test: batch token validation tests (#2231)
  • test: batch upload-proguard tests (#2233)
  • test: batch update tests (#2232)
  • test: Batch org token tests together (#2229)
  • test: Batch bash_hook tests together (#2226)
  • test: batch login tests (#2228)
  • test: Batch send envelope tests together (#2227)
  • test(debug-files): Add test for assemble endpoint call
  • ref(tests): Decouple test env vars from trycmd code
</details>
Nov 4, 2024

Various fixes & improvements

  • deps: Update symbolic to 12.12.0 (#2210) by @loewenheim
Oct 30, 2024

Various fixes & improvements

  • meta: Remove .vscode directory from version control (#2208) by @szokeasaurusrex
  • build(windows): Statically link CRT on Windows (#2203) by @szokeasaurusrex
  • ref: Update main to indicate it does not return (#2192) by @szokeasaurusrex
  • ref: Indicate that commands::main does not return (#2191) by @szokeasaurusrex
Oct 22, 2024

Various fixes & improvements

  • feat(errors): Print backtrace when RUST_BACKTRACE=1 (#2189) by @szokeasaurusrex
  • fix(crons): Don't panic when passing --auth-token (#2172) by @szokeasaurusrex
Oct 7, 2024

All Xcode uploads are now executed in the foreground, which should allow for easier debugging of any problems that occur while uploading files during the build process, since errors will be logged directly within Xcode.

With this change, the --force-foreground flag is no longer needed, since we always upload in the foreground. The flag is now a deprecated no-op.

Oct 2, 2024

There are no code changes in this release. It is being performed to test an update to the release build process.

Oct 1, 2024

There are no code changes in this release. It is a re-release of 2.36.4, which we are making because 2.36.4 and 2.36.3 failed to publish to PyPI.

Sep 30, 2024

This releases fixes includes a bugfix (#2171 by @szokeasaurusrex) for #2169. The bug caused any command run with sentry-cli monitors run to not be executed whenever sending the cron checkin to Sentry failed, e.g. during a Sentry outage or due to some other network failure. With the bugfix, we log the error and execute the program even when there was an error sending the checkin.

We recommend that all users using sentry-cli monitors run upgrade to Sentry CLI version 2.36.4 immediately.

Sep 26, 2024

Various fixes & improvements

  • build: Upgrade curl-sys (#2164) by @szokeasaurusrex
Sep 23, 2024

Various fixes & improvements

  • fix(deploys): Honor --project in deploys new subcommand (#2160) by @szokeasaurusrex
  • ref(metrics): Deprecate send-metric commands (#2154) by @szokeasaurusrex
Sep 10, 2024

Various fixes & improvements

  • Fix a bug where background Xcode uploads sometimes failed
Sep 9, 2024

Various fixes & improvements

  • Log when file not added to source bundle (#2146) by @szokeasaurusrex
  • Bump Symbolic to 12.11.0. This fixes a bug where uploading source files sometimes failed when any of the files were not UTF-8 encoded
Sep 5, 2024

Various fixes & improvements

  • fix: Only warn about mismatched URLs when they are different (#2143) by @szokeasaurusrex
  • feat(proguard): Retry upload-proguard on 507 status (#2141) by @szokeasaurusrex
Aug 28, 2024

Various fixes & improvements

  • build: Bump symbolic to 12.10.1 (#2134) by @szokeasaurusrex
    • This includes an upstream bugfix for a bug that prevented debug file uploading with sources when any of the sources were not valid UTF-8.
  • fix(debugIds): Always instantiate global Error class in debugId injection snippet (#2132) by @Lms24

Various fixes & improvements

  • fix(react-native): Fix RN 0.75 node binary build fail (#2131) by @krystofwoldrich
  • feat: Prefer org auth token URL over manually provided URL (#2122) by @szokeasaurusrex
  • meta: Update version pin README.md (#2123) by @szokeasaurusrex
  • build: Update symbolic dependency to 12.10.0 (#2120) by @trzeciak
Aug 2, 2024

Security fix

This release contains a fix for a bug where auth tokens would, under the following circumstances, be logged to stdout:

  • The auth token was passed as a command line argument to Sentry CLI (via --auth-token)
  • The log level was set to info or debug
    • The default log level is warn, so users using the default log level were unaffected by this bug

We now redact the --auth-token argument and anything else that looks like it might be an auth token when logging the arguments that the Sentry CLI was called with (see #2115 and #2118 for details).

Other fixes & improvements

  • ref(token): Use secrecy crate to store auth token (#2116) by @szokeasaurusrex
  • fix: Improve "project not found" message (#2112) by @szokeasaurusrex
  • fix: Improve "release not found" message (#2112) by @szokeasaurusrex
  • Fall back to co-location heuristic if sourcemap url appears remote (#1871) by @brettdh
  • fix(sourcebundle): Skip non-UTF8 files (#2109) by @loewenheim
Latest
3.3.6-snapshot.20260416.d4d6232
Tracking Since
Mar 7, 2022
Last checked Apr 20, 2026