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: .github/workflows/ci-cd.yml
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,7 @@ permissions:
19
19
jobs:
20
20
build:
21
21
name: Build
22
-
# @TODO rollback to ubuntu-latest eventually. ATM, `npm run test-browser` fails when using ubuntu-latest (ubuntu-22.04) with "ERROR [launcher]: Cannot start ChromeHeadless"
Copy file name to clipboardExpand all lines: CHANGES.txt
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
-
11.2.0 (January XX, 2025)
1
+
11.2.0 (March 28, 2025)
2
+
- Added 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 impression object sent to Split's backend. Read more in our docs.
2
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:
3
4
- `storage.expirationDays` to specify the validity period of the rollout plan cache in days.
4
5
- `storage.clearOnInit` to clear the rollout plan cache on SDK initialization.
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