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
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,11 @@
1
+
11.2.0 (March 28, 2025)
2
+
- Added a new optional argument to the client `getTreatment` methods to allow passing additional evaluation options, such as a map of properties to append to the generated impressions sent to Split backend. Read more in our docs.
3
+
- Added two new configuration options for the SDK's `LOCALSTORAGE` storage type to control the behavior of the persisted rollout plan cache in the browser:
4
+
- `storage.expirationDays` to specify the validity period of the rollout plan cache in days.
5
+
- `storage.clearOnInit` to clear the rollout plan cache on SDK initialization.
6
+
- Updated SDK_READY_FROM_CACHE event when using the `LOCALSTORAGE` storage type to be emitted alongside the SDK_READY event if it has not already been emitted.
7
+
- Updated @splitsoftware/splitio-commons package to version 2.2.0.
8
+
1
9
11.1.0 (January 17, 2025)
2
10
- Added support for the new impressions tracking toggle available on feature flags, both respecting the setting and including the new field being returned on `SplitView` type objects. Read more in our docs.
3
11
- Updated @splitsoftware/splitio-commons package to version 2.1.0.
t.true(logSpy.calledWithExactly('[WARN] splitio => settings: bySet filter value "set_x " has extra whitespace, trimming.'));
77
77
t.true(logSpy.calledWithExactly('[WARN] splitio => settings: you passed invalid+, flag set must adhere to the regular expressions /^[a-z0-9][_a-z0-9]{0,49}$/. This means a flag set must start with a letter or number, be in lowercase, alphanumeric and have a max length of 50 characters. invalid+ was discarded.'));
client2.getTreatmentWithConfig('qc_team');// Validate that the impression is the same.
52
52
client3.getTreatment('qc_team',testAttrs);
@@ -58,7 +58,8 @@ export default function (assert) {
58
58
treatment: 'no',
59
59
bucketingKey: 'impr_bucketing_2',
60
60
label: 'default rule',
61
-
pt: undefined
61
+
pt: undefined,
62
+
properties: undefined
62
63
};
63
64
64
65
assert.equal(listener.logImpression.callCount,4,'Impression listener logImpression method should be called after we call client.getTreatment, once per each impression generated.');
@@ -71,7 +72,7 @@ export default function (assert) {
0 commit comments