Skip to content

Commit

Permalink
Validate bugfix with test, and prepare rc
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilianoSanchez committed Nov 25, 2024
1 parent 1d5c82d commit 231fb3f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
3 changes: 2 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
11.0.2 (November 22, 2024)
11.0.2 (November 25, 2024)
- Updated bloom-filters, fetch-mock and other 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 server-side, where it was not being emitted if there was an empty segment and the SDK received a feature flag update notification.

11.0.1 (November 11, 2024)
- Bugfixing - Revert removal of TypeScript `SplitIO` namespace at `/types/splitio.d.ts` to allow explicit imports of types from the JavaScript SDK package. E.g., `import type { IBrowserSettings } from '@splitsoftware/splitio/types/splitio';`.
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.2-rc.1",
"description": "Split SDK",
"files": [
"README.md",
Expand Down Expand Up @@ -38,7 +38,7 @@
"node": ">=14.0.0"
},
"dependencies": {
"@splitsoftware/splitio-commons": "2.0.0",
"@splitsoftware/splitio-commons": "2.0.1-rc.1",
"bloom-filters": "^3.0.4",
"ioredis": "^4.28.0",
"js-yaml": "^3.13.1",
Expand Down
4 changes: 3 additions & 1 deletion src/__tests__/nodeSuites/push-synchronization.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,9 @@ export function testSynchronization(fetchMock, assert) {
return { status: 200, body: splitChangesMock9 };
});

mockSegmentChanges(fetchMock, new RegExp(`${url(settings, '/segmentChanges')}/(employees|developers)`), [key]);
mockSegmentChanges(fetchMock, new RegExp(`${url(settings, '/segmentChanges')}/employees`), [key]);
// Special case: empty segment with -1 till
mockSegmentChanges(fetchMock, new RegExp(`${url(settings, '/segmentChanges')}/developers`), [], -1);
mockSegmentChanges(fetchMock, { url: new RegExp(`${url(settings, '/segmentChanges')}/new_segment`), repeat: 2 }, [otherUserKey]);

fetchMock.get(new RegExp('.*'), function (url) {
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.2-rc.1';

0 comments on commit 231fb3f

Please sign in to comment.