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
3 changes: 3 additions & 0 deletions electron/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Moved to bugstr monorepo from standalone bugstr-ts repository

### Fixed
- `clearPendingReports()` no longer throws when called before `init()`

## [0.1.0] - 2025-01-15

### Added
Expand Down
3 changes: 2 additions & 1 deletion electron/src/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,9 @@ function removeReport(id: string): void {
store.set("pendingReports", reports.filter((r) => r.id !== id));
}

/** Clear all pending reports */
/** Clear all pending reports. No-op if not initialized. */
export function clearPendingReports(): void {
if (!initialized) return;
store.set("pendingReports", []);
}

Expand Down
43 changes: 43 additions & 0 deletions rust/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added
- Symbolication module with support for 7 platforms:
- Android (ProGuard/R8 mapping.txt parsing)
- JavaScript/Electron (source map support)
- Flutter/Dart (flutter symbolize integration)
- Rust (backtrace parsing)
- Go (goroutine stack parsing)
- Python (traceback parsing)
- React Native (Hermes bytecode + JS source maps)
- `bugstr symbolicate` CLI command for symbolicating stack traces
- `POST /api/symbolicate` web API endpoint for dashboard integration
- `--mappings` option for `bugstr serve` to enable symbolication
- `MappingStore` for organizing mapping files by platform/app/version

### Changed
- None

### Fixed
- ProGuard/R8 parsing now supports `:origStart:origEnd` line range format
- Overloaded/inlined methods with same obfuscated name now correctly differentiated by line range
- Original line numbers preserved when method mapping is missing or line range doesn't match
- Path validation in `MappingStore.save_mapping` prevents directory traversal attacks

## [0.1.0] - 2025-01-15

### Added
- Initial release
- Crash report receiver with NIP-17 gift wrap decryption
- Web dashboard for viewing and grouping crash reports
- SQLite storage with deduplication
- Gzip compression support for large payloads
- `bugstr listen` command for terminal-only crash monitoring
- `bugstr serve` command for web dashboard with crash collection
- `bugstr pubkey` command to display receiver public key
6 changes: 6 additions & 0 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,10 @@ tower-http = { version = "0.6", features = ["cors", "fs"] }
rust-embed = { version = "8.5", features = ["axum"] }
mime_guess = "2.0"

# Symbolication
regex = "1.10"
sourcemap = "9.0"
tempfile = "3.14"
semver = "1.0"

[dev-dependencies]
Loading