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
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,8 @@
1
+
0.14.1 (June 14, 2024)
2
+
- Updated @splitsoftware/splitio-commons package to version 1.16.0 that includes some vulnerability and bug fixes.
3
+
- Bugfixing - Restored some input validation error logs that were removed in version 0.12.0. The logs inform the user when the `getTreatment(s)` methods are called with an invalid value as feature flag name or flag set name.
4
+
- Bugfixing - Fixed localhost mode to emit SDK_UPDATE when mocked feature flags are updated in the `features` object map of the config object (Related to issue https://github.com/splitio/javascript-browser-client/issues/119).
5
+
1
6
0.14.0 (May 6, 2024)
2
7
- Updated @splitsoftware/splitio-commons package to version 1.14.0 that includes minor updates:
3
8
- Added support for targeting rules based on semantic versions (https://semver.org/).
@@ -77,7 +82,7 @@
77
82
- Updated some dependencies for vulnerability fixes.
78
83
79
84
0.7.0 (June 29, 2022)
80
-
- Added a new config option to control the tasks that listen or poll for updates on feature flags and segments, via the new config sync.enabled. Running online, Split will always pull the most recent updates upon initialization, this only affects updates fetching on a running instance. Useful when a consistent session experience is a must or to save resources when updates are not being used.
85
+
- Added a new config option to control the tasks that listen or poll for updates on feature flags and segments, via the new config `sync.enabled`. Running online, Split will always pull the most recent updates upon initialization, this only affects updates fetching on a running instance. Useful when a consistent session experience is a must or to save resources when updates are not being used.
81
86
- Updated telemetry logic to track the anonymous config for user consent flag set to declined or unknown.
82
87
- Updated submitters logic, to avoid duplicating the post of impressions to Split cloud when the SDK is destroyed while its periodic post of impressions is running.
83
88
- Bugfixing - Updated submitters logic, to avoid dropping impressions and events that are being tracked while POST request is pending.
Copy file name to clipboardExpand all lines: src/__tests__/browserSuites/ready-from-cache.spec.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -582,7 +582,7 @@ export default function (fetchMock, assert) {
582
582
fetchMock.getOnce(testUrls.sdk+'/splitChanges?s=1.1&since=25&names=p2__split&prefixes=p1',{status: 200,body: {splits: [splitDeclarations.p1__split,splitDeclarations.p2__split],since: 25,till: 1457552620999}},{delay: 10});// short delay to let emit SDK_READY_FROM_CACHE
@@ -633,7 +633,7 @@ export default function (fetchMock, assert) {
633
633
fetchMock.getOnce(testUrls.sdk+'/splitChanges?s=1.1&since=-1&prefixes=p1,p2',{status: 200,body: {splits: [splitDeclarations.p1__split,splitDeclarations.p2__split],since: -1,till: 1457552620999}},{delay: 10});// short delay to let emit SDK_READY_FROM_CACHE
@@ -784,7 +784,7 @@ export default function (fetchMock, assert) {
784
784
t.equal(localStorage.getItem('readyFromCache_9.SPLITIO.splits.till'),'1457552620999','splits.till must correspond to the till of the last successfully fetched Splits');
785
785
t.equal(localStorage.getItem('readyFromCache_9.SPLITIO.split.p2__split'),JSON.stringify(splitDeclarations.p2__split),'feature flag declarations must be cached');
786
786
t.equal(localStorage.getItem('readyFromCache_9.SPLITIO.split.p3__split'),JSON.stringify(splitDeclarations.p3__split),'feature flag declarations must be cached');
787
-
t.equal(localStorage.getItem('readyFromCache_9.SPLITIO.hash'),getStorageHash({ ...baseConfig,sync: {__splitFiltersValidation: {queryString: '&names=no%20exist%20trim,no_exist,p3__split&prefixes=no%20exist%20trim,p2'}}}),'Storage hash must correspond to the split filter query and SDK key');
787
+
t.equal(localStorage.getItem('readyFromCache_9.SPLITIO.hash'),getStorageHash({ ...baseConfig,sync: {__splitFiltersValidation: {queryString: '&names=no%20exist%20trim,no_exist,p3__split&prefixes=no%20exist%20trim,p2'},flagSpecVersion: '1.1'}}),'Storage hash must correspond to the split filter query and SDK key');
0 commit comments