You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGES.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
2.5.0 (August XX, 2025)
2
-
- Added `factory.getCache()` method for standalone server-side SDKs, which returns the rollout plan snapshot from the storage.
3
-
- Added `preloadedData` configuration option for standalone client-side SDKs, which allows preloading the SDK storage with a snapshot of the rollout plan.
2
+
- Added `factory.getRolloutPlan()` method for standalone server-side SDKs, which returns the rollout plan snapshot from the storage.
3
+
- Added `initialRolloutPlan` configuration option for standalone client-side SDKs, which allows preloading the SDK storage with a snapshot of the rollout plan.
4
4
5
5
2.4.1 (June 3, 2025)
6
6
- Bugfix - Improved the Proxy fallback to flag spec version 1.2 to handle cases where the Proxy does not return an end-of-stream marker in 400 status code responses.
* Defines the format of rollout plan data to preload the factory storage (cache).
1030
+
* Defines the format of rollout plan data to preload the SDK cache.
1031
1031
*/
1032
-
typePreloadedData={
1032
+
typeRolloutPlan={
1033
1033
/**
1034
1034
* Change number of feature flags.
1035
1035
*/
1036
1036
since: number;
1037
1037
/**
1038
1038
* List of feature flags.
1039
1039
*/
1040
-
flags: Object[],
1040
+
flags: Object[];
1041
1041
/**
1042
1042
* Change number of rule-based segments.
1043
1043
*/
1044
-
rbSince?: number,
1044
+
rbSince?: number;
1045
1045
/**
1046
1046
* List of rule-based segments.
1047
1047
*/
1048
-
rbSegments?: Object[],
1048
+
rbSegments?: Object[];
1049
1049
/**
1050
1050
* Optional map of user keys to their memberships.
1051
1051
*/
1052
1052
memberships?: {
1053
-
[key: string]: Object
1054
-
},
1053
+
[key: string]: Object;
1054
+
};
1055
1055
/**
1056
1056
* Optional map of segments to their list of keys.
1057
1057
* This property is ignored if `memberships` is provided.
1058
1058
*/
1059
1059
segments?: {
1060
-
[segmentName: string]: string[]
1061
-
},
1062
-
}
1060
+
[segmentName: string]: string[];
1061
+
};
1062
+
};
1063
1063
/**
1064
1064
* Impression listener interface. This is the interface that needs to be implemented
1065
1065
* by the element you provide to the SDK as impression listener.
@@ -1082,7 +1082,7 @@ declare namespace SplitIO {
1082
1082
typeIntegrationFactory={
1083
1083
readonlytype: string;
1084
1084
(params: any): (Integration|void);
1085
-
}
1085
+
};
1086
1086
/**
1087
1087
* A pair of user key and it's trafficType, required for tracking valid Split events.
1088
1088
*/
@@ -1609,7 +1609,7 @@ declare namespace SplitIO {
1609
1609
* @param keys - Optional list of keys to generate the rollout plan snapshot with the memberships of the given keys, rather than the complete segments data.
1610
1610
* @returns The current snapshot of the SDK rollout plan.
1611
1611
*/
1612
-
getCache(keys?: SplitKey[]): PreloadedData,
1612
+
getRolloutPlan(keys?: SplitKey[]): RolloutPlan;
1613
1613
}
1614
1614
/**
1615
1615
* This represents the interface for the SDK instance for server-side with asynchronous storage.
0 commit comments