openpanel_dart 0.1.3
openpanel_dart: ^0.1.3 copied to clipboard
Pure Dart analytics client for OpenPanel. Track events, identify users and manage groups via the HTTP API. Works on Flutter as well as plain Dart (CLI, server, web).
Changelog #
0.1.3 #
- Just a description change to follow Dart file conventions
0.1.2 #
- Split the SDK into a pure Dart core (
openpanel_dart) and a Flutter integration package (openpanel_dart_flutter). - Storage is now pluggable through a
KeyValueStoreinterface. The core defaults to a JSON file ondart:ioplatforms and tolocalStorageon the web. - Validate
OpenpanelConfigininit()and fail fast with an explicitArgumentError. - Add a global
maxQueueBytesbudget so the persisted queue stays below a configurable size, in addition to the per event limit. - Parse the standard RFC 7231
HTTP-dateform ofRetry-After. - Isolate the SDK from exceptions thrown by a user
onErrorcallback.
0.1.1 #
- Add a cross-platform example app (
example/) that runs on iOS, Android, Web, Windows, macOS and Linux. - Surface the server-provided error message on rejected requests: 4xx/5xx errors now include the
message/error/detailbody instead of a generic text, which makes misconfigurations easier to diagnose.
0.1.0 #
- Initial implementation.