@splitsoftware/splitio-commons 2.3.1-rc.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGES.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
2.4.0 (May
|
|
2
|
-
- Added support for
|
|
3
|
-
- Added support for feature flag prerequisites.
|
|
1
|
+
2.4.0 (May 27, 2025)
|
|
2
|
+
- Added support for rule-based segments. These segments determine membership at runtime by evaluating their configured rules against the user attributes provided to the SDK.
|
|
3
|
+
- Added support for feature flag prerequisites. This allows customers to define dependency conditions between flags, which are evaluated before any allowlists or targeting rules.
|
|
4
4
|
|
|
5
5
|
2.3.0 (May 16, 2025)
|
|
6
6
|
- Updated the Redis storage to:
|
package/package.json
CHANGED
|
@@ -39,8 +39,8 @@ export function ruleBasedSegmentMatcherContext(segmentName: string, storage: ISt
|
|
|
39
39
|
storage.segments.isInSegment(name, matchingKey) :
|
|
40
40
|
type === RULE_BASED_SEGMENT ?
|
|
41
41
|
ruleBasedSegmentMatcherContext(name, storage, log)({ key, attributes }, splitEvaluator) :
|
|
42
|
-
type === LARGE_SEGMENT &&
|
|
43
|
-
|
|
42
|
+
type === LARGE_SEGMENT && storage.largeSegments ?
|
|
43
|
+
storage.largeSegments.isInSegment(name, matchingKey) :
|
|
44
44
|
false;
|
|
45
45
|
}
|
|
46
46
|
|
package/src/storages/types.ts
CHANGED
|
@@ -458,6 +458,7 @@ export interface IStorageBase<
|
|
|
458
458
|
splits: TSplitsCache,
|
|
459
459
|
rbSegments: TRBSegmentsCache,
|
|
460
460
|
segments: TSegmentsCache,
|
|
461
|
+
largeSegments?: TSegmentsCache,
|
|
461
462
|
impressions: TImpressionsCache,
|
|
462
463
|
impressionCounts: TImpressionsCountCache,
|
|
463
464
|
events: TEventsCache,
|