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
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
11.1.0 (January 17, 2025)
2
+
- 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
+
- Updated @splitsoftware/splitio-commons package to version 2.1.0.
4
+
1
5
11.0.4 (January 9, 2025)
2
6
- Bugfixing - Updated @splitsoftware/splitio-commons package to version 2.0.3, which properly handles rejected promises when using targeting rules with segment matchers in consumer modes (e.g., Redis and Pluggable storages).
Copy file name to clipboardExpand all lines: src/__tests__/browserSuites/impressions-listener.spec.js
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -57,17 +57,21 @@ export default function (assert) {
57
57
keyName: 'marcio@split.io',
58
58
treatment: 'no',
59
59
bucketingKey: 'impr_bucketing_2',
60
-
label: 'default rule'
60
+
label: 'default rule',
61
+
pt: undefined
61
62
};
62
63
63
64
assert.equal(listener.logImpression.callCount,4,'Impression listener logImpression method should be called after we call client.getTreatment, once per each impression generated.');
assert.true(dependencyChildImpr,'Split we wanted to evaluate should be present on the impressions.');
58
59
assert.false(resp.some(e=>e.f==='hierarchical_dep_always_on'),'Parent split evaluations should not result in impressions.');
59
60
assert.false(resp.some(e=>e.f==='hierarchical_dep_hierarchical'),'No matter how deep is the chain.');
60
-
assert.true(alwaysOnWithConfigImpr,'Split evaluated with config should have generated an impression too.');
61
-
assert.false(Object.prototype.hasOwnProperty.call(alwaysOnWithConfigImpr.i[0],'configuration'),'Impressions do not change with configuration evaluations.');
62
-
assert.false(Object.prototype.hasOwnProperty.call(alwaysOnWithConfigImpr.i[0],'config'),'Impressions do not change with configuration evaluations.');
61
+
assert.true(splitWithConfigImpr,'Split evaluated with config should have generated an impression too.');
62
+
assert.false(Object.prototype.hasOwnProperty.call(splitWithConfigImpr.i[0],'configuration'),'Impressions do not change with configuration evaluations.');
63
+
assert.false(Object.prototype.hasOwnProperty.call(splitWithConfigImpr.i[0],'config'),'Impressions do not change with configuration evaluations.');
0 commit comments