splitio_server_side 0.1.0-rc.3
splitio_server_side: ^0.1.0-rc.3 copied to clipboard
Official Dart SDK for Split — server-side flavor with polling sync and SIGTERM lifecycle handling.
0.1.0-rc.3 (October 23, 2026)
- Fixed: feature flags and rule-based segments with any non-
ACTIVEstatus (e.g.DELETED, sent by streaming when a flag is archived) are now removed, not onlyARCHIVEDones. - Fixed: streaming no longer keeps serving a stale flag when an older in-flight
/splitChangesresponse lands after newer in-place updates. - Added: gzip/zlib-compressed streaming
SPLIT_UPDATE, BOUNDED and KEY_LIST notifications are now applied in place instead of triggering a fetch. - Initial release of the Split Dart server-side SDK (Dart VM only). Features:
SplitFactorywith a singleServerSplitClient; the key is passed on every call (String orKey, with optional bucketing key).- Public API: getTreatment / getTreatments / getTreatmentsByFlagSets and their WithConfig variants (returning a
Mapkeyed by flag name), plus track. SplitManager: split(), splits(), names() with read-onlySplitViewprojection.- Polling sync of feature flags and segments via
/splitChangesand/segmentChanges. - Streaming sync (SSE) with SEGMENT_UPDATE handling and catch-up refresh of flags and segments; automatic fallback to polling.
- Impression recorders in three modes: debug, optimized, none.
- Automatic flush of impressions and events on SIGTERM / SIGINT.
- Keys are trimmed and limited to 250 characters.
logLeveldefaults toLogLevel.none; failed fetches, invalid flag names and invalid semver attributes log at ERROR, and clamped polling rates log a warning.- A warning is logged when more than one factory is created.