Faro Flutter SDK v0.16.0
✨ Added
-
Span exception handling control: Introduced
SpanExceptionOptionsfor managing how exceptions are recorded on spans. This can be configured globally throughFaroConfig.spanExceptionOptionsor on a per-span basis using theexceptionOptionsparameter ofstartSpan(). The new options include:ExceptionSanitizercallback for PII-safe error recording.- Boolean flags (
recordException,setStatusOnException) for selective control.
Per-span options are merged field-by-field with the global configuration, meaning omitted fields will inherit from the global settings. If the sanitizer callback throws an error, the span will be marked as failed with a generic status description to prevent PII leakage.
See CHANGELOG.md for complete details.
Full Changelog: v0.15.0...v0.16.0