Skip to content

Commit 999c951

Browse files
feat(snapshots): Add local image diff command using odiff
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 49f8725 commit 999c951

16 files changed

Lines changed: 1013 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Features
6+
7+
- (snapshots) Add `snapshots diff` command for locally comparing directories of PNG snapshot images using odiff ([#3306](https://github.com/getsentry/sentry-cli/pull/3306))
8+
59
### Fixes
610

711
- Respect `CURL_CA_BUNDLE` and `SSL_CERT_FILE` when configuring TLS certificate authorities ([#3301](https://github.com/getsentry/sentry-cli/pull/3301)).

Cargo.lock

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ sha1_smol = { version = "1.0.0", features = ["serde", "std"] }
6969
sha2 = "0.10.9"
7070
sourcemap = { version = "9.3.0", features = ["ram_bundle"] }
7171
symbolic = { version = "12.13.3", features = ["debuginfo-serde", "il2cpp"] }
72+
tar = "0.4"
7273
thiserror = "1.0.38"
7374
tokio = { version = "1.47", features = ["rt"] }
7475
url = "2.3.1"

src/commands/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ mod releases;
4040
mod repos;
4141
mod send_envelope;
4242
mod send_event;
43+
mod snapshots;
4344
mod sourcemaps;
4445
#[cfg(not(feature = "managed"))]
4546
mod uninstall;
@@ -70,6 +71,7 @@ macro_rules! each_subcommand {
7071
$mac!(repos);
7172
$mac!(send_event);
7273
$mac!(send_envelope);
74+
$mac!(snapshots);
7375
$mac!(sourcemaps);
7476
$mac!(dart_symbol_map);
7577
#[cfg(not(feature = "managed"))]

0 commit comments

Comments
 (0)