Skip to main content

easyslo 0.2.3 copy "easyslo: ^0.2.3" to clipboard
easyslo: ^0.2.3 copied to clipboard

Track success rates in Flutter apps with offline queueing and automatic retries.

Changelog #

0.2.3 #

  • Simplify the quick start and example app. EasySLO initializes the Flutter binding internally.

0.2.2 #

  • Shorten the package README and simplify the startup and outcome examples.

0.2.1 #

  • Simplify the quick start and show how to start the app while the SDK initializes.

  • Include customer_id on every new event, defaulting to a generated UUID persisted in the SDK database. Set an account ID with EasySlo.init(..., customerId: ...) or EasySlo.setCustomerId(...); reset to the generated ID with EasySlo.setCustomerId(null). Captured IDs remain immutable through retries.

  • Automatically classify numeric statusCode fields on failure/response objects and retained response.statusCode values. Supports package:http responses and streams, Dio/Retrofit, Chopper, GetConnect, and native dart:io responses without additional runtime dependencies.

  • Preserve typed network, timeout, cancellation, and explicit-status precedence. Never inspect response bodies, headers, URLs, messages, or streams. Unknown objects with no usable status remain OTHER.

  • Pass a failed response directly to EasySlo.failure when the client returns it instead of throwing. Errors that discard their response still need an explicit status code.

0.2.0 #

  • Breaking: rename the public Sdk facade to EasySlo. Update calls to EasySlo.init, EasySlo.success, EasySlo.failure, EasySlo.flush, EasySlo.dispose, and EasySlo.diagnostics. The package import is unchanged.

  • Report the caught object’s runtime class name as exception_name alongside the existing failure bucket. Messages, stack traces, and request data remain excluded.

  • Persist exception names across offline retries and restarts. Obfuscated builds may report obfuscated type names.

0.1.1 #

  • Accept any Object in Sdk.failure, allowing values from catch (error) without an Exception type guard.
  • Classify unrecognized objects and Dart Error instances as OTHER, preserving existing exception classification and explicit HTTP status handling. Failure objects are never stringified or uploaded.

0.1.0 #

  • Initial public EasySLO Flutter SDK release for Android and iOS.

  • Use https://easyslo.com as the default ingestion service.

  • Persist outcome events offline and retry delivery with bounded queues and backoff.

  • Breaking: Sdk.failure(eventKey, exception, {statusCode}) replaces string causes with automatic NETWORK, TIMEOUT, HTTP_4XX, HTTP_5XX, and OTHER buckets. Recognize Dart, package:http, and Dio exceptions without storing exception details. Optional HTTP status supports other clients; callers should skip intentional cancellations.

  • Include Android internet permission through the SDK plugin manifest, removing manual app manifest setup.

  • Initialize with Sdk.init(key); the SDK manages the service address. Remove the former endpoint argument from integrations.

  • Keep the active client on repeated initialization with the same key and queue namespace.

  • Serialize initialization and disposal so cleanup during startup releases all resources.

  • Expose non-null diagnostics and document the complete Flutter setup flow, supported platforms, and service configuration for SDK development.

0
likes
150
points
180
downloads

Documentation

API reference

Publisher

verified publishereasyslo.com

Weekly Downloads

Track success rates in Flutter apps with offline queueing and automatic retries.

Homepage

Topics

#monitoring #observability #reliability #slo

License

MIT (license)

Dependencies

crypto, dio, flutter, http, package_info_plus, path, sqflite, uuid

More

Packages that depend on easyslo

Packages that implement easyslo