observatory 2.0.0
observatory: ^2.0.0 copied to clipboard
Isolate-aware Flutter logs, bounded history, safe HTTP logging and Sentry incident capture.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased #
2.0.0 - 2026-09-13 #
Changed #
- Replace package initialization, startup and zone entry with
Observatory.run. - Own one shared Talker per isolate and add
thread(zoneName)to all connected log sources. - Capture
printanddebugPrintas ordinary info records; support nested operation zones. - Share a bounded, sanitized history between the log screen and Sentry breadcrumbs.
- Preserve Sentry operation messages and exception chains; deduplicate by identity and location.
- Move redaction to
Config; removeDependencies,package_contextanddisabledBlocLogs. - Make Dio attachment idempotent and restore owned handlers through
Observatory.close. - Keep local logging and application startup available when Sentry initialization fails.
- Redesign README diagrams around the shared log stream, incident routing and isolate lifecycle.
Added #
- Common URI, header, JSON, FormData and Sentry sanitization with bounded formatting.
- Regression tests for integration, lifecycle, isolates, privacy and local Sentry transport.
- GitHub Actions analysis, formatting, tests and package validation.
1.0.1 - 2026-08-30 #
Added #
- README diagrams for startup flow,
recordvscapture, and isolate-aware logs. - PNG assets only (
hero,flow,safety); HTML sources are not shipped.
1.0.0 - 2026-08-30 #
Added #
initPackagewithConfigvalues (filter, HTTP log, Bloc skip list, Sentry) and a host-providedTalkerinDependencies.Observatory.startonce per isolate, then staticrecord,capture,bindUser,bindDevice, andattachTo.- Isolate-aware Talker logs, Sentry capture with stable titles, dedupe, and log breadcrumbs.
- Safe Dio interceptor with header and body redaction, plus a Bloc observer.
Observatory.runZoned, Flutter and platform error hooks, navigator observers,ObservatoryLogScreen, andObservatoryWidget.- Domain policies:
ObservationFilter,RedactionPolicy, andDedupePolicy. - Dart
^3.13.2, Flutter>=3.47.2, andpackage_context^2.0.0.