Skip to main content

splitio_commons 3.0.0 copy "splitio_commons: ^3.0.0" to clipboard
splitio_commons: ^3.0.0 copied to clipboard

Shared components of the official Dart SDK for Split, the platform for controlled rollouts, which serves features to your users via feature flags to manage your complete customer experience.

3.0.0 (October 27, 2026)

  • BREAKING - validateKey trims keys and limits them to 250 characters (was 1024).
  • BREAKING - logLevel defaults to LogLevel.none.
  • BREAKING - SplitHttpClient and ImpressionsManager require an sdkVersion.
  • BREAKING - SyncManager is shared by both flavors and takes a PollingManager.
  • Added server-side segment sync and SEGMENT_UPDATE streaming support.
  • Added support for compressed streaming notifications.
  • Added shared client, manager, consent, validation and readiness modules.
  • Bugfixes for readiness, streaming, recorders, impression properties, matchers and archived flags.

2.0.0 (September 9, 2026)

  • BREAKING: EvaluationContext is no longer exported from the splitio_commons barrel. Import it from package:splitio_commons/src/core/evaluation_context.dart if you still need it, or remove the reference — it was intended as an internal SPI.
  • Fixed: targeting engine now returns the default treatment's dynamic configuration when evaluation short-circuits on prerequisites-not-met or traffic-allocation exclusion (notInSplit).

1.0.0 (August 28, 2026) Initial release. Shared components for the Split Dart SDK. Features:

  • Pure targeting engine (rule-in / result-out) with EvaluationContext callback seam.
  • Full matcher catalog with attribute coercion and semver semantics.
  • Bucketing (murmur3_32) with algo, seed, and traffic-allocation gate.
  • Parsing pipeline: wire DTOs → ParsedSplit + TargetingRule.
  • Storage core: change-based rule/RBS/membership stores with in-memory impl and no-op PersistentStore SPI.
  • Sync engine: combined rules+rbs poll feed (dual cursor), per-key membership feed (MS + LS), OnDemandFetchCoordinator with CDN bypass.
  • Streaming state machine: 3-axis push gate, JWT auth cache/refresh, reconnect/backoff, notification processor for SPLIT_UPDATE/SPLIT_KILL/MEMBERSHIPS_*/RB_SEGMENT_UPDATE.
  • Recorders: impressions, impressions count, unique keys (CS set), events; queue → batch → flush.
  • Readiness/lifecycle manager with latched READY / READY_TIMEOUT and recurring UPDATE events.
  • HTTP client with retry/backoff and canonical query-param ordering for CDN cache stability.
  • Auth strategies: static SDK key and JWT (cached, deduped, on-demand).
  • Observer / internal event bus for pub/sub.
  • Logger abstraction over package:logging.
  • Single-isolate, lock-free consistency model; platform-agnostic (no dart:io / dart:html in shared code).
2
likes
120
points
826
downloads

Documentation

API reference

Publisher

verified publishersplit.io

Weekly Downloads

Shared components of the official Dart SDK for Split, the platform for controlled rollouts, which serves features to your users via feature flags to manage your complete customer experience.

License

Apache-2.0 (license)

Dependencies

backoff, fetch_client, http, logging

More

Packages that depend on splitio_commons