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
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,6 @@
1
+
1.16.0 (June XX, 2024)
2
+
- Added the `getOptions` method to the `IPlatform` interface to allow the SDK to pass request options to the `fetch` method and `EventSource` constructor when fetching data from the Split servers. The method is optional and, if provided, it is called twice: first for the `fetch` options and then for the `EventSource` options.
3
+
1
4
1.15.1 (May 28, 2024)
2
5
- Updated the Redis storage to lazily import the `ioredis` dependency when the storage is created. This prevents errors when the SDK is imported or bundled in a .mjs file, as `ioredis` is a CommonJS module.
3
6
- Bugfixing - Restored some input validation error logs that were removed in version 1.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.
expect(instance.connection.url).toBe(EXPECTED_URL);// URL is properly set for streaming connection
132
+
expect(instance.connection.__eventSourceInitDict).toEqual({headers: EXPECTED_HEADERS,withCredentials: true});// Headers and options are properly set for streaming connection
133
+
134
+
// Assert that getEventSource and getOptions were called once with settings
0 commit comments