v0.11.0
Faro Flutter SDK v0.11.0
✨ Added
-
User Actions: Group related telemetry (logs, events, exceptions, traces) under a single action context to track end-to-end user interactions. (Resolves #131)
Faro().startUserAction('name')starts a new action that buffers and enriches telemetry with action context.Faro().getActiveUserAction()returns the currently active action handle.- Automatic lifecycle management with follow-up timeout (100ms) and halt timeout (10s).
- HTTP requests and navigation events automatically extend action lifetime via signal channels.
- Telemetry items captured during an action include
action.nameandaction.idfor correlation in Grafana. - Only one action can be active at a time; overlapping calls return
null. - Spans created during an action automatically receive
faro.action.user.nameandfaro.action.user.parentIdattributes viaFaroUserActionSpanProcessor.
-
HTTP Tracking Filter: New
HttpTrackingFilterfor controlling which URLs are instrumented.- Automatically excludes Faro collector URL from tracking.
- Supports
ignoreUrlspatterns fromFaroConfigto skip custom URL patterns.
-
New dependency: Added
dartypod(^0.2.0) for lightweight dependency injection.
⚠️ Changed
- Documentation consolidation: Replaced separate
Getting Started.md,Features.md, andConfigurations.mdwith a single comprehensiveReference.md.
See CHANGELOG.md for complete details.
Full Changelog: v0.10.0...v0.11.0