Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
3.2.0 (October 28, 2026)
3.2.0 (October 30, 2026)
- Added support for streaming in the Configs SDK, handling CONFIG_UPDATE notifications. Unlike feature flag notifications, the previous change number of CONFIG_UPDATE and RB_SEGMENT_UPDATE notifications are scoped to the referenced entity rather than to the environment, and so instant updates are applied without updating the storage change number.
- Added support for AI configs.
- Added support for ioredis v6 (Related to issue https://github.com/splitio/javascript-client/issues/951). Note that ioredis v6 requires Node.js 20 or above; stay on ioredis v4 or v5 for older Node.js versions.
Expand Down
9 changes: 6 additions & 3 deletions src/listeners/__tests__/browser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,16 @@ beforeAll(() => {
if (eventListeners[event]) eventListeners[event].delete(cb);
}),
}
}
},
configurable: true
});
Object.defineProperty(global, 'navigator', {
value: global.window.navigator
value: global.window.navigator,
configurable: true
});
Object.defineProperty(global, 'document', {
value: global.window.document
value: global.window.document,
configurable: true
});
});

Expand Down
2 changes: 1 addition & 1 deletion src/storages/inLocalStorage/__tests__/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('IN LOCAL STORAGE', () => {
test('fallback to InMemoryStorage if LocalStorage API is not available or the provided storage wrapper is invalid', () => {
// Delete global localStorage property
const originalLocalStorage = Object.getOwnPropertyDescriptor(global, 'localStorage');
Object.defineProperty(global, 'localStorage', {});
Object.defineProperty(global, 'localStorage', { value: undefined, configurable: true });

// LocalStorage API is not available
let storageFactory = InLocalStorage({ prefix: 'prefix' });
Expand Down
2 changes: 1 addition & 1 deletion src/sync/streaming/SSEHandler/NotificationKeeper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function notificationKeeperFactory(pushEmitter: IPushEventEmitter, teleme
c.cTime = timestamp;
if (controlType === ControlType.STREAMING_DISABLED) {
telemetryTracker.streamingEvent(STREAMING_STATUS, DISABLED);
pushEmitter.emit(PUSH_NON_RETRYABLE_ERROR);
pushEmitter.emit(PUSH_NON_RETRYABLE_ERROR); // not a non-retryable error per se, but same logic
} else if (hasPublishers) {
if (controlType === ControlType.STREAMING_PAUSED && hasResumed) {
telemetryTracker.streamingEvent(STREAMING_STATUS, PAUSED);
Expand Down