blocfeed 0.23.0 → 0.25.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,5 +1,34 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.24.0 — 2026-05-08
4
+
5
+ ### New: PII scrubbing on behavioral events (default-on)
6
+
7
+ Email addresses, phone numbers, US SSNs, and credit card numbers are
8
+ now automatically replaced with placeholders ([email], [phone], [ssn],
9
+ [card]) before behavioral events leave the browser. Applies to:
10
+
11
+ - element_text on every detector event (rage_click, dead_click,
12
+ http_failures, etc.)
13
+ - event_data / metadata recursively
14
+ - track() properties on custom events
15
+
16
+ Configurable per BehavioralConfig.piiScrub:
17
+ - "default" (default) — emails, phones, SSNs, credit cards
18
+ - "strict" — adds IPv4 addresses + IBANs
19
+ - "off" — no scrubbing (existing behavior)
20
+
21
+ Selectors, page URLs, and session IDs pass through unchanged — they
22
+ need to stay verbatim for backend aggregation.
23
+
24
+ Apply via the script tag's window.blocfeedConfig:
25
+ window.blocfeedConfig = { piiScrub: "strict" }
26
+
27
+ Or via React widget:
28
+ <BlocFeedWidget config={{ piiScrub: "strict" }} ... />
29
+
30
+ ---
31
+
3
32
  ## 0.23.0 — 2026-05-07
4
33
 
5
34
  ### New: rich script-tag configuration