@edraj/sauron-browser 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,45 @@
1
+ # Changelog
2
+
3
+ All notable changes to `@edraj/sauron-browser` are documented here.
4
+
5
+ ## 1.0.0 - 2026-07-27
6
+
7
+ First public release. Prior `0.x` versions were internal-only and were never
8
+ published to npm.
9
+
10
+ ### Package
11
+
12
+ - **Renamed to `@edraj/sauron-browser`.** The wire identity is unchanged — the
13
+ SDK still reports itself as `sauron.javascript` in the envelope header — so
14
+ the rename is invisible to the ingest gateway and the dashboard.
15
+
16
+ ### Capture
17
+
18
+ - Automatic capture of uncaught errors and unhandled promise rejections.
19
+ - `captureException()` / `captureMessage()` for manual reporting.
20
+ - Stack-trace parsing with in-app frame detection, and `debug_id` extraction
21
+ for source-map symbolication on the server.
22
+
23
+ ### Product analytics
24
+
25
+ - `track()`, `identify()`, `trackTransaction()`.
26
+ - Screen tracking via `setScreen()` / `getScreen()`.
27
+ - Opt-in automatic capture (clicks, navigation, page views).
28
+
29
+ ### Scope and metadata
30
+
31
+ - `setUser()`, `setTag()`, `setTags()`, `setContext()`, `setExtra()`.
32
+ - Breadcrumbs via `addBreadcrumb()`, plus automatic console/navigation/fetch
33
+ breadcrumbs.
34
+ - `beforeSend` hook runs on **every** item, not just errors, so analytics
35
+ events can be scrubbed or dropped the same way errors can.
36
+
37
+ ### Transport
38
+
39
+ - Batches items, gzips them with `fflate`, and delivers envelopes to the
40
+ ingest gateway.
41
+ - Honors the full ingest response policy, including rate-limit backoff and
42
+ `401` shutdown.
43
+ - Envelopes are chunked to at most `maxItemsPerEnvelope` (default 1000) so a
44
+ backlog can never build a body the server rejects as non-retryable.
45
+ - `flush()` / `close()` for deterministic shutdown.