@edraj/sauron-browser 1.0.0 → 1.3.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 +19 -0
- package/README.md +988 -53
- package/dist/index.cjs +181 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +91 -5
- package/dist/index.d.ts +91 -5
- package/dist/index.js +178 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@edraj/sauron-browser` are documented here.
|
|
4
4
|
|
|
5
|
+
## 1.3.0
|
|
6
|
+
|
|
7
|
+
- **Workflows** — bound a named span of activity with start / end / cancel, and
|
|
8
|
+
read the active one back. Every event, error and transaction captured while a
|
|
9
|
+
workflow is active is stamped with its `workflow_id` / `workflow_name`, so the
|
|
10
|
+
dashboard can group a whole flow (`checkout`, `password_reset`, …) as one unit.
|
|
11
|
+
Entirely optional: an app that never starts a workflow behaves exactly as before.
|
|
12
|
+
- **`beforeSend` can no longer throw into your app.** A hook that raises is logged
|
|
13
|
+
and the item is sent unmodified, rather than the exception escaping through the
|
|
14
|
+
capture call. Returning `null` still drops the item as before.
|
|
15
|
+
|
|
16
|
+
## 1.2.0
|
|
17
|
+
|
|
18
|
+
- **Breaking: the `environment` option has been removed.** An environment is now
|
|
19
|
+
identified by the ingest key it belongs to, not by a string the client sends.
|
|
20
|
+
Create environments in the dashboard under app settings; each one has its own
|
|
21
|
+
DSN. Delete `environment` from your `init` call and swap in the DSN of the
|
|
22
|
+
environment you want to report to.
|
|
23
|
+
|
|
5
24
|
## 1.0.0 - 2026-07-27
|
|
6
25
|
|
|
7
26
|
First public release. Prior `0.x` versions were internal-only and were never
|