@flareapp/js 2.1.0 → 2.2.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 CHANGED
@@ -1,3 +1,15 @@
1
+ ## next-version — 2026-05-28
2
+
3
+ - Internal refactor: most env-agnostic logic moved to the new `@flareapp/core`
4
+ package. Public API is unchanged: `import { flare, Flare, ... } from '@flareapp/js'`
5
+ continues to work.
6
+ - `redactFullPath` is now a deprecated alias for `redactUrlQuery` (re-exported
7
+ from `@flareapp/core`). Replace call sites at your convenience; both keep
8
+ working.
9
+ - Per-call mutable state (glows, context attributes, entry point) now lives on
10
+ a `Scope` object internally. Behavior is identical in the browser. The change
11
+ enables `@flareapp/node` to isolate per-request state via AsyncLocalStorage.
12
+
1
13
  ## 2.0.0
2
14
 
3
15
  ### Breaking changes
package/README.md CHANGED
@@ -25,6 +25,11 @@ collects browser context, and sends error reports to Flare.
25
25
  Full documentation on configuration, hooks, context, breadcrumbs, solution providers, and more is available
26
26
  at [flareapp.io/docs/javascript/general/installation](https://flareapp.io/docs/javascript/general/installation).
27
27
 
28
+ ## Deprecations
29
+
30
+ > `redactFullPath` is now a deprecated alias for `redactUrlQuery`. Both names
31
+ > are still exported and continue to work; prefer `redactUrlQuery` in new code.
32
+
28
33
  ## License
29
34
 
30
35
  The MIT License (MIT). Please see [License File](../../LICENSE.md) for more information.