|
1 |
| -2.2.1 (May XX, 2025) |
| 1 | +2.3.0 (May 16, 2025) |
2 | 2 | - Updated the Redis storage to:
|
3 | 3 | - Avoid lazy require of the `ioredis` dependency when the SDK is initialized, and
|
4 | 4 | - Flag the SDK as ready from cache immediately to allow queueing feature flag evaluations before SDK_READY event is emitted (Reverted in v1.7.0).
|
| 5 | + - Bugfix - Enhanced HTTP client module to implement timeouts for failing requests that might otherwise remain pending indefinitely on some Fetch API implementations. |
5 | 6 |
|
6 | 7 | 2.2.0 (March 28, 2025)
|
7 | 8 | - Added a new optional argument to the client `getTreatment` methods to allow passing additional evaluation options, such as a map of properties to append to the generated impressions sent to Split backend. Read more in our docs.
|
|
14 | 15 | - Added support for the new impressions tracking toggle available on feature flags, both respecting the setting and including the new field being returned on `SplitView` type objects. Read more in our docs.
|
15 | 16 |
|
16 | 17 | 2.0.3 (January 9, 2025)
|
17 |
| - - Bugfixing - Properly handle rejected promises when using targeting rules with segment matchers in consumer modes (e.g., Redis and Pluggable storages). |
| 18 | + - Bugfix - Properly handle rejected promises when using targeting rules with segment matchers in consumer modes (e.g., Redis and Pluggable storages). |
18 | 19 |
|
19 | 20 | 2.0.2 (December 3, 2024)
|
20 | 21 | - Updated the factory `init` and `destroy` methods to support re-initialization after destruction. This update ensures compatibility of the React SDK with React Strict Mode, where the factory's `init` and `destroy` effects are executed an extra time to validate proper resource cleanup.
|
21 |
| - - Bugfixing - Sanitize 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). |
| 22 | + - Bugfix - Sanitize 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). |
22 | 23 |
|
23 | 24 | 2.0.1 (November 25, 2024)
|
24 |
| - - Bugfixing - Fixed 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. |
| 25 | + - Bugfix - Fixed 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. |
25 | 26 |
|
26 | 27 | 2.0.0 (November 1, 2024)
|
27 | 28 | - Added support for targeting rules based on large segments.
|
28 | 29 | - Added `factory.destroy()` method, which invokes the `destroy` method on all SDK clients created by the factory.
|
29 | 30 | - Added `SplitIO` namespace with the public TypeScript definitions to be reused by the SDKs.
|
30 | 31 | - Updated the handling of timers and async operations inside an `init` factory method to enable lazy initialization of the SDK in standalone mode. This update is intended for the React SDK.
|
31 |
| - - Bugfixing - Fixed an issue with the server-side polling manager that caused dangling timers when the SDK was destroyed before it was ready. |
| 32 | + - Bugfix - Fixed an issue with the server-side polling manager that caused dangling timers when the SDK was destroyed before it was ready. |
32 | 33 | - BREAKING CHANGES:
|
33 | 34 | - Updated default flag spec version to 1.2, which requires Split Proxy v5.9.0 or higher.
|
34 | 35 | - Removed `/mySegments` endpoint from SplitAPI module, as it is replaced by `/memberships` endpoint.
|
|
47 | 48 | 1.16.0 (June 13, 2024)
|
48 | 49 | - Added the `getOptions` method to the `IPlatform` interface to allow the SDK to pass request options to the `fetch` function 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. Useful for advanced use cases like configuring a proxy or validating HTTPS certificates in Node.js.
|
49 | 50 | - 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.
|
50 |
| - - 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. |
51 |
| - - 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). |
| 51 | + - Bugfix - 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. |
| 52 | + - Bugfix - 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). |
52 | 53 |
|
53 | 54 | 1.15.0 (May 13, 2024)
|
54 | 55 | - Added an optional settings validation parameter to let overwrite the default flag spec version, used by the JS Synchronizer.
|
|
66 | 67 |
|
67 | 68 | 1.12.1 (December 12, 2023)
|
68 | 69 | - Updated PluggableStorage, for producer mode, and LocalStorage, for standalone mode, to clear the storage before initiating the synchronization process if it was previously synchronized with a different SDK key (i.e., a different environment) or different Split Filter criteria.
|
69 |
| - - Bugfixing - Fixed an issue when tracking telemetry latencies for the new `getTreatmentsByFlagSet(s)` methods in Redis and Pluggable storages, which was causing the SDK to not track those stats. |
| 70 | + - Bugfix - Fixed an issue when tracking telemetry latencies for the new `getTreatmentsByFlagSet(s)` methods in Redis and Pluggable storages, which was causing the SDK to not track those stats. |
70 | 71 |
|
71 | 72 | 1.12.0 (December 4, 2023)
|
72 | 73 | - Added support for Flag Sets in "consumer" and "partial consumer" modes for Pluggable and Redis storages.
|
73 | 74 | - Updated evaluation flow to log a warning when using flag sets that don't contain cached feature flags.
|
74 | 75 | - Updated Redis adapter to handle timeouts and queueing of some missing commands: 'hincrby', 'popNRaw', and 'pipeline.exec'.
|
75 |
| - - Bugfixing - Fixed manager methods in consumer modes to return results in a promise when the SDK is not operational (not ready or destroyed). |
| 76 | + - Bugfix - Fixed manager methods in consumer modes to return results in a promise when the SDK is not operational (not ready or destroyed). |
76 | 77 |
|
77 | 78 | 1.11.0 (November 3, 2023)
|
78 | 79 | - Added support for Flag Sets on the SDK, which enables grouping feature flags and interacting with the group rather than individually (more details in our documentation):
|
|
82 | 83 | - Added a new optional Split Filter configuration option. This allows the SDK and Split services to only synchronize the flags in the specified flag sets, avoiding unused or unwanted flags from being synced on the SDK instance, bringing all the benefits from a reduced payload.
|
83 | 84 | - Note: Only applicable when the SDK is in charge of the rollout data synchronization. When not applicable, the SDK will log a warning on init.
|
84 | 85 | - Added `sets` property to the `SplitView` object returned by the `split` and `splits` methods of the SDK manager to expose flag sets on flag views.
|
85 |
| - - Bugfixing - Fixed SDK key validation in Node.js to ensure the SDK_READY_TIMED_OUT event is emitted when a client-side type SDK key is provided instead of a server-side one (Related to issue https://github.com/splitio/javascript-client/issues/768). |
| 86 | + - Bugfix - Fixed SDK key validation in Node.js to ensure the SDK_READY_TIMED_OUT event is emitted when a client-side type SDK key is provided instead of a server-side one (Related to issue https://github.com/splitio/javascript-client/issues/768). |
86 | 87 |
|
87 | 88 | 1.10.0 (October 20, 2023)
|
88 | 89 | - Added `defaultTreatment` property to the `SplitView` object returned by the `split` and `splits` methods of the SDK manager (Related to issue https://github.com/splitio/javascript-commons/issues/225).
|
|
101 | 102 | 1.8.3 (June 29, 2023)
|
102 | 103 | - Updated some transitive dependencies for vulnerability fixes.
|
103 | 104 | - Updated SDK_READY_TIMED_OUT event to be emitted immediately when a connection error occurs using pluggable storage (i.e., when the wrapper `connect` promise is rejected) in consumer and partial consumer modes.
|
104 |
| - - Bugfixing - The `destroy` method has been updated to immediately flag the SDK client as destroyed, to prevent unexpected behaviours when `getTreatment` and `track` methods are called synchronously after `destroy` method is called. |
| 105 | + - Bugfix - The `destroy` method has been updated to immediately flag the SDK client as destroyed, to prevent unexpected behaviours when `getTreatment` and `track` methods are called synchronously after `destroy` method is called. |
105 | 106 |
|
106 | 107 | 1.8.2 (May 15, 2023)
|
107 | 108 | - Updated terminology on the SDKs codebase to be more aligned with current standard without causing a breaking change. The core change is the term split for feature flag on things like logs and IntelliSense comments.
|
|
117 | 118 | 1.7.3 (December 16, 2022)
|
118 | 119 | - Updated unique keys cache for Redis and Pluggable storages to optimize the usage of the underlying storage.
|
119 | 120 | - Updated some transitive dependencies for vulnerability fixes.
|
120 |
| - - Bugfixing - Updated events and impressions cache in localhost mode in order to avoid memory leaks (Related to issue https://github.com/splitio/javascript-commons/issues/181). |
| 121 | + - Bugfix - Updated events and impressions cache in localhost mode in order to avoid memory leaks (Related to issue https://github.com/splitio/javascript-commons/issues/181). |
121 | 122 |
|
122 | 123 | 1.7.2 (October 14, 2022)
|
123 |
| - - Bugfixing - Handle `Navigator.sendBeacon` API exceptions in the browser, and fallback to regular Fetch/XHR transport in case of error. |
| 124 | + - Bugfix - Handle `Navigator.sendBeacon` API exceptions in the browser, and fallback to regular Fetch/XHR transport in case of error. |
124 | 125 |
|
125 | 126 | 1.7.1 (October 5, 2022)
|
126 | 127 | - Updated default value of `scheduler.featuresRefreshRate` config parameter to 60 seconds.
|
|
138 | 139 | - Added `autoRequire` configuration option to the Google Analytics to Split integration, which takes care of requiring the splitTracker plugin on trackers dynamically created by Google tag managers (See https://help.split.io/hc/en-us/articles/360040838752#set-up-with-gtm-and-gtag.js).
|
139 | 140 | - Updated browser listener to push remaining impressions and events on 'visibilitychange' and 'pagehide' DOM events, instead of 'unload', which is not reliable in modern mobile and desktop Web browsers.
|
140 | 141 | - Updated the synchronization flow to be more reliable in the event of an edge case generating delay in cache purge propagation, keeping the SDK cache properly synced.
|
141 |
| - - Bugfixing - Removed js-yaml dependency to avoid resolution to an incompatible version on certain npm versions when installing third-party dependencies that also define js-yaml as transitive dependency (Related to issue https://github.com/splitio/javascript-client/issues/662). |
| 142 | + - Bugfix - Removed js-yaml dependency to avoid resolution to an incompatible version on certain npm versions when installing third-party dependencies that also define js-yaml as transitive dependency (Related to issue https://github.com/splitio/javascript-client/issues/662). |
142 | 143 |
|
143 | 144 | 1.5.0 (June 29, 2022)
|
144 | 145 | - 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 SDK 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.
|
145 | 146 | - Updated telemetry logic to track the anonymous config for user consent flag set to declined or unknown.
|
146 | 147 | - 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.
|
147 | 148 |
|
148 | 149 | 1.4.1 (June 13, 2022)
|
149 |
| - - Bugfixing - Updated submitters logic, to avoid dropping impressions and events that are being tracked while POST request is pending. |
| 150 | + - Bugfix - Updated submitters logic, to avoid dropping impressions and events that are being tracked while POST request is pending. |
150 | 151 |
|
151 | 152 | 1.4.0 (May 24, 2022)
|
152 | 153 | - Added `scheduler.telemetryRefreshRate` property to SDK configuration, and deprecated `scheduler.metricsRefreshRate` property.
|
153 | 154 | - Updated SDK telemetry storage, metrics and updater to be more effective and send less often.
|
154 |
| - - Bugfixing - Updated default values for `scheduler.impressionsRefreshRate` config parameter: 300s for OPTIMIZED impression mode and 60s for DEBUG impression mode. |
| 155 | + - Bugfix - Updated default values for `scheduler.impressionsRefreshRate` config parameter: 300s for OPTIMIZED impression mode and 60s for DEBUG impression mode. |
155 | 156 |
|
156 | 157 | 1.3.1 (April 19, 2022)
|
157 |
| - - Bugfixing - Added peer dependencies to avoid issues when requiring some third-party dependencies used by modules of the package (Related to issue https://github.com/splitio/javascript-client/issues/662). |
158 |
| - - Bugfixing - Updated `ready` method to rejects the promise with an Error object instead of a string value (Related to issue https://github.com/splitio/javascript-client/issues/654). |
| 158 | + - Bugfix - Added peer dependencies to avoid issues when requiring some third-party dependencies used by modules of the package (Related to issue https://github.com/splitio/javascript-client/issues/662). |
| 159 | + - Bugfix - Updated `ready` method to rejects the promise with an Error object instead of a string value (Related to issue https://github.com/splitio/javascript-client/issues/654). |
159 | 160 |
|
160 | 161 | 1.3.0 (April 6, 2022)
|
161 | 162 | - Added user consent feature to allow delaying or disabling the data tracking from SDK until user consent is explicitly granted or declined. Read more in our docs.
|
|
164 | 165 | - Updated format for MySegments keys in LocalStorage, keeping backwards compatibility (issue https://github.com/splitio/javascript-client/issues/638).
|
165 | 166 | - Updated some modules due to general polishing and refactors, including updates in some log messages.
|
166 | 167 | - Updated some dependencies for vulnerability fixes.
|
167 |
| - - Bugfixing - Updated internal isObject utility function, to avoid unexpected behaviors on frameworks and libraries that uses multiple VM contexts, like NuxtJS dev server. |
168 |
| - - Bugfixing - Fixed validation of `core.key` SDK configuration param, to parse it into a string and log a warning when passing a number (Related to issue https://github.com/splitio/react-native-client/issues/19). |
169 |
| - - Bugfixing - Fixed validation of `sync.impressionsMode` SDK configuration param, to avoid an exception on SplitFactory instantiation when passing a non-string value. |
170 |
| - - Bugfixing - Fixed an issue with `connectionTimeout` options params of Redis storage, that was being ignored and not passed down to the underlying ioredis client. |
171 |
| - - Bugfixing - Fixed streaming synchronization issue with multiple clients. |
172 |
| - - Bugfixing - Fixed issue with internal Map ponyfill that results in logger not working properly on IE11 browser. |
| 168 | + - Bugfix - Updated internal isObject utility function, to avoid unexpected behaviors on frameworks and libraries that uses multiple VM contexts, like NuxtJS dev server. |
| 169 | + - Bugfix - Fixed validation of `core.key` SDK configuration param, to parse it into a string and log a warning when passing a number (Related to issue https://github.com/splitio/react-native-client/issues/19). |
| 170 | + - Bugfix - Fixed validation of `sync.impressionsMode` SDK configuration param, to avoid an exception on SplitFactory instantiation when passing a non-string value. |
| 171 | + - Bugfix - Fixed an issue with `connectionTimeout` options params of Redis storage, that was being ignored and not passed down to the underlying ioredis client. |
| 172 | + - Bugfix - Fixed streaming synchronization issue with multiple clients. |
| 173 | + - Bugfix - Fixed issue with internal Map ponyfill that results in logger not working properly on IE11 browser. |
173 | 174 |
|
174 | 175 | 1.2.0 (January 19, 2022)
|
175 | 176 | - Added support to SDK clients on browser to optionally bind attributes to the client, keeping these loaded within the SDK along with the user ID, for easier usage when requesting flag.
|
|
179 | 180 | customers to implement this caching with any storage technology of choice and connect it to the SDK instance to be used instead of its default in-memory storage.
|
180 | 181 | - Updated multiple modules due to general polishing and improvements, including the replacement of default exports with named exports, to avoid runtime errors with some particular configurations of Webpack projects.
|
181 | 182 | - Updated ioredis dependency for vulnerability fixes.
|
182 |
| - - Bugfixing - Fixed issue returning dynamic configs if treatment name contains a dot ("."). |
| 183 | + - Bugfix - Fixed issue returning dynamic configs if treatment name contains a dot ("."). |
183 | 184 |
|
184 | 185 | 1.0.0 (October 20, 2021)
|
185 | 186 | - BREAKING CHANGE on multiple modules due to general polishing, improvements and bug fixes. In most cases the change is to use named exports. This affected mostly modules related with synchronization and storages.
|
|
0 commit comments