Releases: getsentry/sentry-cli
Releases · getsentry/sentry-cli
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
2.38.0
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
2.37.0
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.
2.36.6
There are no code changes in this release. It is being performed to test an update to the release build process.