Skip to main content

nanoflags 0.1.1 copy "nanoflags: ^0.1.1" to clipboard
nanoflags: ^0.1.1 copied to clipboard

NanoFlags client SDK for Dart and Flutter: local, synchronous feature-flag evaluation with signed configuration bundles, live updates over WebSocket and offline-first persistence. Client (nf_pub_) keys only.

Changelog #

0.1.1 #

  • An error emitted while nothing listens on client.errors is printed once per error code (prefixed [nanoflags]) instead of being dropped silently. Listening on client.errors turns this off.

0.1.0 #

First release.

  • Dart port of the NanoFlags engine (engine version 1), identical to the TypeScript engine on all 21 998 shared parity cases (Dart VM and dart2js) plus the Go port's 3 491 corner cases.
  • NanoFlagsClient for client (nf_pub_) keys: typed variations and details, allFlags, identify / setContext / updateContext without a network round trip.
  • Ed25519 bundle verification against the embedded official keys (kid k1), unsigned bundles refused on the official edge, /v1/keys reload on an unknown kid (at most once a minute), stored bundles re-verified on load.
  • Live WebSocket transport (/v1/live) with SSE and ETag polling fallbacks, jittered backoff, ping / pong, ~50 min socket rotation, close code 4004 handling.
  • Mobile lifecycle: pause / resume, offline-first persistence (NanoFlagsStore, MemoryStore, FileStore), bootstrap bundles, data-saver mode.
  • Telemetry (service report + sampled events with attribute names and types only), opt-out.
0
likes
150
points
104
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

NanoFlags client SDK for Dart and Flutter: local, synchronous feature-flag evaluation with signed configuration bundles, live updates over WebSocket and offline-first persistence. Client (nf_pub_) keys only.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#feature-flags #feature-toggles #remote-config #experimentation

License

Apache-2.0 (license)

Dependencies

crypto, cryptography, http, unorm_dart, web_socket_channel

More

Packages that depend on nanoflags