2b0cd52 Thanks @marandaneto! - chore: upgrade dompurify to 3.3.2
(2026-03-06)9180726 Thanks @dustinbyrne! - feat: Tree-shake feature flags
(2026-03-05)33e9fb4 Thanks @hpouillot! - Add nestjs integration with interceptor for context propagation
(2026-03-05)4601bbc Thanks @dmarticus! - Add semver comparison operators to local feature flag evaluation: semver_eq, semver_neq, semver_gt, semver_gte, semver_lt, semver_lte, semver_tilde, semver_caret, and semver_wildcard
(2026-03-05)#3191 9f41d26 Thanks @TueHaulund! - fix(replay): fall back to persisted config when remote config fetch fails
When the remote config fetch failed (network error, ad blocker, CDN outage), the SDK received an empty {} response with no sessionRecording key. The onRemoteConfig handler returned early without ever setting _receivedFlags = true, leaving the recording permanently stuck in pending_config status for the entire page session.
This removes the _receivedFlags gate entirely. The 1-hour TTL on persisted config (added in #3051, increased from 5 minutes) and the stale-config retry in _onScriptLoaded (added in #3093) already prevent recording from starting with outdated config. The additional gate was redundant and created a deadlock when the config fetch failed.
Now when the config fetch fails, startIfEnabledOrStop() is called and falls back to persisted config from a previous page load. If no persisted config exists (first-ever visit), recording is correctly disabled rather than silently stuck. (2026-03-04)
#3198 9d0df0e Thanks @TueHaulund! - Reduce session replay memory pressure by tracking per-event sizes in SnapshotBuffer, eliminating redundant JSON.stringify calls during buffer operations. Also bumps @posthog/rrweb to 0.0.46 which uses FNV-1a hash-based canvas frame deduplication instead of storing full base64 strings.
(2026-03-04)
Updated dependencies []:
2eff595 Thanks @dustinbyrne! - feat: Accept a waitUntil method for serverless environments
(2026-03-04)eccec25 Thanks @Radu-Raicea! - Sanitize inline base64 video_url's in chat completions calls, which is supported by OpenRouter for video understanding models
(2026-03-03)