Releases: getsentry/sentry-cli
Releases · getsentry/sentry-cli
2.42.2
Various fixes & improvements
- fix(sourcemaps): Exclude skipped files from bundle file count (#2397) by @a-hariti
- fix: warn about missing SENTRY_RELEASE when it's set to empty string (#2394) by @a-hariti
- build(node): Bump
semver@5.*
dependencies (#2399) by @szokeasaurusrex - build(node): Bump
semver@6.*
(#2400) by @szokeasaurusrex - build(node): Bump
semver@^7.*
dependencies (#2398) by @szokeasaurusrex - build(node): Bump
[email protected]
(#2396) by @szokeasaurusrex - build(node): Bump
cross-spawn@^6.0.5
(#2395) by @szokeasaurusrex - ci(docker): Release Docker image to GHCR (#2393) by @szokeasaurusrex
- ci(docker): Fix caching (#2391) by @szokeasaurusrex
2.42.1
This release is a re-release of 2.42.0. There are no code changes to the CLI. We are performing this re-release because 2.42.0 failed to publish to Docker Hub.
Various fixes & improvements
- ci(docker): Don't publish to GHCR via Craft (#2392) by @szokeasaurusrex
2.42.0
With this release, we now build and publish multi-architecture (arm64 and aarch64) Docker images for Sentry CLI.
Various fixes & improvements
- feat: Only warn for token org mismatch (#2382) by @szokeasaurusrex
- feat: Improve custom panic hook (#2355) by @szokeasaurusrex
- We now have better error messages when there is an internal error in Sentry CLI.
- feat: Deprecate
--use-artifact-bundle
option (#2349) by @szokeasaurusrex - feat: Deprecate
useArtifactBundle
JS option (#2348) by @szokeasaurusrex - fix(update): Properly handle errors when getting latest CLI version (#2370) by @szokeasaurusrex
Non-user-facing changes
- ci(docker): Add Craft targets for
docker
(#2390) by @szokeasaurusrex - ci(docker): Enable caching of Docker builds (#2389) by @szokeasaurusrex
- ci(docker): Remove invalid argument (#2388) by @szokeasaurusrex
- ci(docker): Build each architecture natively (#2387) by @szokeasaurusrex
- build(docker): Build Docker image on host architecture (#2386) by @szokeasaurusrex
- build: Use hash instead of branch in GHCR tag (#2384) by @szokeasaurusrex
- build: Build Docker image in CI and publish to GHCR (#2383) by @szokeasaurusrex
- ci: Pin Actions runners' OS versions (#2353) by @szokeasaurusrex
- meta: Update LICENSE (#2380) by @szokeasaurusrex
- build: Update
url
crate (#2379) by @szokeasaurusrex - docs: Explain why lint is disabled (#2371) by @szokeasaurusrex
- ref(sourcemaps): Fix
unnecessary_wraps
foradd_debug_id_references
(#2369) by @szokeasaurusrex - ref(sourcemaps): Fix
unnecessary_wraps
foradd_sourcemap_references
(#2368) by @szokeasaurusrex - ref(sourcemaps): Fix
unnecessary_wraps
lint forSourceMapsProcessor::add
(#2367) by @szokeasaurusrex - ref(sourcemaps): Make
lookup_pos
not returnOption
(#2366) by @szokeasaurusrex - ref: Make
Api::with_body
returnSelf
(#2363) by @szokeasaurusrex - ref(api): Make
with_retry
returnSelf
(#2365) by @szokeasaurusrex - ref(api): Make
progress_bar_mode
returnSelf
(#2364) by @szokeasaurusrex - ref(config): Fix
unnecessary_wraps
lint forset_auth
(#2362) by @szokeasaurusrex - ref(config): Remove unneeded
Result
fromConfig::from_file
(#2361) by @szokeasaurusrex - ref: Enable
clippy::unnecessary_wraps
lint (#2358) by @szokeasaurusrex - ci: Change lint action to
-D warnings
(#2359) by @szokeasaurusrex - ref: Simplify
--log-level
parsing (#2356) by @szokeasaurusrex - docs: Correct typo in doc string (#2354) by @szokeasaurusrex
2.41.1
Various fixes & improvements
- build: Replace
dotenv
withdotenvy
(#2351) by @szokeasaurusrex- This fixes a problem where multiline env variables were not supported in
.env
files
- This fixes a problem where multiline env variables were not supported in
2.41.0
Various fixes & improvements
- build: Bump
symbolic
to12.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
2.40.0
New features
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
Non-user-facing changes
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 frompoll_assemble
(#2321) by @szokeasaurusrex - ref(chunks): Make
render_detail
takeOption<&str>
(#2317) by @szokeasaurusrex - ref(chunks): Extract upload logic from
upload_difs_chunked
(#2316) by @szokeasaurusrex - ref(chunks): Rename
upload
module tooptions
(#2315) by @szokeasaurusrex - ref(chunks): Make
ChunkOptions
astruct
(#2314) by @szokeasaurusrex - ref(dif): Use
&str
inDifUpload
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
takeCow<'_, str>
forname
(#2295) by @szokeasaurusrex - ref(proguard): Replace
MappingRef
withProguardMapping
(#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 toAssemblable
(#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 genericChunkedObject
- ref(utils): Use
usize
inget_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
2.39.1
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
2.39.0
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)
Changes to tests
- ref(test): Broaden
with_header_matcher
types (#2261) by @szokeasaurusrex - ref(test): Accept
impl Into<Matcher>
forwith_matcher
(#2260) by @szokeasaurusrex - ref(test): Align
with_reponse_body
parameter tomockito
(#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
tomock_endpoint_builder
(#2248) by @szokeasaurusrex - ref: Fix typo in tests (#2243) by @szokeasaurusrex
- ref(test): Rename
EndpointOptions
toMockEndpointBuilder
(#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 withRUST_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
2.38.2
Various fixes & improvements
- deps: Update symbolic to 12.12.0 (#2210) by @loewenheim
2.38.1
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