Skip to content

Commit

Permalink
Merge branch 'release/2.40.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
getsentry-bot committed Jan 2, 2025
2 parents c08be9a + 6b72bd7 commit 3638236
Show file tree
Hide file tree
Showing 11 changed files with 92 additions and 35 deletions.
93 changes: 75 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,64 @@

"You know what they say. Fool me once, strike one, but fool me twice... strike three." — Michael Scott

## 2.40.0

### 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>

## 2.39.1

### Various fixes & improvements
Expand Down Expand Up @@ -73,7 +131,6 @@

</details>


## 2.38.2

### Various fixes & improvements
Expand Down Expand Up @@ -159,8 +216,8 @@ was an error sending the checkin.
### 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.
- 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

## 2.34.0
Expand All @@ -180,7 +237,7 @@ This release contains a fix for a bug where auth tokens would, under the followi

- 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
- 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).
Expand Down Expand Up @@ -330,10 +387,10 @@ message explaining that the auth token is required but missing.
### New features

- New cron monitor configuration options (#1922) by @szokeasaurusrex
- The `sentry-cli monitors run` command now has two new command line arguments: `--failure-issue-threshold` and
`--recovery-threshold`. These arguments allow the user to specify the number of consecutive failed checkins that
trigger an issue to be created and the number of successful checkins that trigger the issue to be resolved,
respectively.
- The `sentry-cli monitors run` command now has two new command line arguments: `--failure-issue-threshold` and
`--recovery-threshold`. These arguments allow the user to specify the number of consecutive failed checkins that
trigger an issue to be created and the number of successful checkins that trigger the issue to be resolved,
respectively.

### Various fixes & improvements

Expand Down Expand Up @@ -374,7 +431,7 @@ message explaining that the auth token is required but missing.
## 2.25.1

- fix: Upload Xcode debug files and source maps background upload (#1896) by @krystofwoldrich
- revert: Fixed a `curl` issue on Windows (#1815) by @xpirt
- revert: Fixed a `curl` issue on Windows (#1815) by @xpirt

## 2.25.0

Expand Down Expand Up @@ -906,7 +963,7 @@ This is something users would run locally so I do not think we can track usage e
- Verify your source maps are built correctly
- Verify your source maps work locally
- Verify your source files are not too large
- this is a fuzzy requirement today in sentry
- this is a fuzzy requirement today in sentry
- Verify artifacts are not gzipped
- Verify workers are sharing the same volume as web (if running self-hosted Sentry via Docker)
- Should spit out an easily readable and easily copy and paste - to put into ZenDesk or elsewhere for support colleagues
Expand All @@ -918,15 +975,15 @@ https://github.com/getsentry/rust-sourcemap/tree/master/cli
- In sentry error incorrect source map location
- this helps when producing sourcemaps locally then line and column
- this verify that it resolves locally
- if yes then it is a problem in between on sentry server side or upload
- 1st Verifies what you upload to sentry is exactly what you upload to sentry
- 2nd step from “y-tho” ensure previous steps are not for waste
- if yes then it is a problem in between on sentry server side or upload
- 1st Verifies what you upload to sentry is exactly what you upload to sentry
- 2nd step from “y-tho” ensure previous steps are not for waste
- What is being automated?
- on release page you have your files (release artificats)
- download
- manually check the line number matches the error
- if correct then data is correct
- then you know an error with cli and not with the source maps that were uploaded
- on release page you have your files (release artificats)
- download
- manually check the line number matches the error
- if correct then data is correct
- then you know an error with cli and not with the source maps that were uploaded

By: @kamilogorek (#1235)

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Armin Ronacher <[email protected]>"]
build = "build.rs"
name = "sentry-cli"
version = "2.39.1"
version = "2.40.0"
edition = "2021"
rust-version = "1.80"

Expand Down
2 changes: 1 addition & 1 deletion npm-binary-distributions/darwin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/cli-darwin",
"version": "2.39.1",
"version": "2.40.0",
"description": "The darwin distribution of the Sentry CLI binary.",
"repository": "https://github.com/getsentry/sentry-cli",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion npm-binary-distributions/linux-arm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/cli-linux-arm",
"version": "2.39.1",
"version": "2.40.0",
"description": "The linux arm distribution of the Sentry CLI binary.",
"repository": "https://github.com/getsentry/sentry-cli",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion npm-binary-distributions/linux-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/cli-linux-arm64",
"version": "2.39.1",
"version": "2.40.0",
"description": "The linux arm64 distribution of the Sentry CLI binary.",
"repository": "https://github.com/getsentry/sentry-cli",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion npm-binary-distributions/linux-i686/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/cli-linux-i686",
"version": "2.39.1",
"version": "2.40.0",
"description": "The linux x86 and ia32 distribution of the Sentry CLI binary.",
"repository": "https://github.com/getsentry/sentry-cli",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion npm-binary-distributions/linux-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/cli-linux-x64",
"version": "2.39.1",
"version": "2.40.0",
"description": "The linux x64 distribution of the Sentry CLI binary.",
"repository": "https://github.com/getsentry/sentry-cli",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion npm-binary-distributions/win32-i686/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/cli-win32-i686",
"version": "2.39.1",
"version": "2.40.0",
"description": "The windows x86 and ia32 distribution of the Sentry CLI binary.",
"repository": "https://github.com/getsentry/sentry-cli",
"license": "BSD-3-Clause",
Expand Down
2 changes: 1 addition & 1 deletion npm-binary-distributions/win32-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/cli-win32-x64",
"version": "2.39.1",
"version": "2.40.0",
"description": "The windows x64 distribution of the Sentry CLI binary.",
"repository": "https://github.com/getsentry/sentry-cli",
"license": "BSD-3-Clause",
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/cli",
"version": "2.39.1",
"version": "2.40.0",
"description": "A command line utility to work with Sentry. https://docs.sentry.io/hosted/learn/cli/",
"repository": "git://github.com/getsentry/sentry-cli.git",
"homepage": "https://docs.sentry.io/hosted/learn/cli/",
Expand Down Expand Up @@ -30,13 +30,13 @@
"prettier": "2.8.8"
},
"optionalDependencies": {
"@sentry/cli-darwin": "2.39.1",
"@sentry/cli-linux-arm": "2.39.1",
"@sentry/cli-linux-arm64": "2.39.1",
"@sentry/cli-linux-i686": "2.39.1",
"@sentry/cli-linux-x64": "2.39.1",
"@sentry/cli-win32-i686": "2.39.1",
"@sentry/cli-win32-x64": "2.39.1"
"@sentry/cli-darwin": "2.40.0",
"@sentry/cli-linux-arm": "2.40.0",
"@sentry/cli-linux-arm64": "2.40.0",
"@sentry/cli-linux-i686": "2.40.0",
"@sentry/cli-linux-x64": "2.40.0",
"@sentry/cli-win32-i686": "2.40.0",
"@sentry/cli-win32-x64": "2.40.0"
},
"scripts": {
"postinstall": "node ./scripts/install.js",
Expand Down

0 comments on commit 3638236

Please sign in to comment.