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
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,9 @@
1
+
0.9.6 (June 29, 2023)
2
+
- Updated some transitive dependencies for vulnerability fixes.
3
+
- Updated @splitsoftware/splitio-commons package to version 1.8.3 that includes:
4
+
- Updated SDK_READY_TIMED_OUT event to be emitted immediately when a connection error occurs using pluggable storage (i.e., when the wrapper `connect` promise is rejected) in consumer and partial consumer modes.
5
+
- Bugfix - The `destroy` method has been updated to immediately flag the SDK client as destroyed, to prevent unexpected behaviours when `getTreatment` and `track` methods are called synchronously after `destroy` method is called.
6
+
1
7
0.9.5 (May 15, 2023)
2
8
- Updated @splitsoftware/splitio-commons package to version 1.8.2 that includes minor improvements.
3
9
- Updated terminology on the SDKs codebase to be more aligned with current standard without causing a breaking change. The core change is the term split for feature flag on things like logs and IntelliSense comments.
assert.equal(client.getTreatment('Single_Test'),'control','After destroy, getTreatment returns control for every destroyed client.');
121
120
assert.deepEqual(client.getTreatments(['Single_Test']),{'Single_Test': 'control'},'After destroy, getTreatments returns map of controls for every destroyed client.');
@@ -125,5 +124,8 @@ tape('SDK destroy for BrowserJS', async function (assert) {
125
124
assert.equal(manager.names().length,0,'After the main client is destroyed, manager.names will return empty array');
126
125
assert.equal(manager.split('Single_Test'),null,'After the main client is destroyed, manager.split will return null');
0 commit comments