Skip to content

Commit

Permalink
Merge pull request #849 from splitio/development
Browse files Browse the repository at this point in the history
Release v11.0.3
  • Loading branch information
EmilianoSanchez authored Dec 4, 2024
2 parents 273aaf4 + 6f2fde3 commit 61ff938
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 12 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
11.0.3 (December 4, 2024)
- Bugfixing - Updated @splitsoftware/splitio-commons package to version 2.0.2 that sanitizes the `SplitSDKMachineName` header value to avoid exceptions on HTTP/S requests when it contains non ISO-8859-1 characters (Related to issue https://github.com/splitio/javascript-client/issues/847).

11.0.2 (November 25, 2024)
- Updated bloom-filters and fetch-mock dependencies for vulnerability fixes.
- Bugfixing - Updated @splitsoftware/splitio-commons package to version 2.0.1 that fixes an issue with the SDK_UPDATE event on Node.js, where it was not being emitted if there was an empty segment and the SDK received a feature flag update notification.
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@splitsoftware/splitio",
"version": "11.0.2",
"version": "11.0.3",
"description": "Split SDK",
"files": [
"README.md",
Expand Down Expand Up @@ -38,7 +38,7 @@
"node": ">=14.0.0"
},
"dependencies": {
"@splitsoftware/splitio-commons": "2.0.1",
"@splitsoftware/splitio-commons": "2.0.2",
"bloom-filters": "^3.0.4",
"ioredis": "^4.28.0",
"js-yaml": "^3.13.1",
Expand Down
6 changes: 6 additions & 0 deletions src/__tests__/nodeSuites/lazy-init.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ export default function (settings, fetchMock, t) {
fetchMock.postOnce('https://not-called/api/testImpressions/bulk', 200);
fetchMock.postOnce('https://not-called/api/events/bulk', 200);

// Validate that init and destroy are idempotent
for (let i = 0; i < 3; i++) { splitio.init(); splitio.init(); splitio.destroy(); splitio.destroy(); }

splitio.init();
await splitio.client().ready();
assert.true(splitio.client().__getStatus().isReady, 'Split SDK is ready');
Expand Down Expand Up @@ -79,6 +82,9 @@ export default function (settings, fetchMock, t) {
fetchMock.postOnce('https://not-called/api/testImpressions/bulk', 200);
fetchMock.postOnce('https://not-called/api/events/bulk', 200);

// Validate that init and destroy are idempotent
for (let i = 0; i < 3; i++) { splitio.init(); splitio.init(); splitio.destroy(); splitio.destroy(); }

splitio.init();
await splitio.client().ready();
assert.true(splitio.client().__getStatus().isReady, 'Split SDK is ready');
Expand Down
2 changes: 1 addition & 1 deletion src/settings/defaults/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const packageVersion = '11.0.2';
export const packageVersion = '11.0.3';

0 comments on commit 61ff938

Please sign in to comment.