chore: bump version to v0.9.0 (#132)
Faro Flutter SDK v0.9.0
🔧 What's Fixed
OTLP Trace Attributes Now Preserve Types
Span attributes and event attributes now correctly preserve their original types (int, double, bool, String) when sent via OTLP.
Before: All attribute values were converted to strings, making numeric querying impossible.
user.account_count: "42" ❌ String - can't query account_count > 10
After: Attributes keep their native types, enabling proper queries and histogram bucketing in Grafana/Tempo.
user.account_count: 42 ✅ Integer - full numeric query support
API Changes (Backward Compatible)
| Method | Before | After |
|---|---|---|
Span.setAttribute() |
String value only |
Object value (String, int, double, bool) |
Span.setAttributes() |
Map<String, String> |
Map<String, Object> |
Span.addEvent() |
Map<String, String> attributes |
Map<String, Object> attributes |
Note: Existing code using string-only methods continues to work unchanged.
Resolves
- Issue #126: OTLP trace attributes forced to string type
See CHANGELOG.md for complete details.
Full Changelog: v0.8.0...v0.9.0