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
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,10 @@
1
+
11.8.0 (October 30, 2025)
2
+
- Added new configuration for Fallback Treatments, which allows setting a treatment value and optional config to be returned in place of "control", either globally or by flag. Read more in our docs.
3
+
- Added `client.getStatus()` method to retrieve the client readiness status properties (`isReady`, `isReadyFromCache`, etc).
4
+
- Added `client.whenReady()` and `client.whenReadyFromCache()` methods to replace the deprecated `client.ready()` method, which has an issue causing the returned promise to hang when using async/await syntax if it was rejected.
5
+
- Updated the SDK_READY_FROM_CACHE event to be emitted alongside the SDK_READY event if it hasn’t already been emitted.
6
+
- Updated @splitsoftware/splitio-commons package to version 2.8.0.
7
+
1
8
11.7.1 (October 8, 2025)
2
9
- Bugfix - Updated @splitsoftware/splitio-commons package to version 2.7.1, which fixes the `debug` option to support log levels when the `logger` option is used.
t.true(client.__getStatus().isReady,'Client should emit SDK_READY_FROM_CACHE alongside SDK_READY, because clearOnInit is true');
359
+
t.true(client.getStatus().isReady,'Client should emit SDK_READY_FROM_CACHE alongside SDK_READY, because clearOnInit is true');
360
360
});
361
361
362
-
awaitclient.ready();
362
+
awaitclient.whenReady();
363
363
364
364
t.true(console.log.calledWithMatch('clearOnInit was set and cache was not cleared in the last 24 hours. Cleaning up cache'),'It should log a message about cleaning up cache');
365
365
@@ -400,7 +400,7 @@ export default function (fetchMock, assert) {
0 commit comments