observatory 2.0.0 copy "observatory: ^2.0.0" to clipboard
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 print and debugPrint as 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; remove Dependencies, package_context and disabledBlocLogs.
  • 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, record vs capture, and isolate-aware logs.
  • PNG assets only (hero, flow, safety); HTML sources are not shipped.

1.0.0 - 2026-08-30 #

Added #

  • initPackage with Config values (filter, HTTP log, Bloc skip list, Sentry) and a host-provided Talker in Dependencies.
  • Observatory.start once per isolate, then static record, capture, bindUser, bindDevice, and attachTo.
  • 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, and ObservatoryWidget.
  • Domain policies: ObservationFilter, RedactionPolicy, and DedupePolicy.
  • Dart ^3.13.2, Flutter >=3.47.2, and package_context ^2.0.0.
1
likes
130
points
249
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Isolate-aware Flutter logs, bounded history, safe HTTP logging and Sentry incident capture.

Repository (GitHub)
View/report issues

Topics

#observability #logging #diagnostics #isolates #monitoring

License

MIT (license)

Dependencies

dio, domain_error, flutter, flutter_bloc, sentry_dio, sentry_flutter, talker, talker_bloc_logger, talker_flutter

More

Packages that depend on observatory