Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

### Features

- (symbolicli) Support local JavaScript symbolication by @loewenheim in [#1956](https://github.com/getsentry/symbolicator/pull/1956)

## 26.5.0

### Bug Fixes 🐛
Expand Down
6 changes: 6 additions & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5021,6 +5021,7 @@ name = "symbolicli"
version = "26.5.0"
dependencies = [
"anyhow",
"axum",
"clap",
"dirs",
"prettytable-rs",
Expand All @@ -5036,8 +5037,13 @@ dependencies = [
"tempfile",
"tokio",
"toml",
"tower-http",
"tracing",
"tracing-subscriber",
"url",
"urlencoding",
"walkdir",
"zip 5.1.0",
]

[[package]]
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ tower-service = "0.3"
tracing = "0.1.34"
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "time"] }
url = { version = "2.2.0", features = ["serde"] }
urlencoding = "2.1.3"
uuid = { version = "1.0.0", features = ["v4", "serde"] }
walkdir = "2.3.1"
wasmbin = { version = "0.8.1", features = ["exception-handling"] }
Expand Down
1 change: 1 addition & 0 deletions crates/symbolicator-js/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ mod symbolication;
mod utils;

pub use service::SourceMapService;
pub use utils::extract_file_stem;
6 changes: 6 additions & 0 deletions crates/symbolicli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ license-file = "../../LICENSE.md"

[dependencies]
anyhow = { workspace = true }
axum = { workspace = true }
clap = { workspace = true }
dirs = { workspace = true }
prettytable-rs = { workspace = true }
Expand All @@ -27,5 +28,10 @@ tokio = { workspace = true, features = [
"sync",
] }
toml = { workspace = true }
tower-http = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
url = { workspace = true }
urlencoding = { workspace = true }
walkdir = { workspace = true }
zip = { workspace = true }
8 changes: 4 additions & 4 deletions crates/symbolicli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ symbolicli --offline <EVENT>
In offline mode `symbolicli` will not attempt to access a Sentry server, which means you can only
process local events.

*NB*: JavaScript symbolication is not supported in offline mode.
*NB*: JavaScript symbolication is supported in offline mode, but you have to pass a directory containing artifact bundles with `--symbols`.

# Configuration

Expand Down Expand Up @@ -48,6 +48,6 @@ You can control the level of logging output by passing the desired log level to
Available levels are `off`, `error`, `warn`, `info`, `debug`, `trace`. The default is `info`.

# Local Symbols
The `--symbols` option allows you to supply a local directory containing debug files to use
in addition to the configured sources. The directory must be sorted according to the
`unified` layout. The easiest way to accomplish that is using `symsorter`.
The `--symbols` option allows you to supply local debug information.
- For native events, pass a local directory containing debug files to use in addition to the configured sources. The directory must be sorted according to the `unified` layout. The easiest way to accomplish that is using `symsorter`.
- For JS events, pass a directory containing artifact bundles (individual files are not supported right now). Note that this only works in offline mode; in online mode, only files from Sentry are used.
Loading
Loading