Update dependency @grafana/faro-react to v2
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| @grafana/faro-react (source) | ^1.19.0 → ^2.0.0 |
Release Notes
grafana/faro-web-sdk (@grafana/faro-react)
v2.1.0
-
Feature (
@grafana/faro-react): support for React 19 and React Router 7 -
Fix (
@grafana/faro-web-sdk): CSP violation events now correctly capture all SecurityPolicyViolationEvent attributes. Previously, properties likeblockedURI,documentURI, and others were missing because native browser event properties are getters on the prototype chain, not own enumerable properties (#1491) -
Fix (
@grafana/faro-web-sdk): circular dependency between events and userActions APIs (#1793)
v2.0.2
-
Breaking (
@grafana/faro-web-sdk): User action events now have a standardized event name (faro.user.action), with the specific user action name moved to a parameter for improved consistency and filtering capabilities. Migration note: If you previously filtered user action events by event name, update your queries to use the new event name (faro.user.action) and filter by theuserActionNameattribute for the specific action. -
Breaking (
@grafana/faro-web-sdk): Web vitals now always tracks attribution data. ThetrackWebVitalsAttributionandwebVitalsInstrumentation.trackAttributionconfiguration flags have been removed. Attribution data is now collected by default and cannot be disabled. Migration note: If you were usingtrackWebVitalsAttribution: falseorwebVitalsInstrumentation: { trackAttribution: false }to disable attribution, remove these options from your configuration. Attribution data will now always be included in web vitals measurements. -
Breaking (
@grafana/faro-web-sdk): Removed thetrackUserActionsPreviewoption from Faro configuration. User actions instrumentation is now always enabled by default (#1772). Migration note: If you previously usedtrackUserActionsPreview: trueor left it unset, simply remove this option - no further action is required. If you had settrackUserActionsPreview: falseto disable user actions tracking, you now need to exclude theUserActionInstrumentationfrom your instrumentations array manually. -
Feature (
@grafana/faro-web-sdk) [experimental]: Added navigation instrumentation to track soft navigations (same-document navigations). The instrumentation monitors URL changes, DOM mutations, HTTP requests, and user interactions to automatically detect and report navigation events with details including fromUrl, toUrl, and duration. Enable by settingexperimental.trackNavigation: truein the configuration. -
Fix (
@grafana/faro-web-sdk): Fixed an issue where custom severity and custom trigger properties were not being included in user action attributes (#1551) -
Fix (
@grafana/faro-web-sdk): Fixed an error wheninitializeFarois called without any window object present (#1643)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.