|
| 1 | +10.22.5 (May 15, 2023) |
| 2 | + - Updated @splitsoftware/splitio-commons package to version 1.8.2 that includes minor improvements. |
| 3 | + - 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. |
| 4 | + - Updated split storage modules to optimize some operations when using Redis and pluggable storages. |
| 5 | + - Updated some transitive dependencies for vulnerability fixes. |
| 6 | + |
1 | 7 | 10.22.4 (March 9, 2023) |
2 | 8 | - Updated @splitsoftware/splitio-commons package to version 1.8.1 that includes minor improvements. |
3 | 9 | - Updated some transitive dependencies for vulnerability fixes. |
|
15 | 21 | 10.22.0 (October 5, 2022) |
16 | 22 | - Added a new impressions mode for the SDK called NONE, to be used in factory when there is no desire to capture impressions on an SDK factory to feed Split's analytics engine. Running NONE mode, the SDK will only capture unique keys evaluated for a particular feature flag instead of full blown impressions. |
17 | 23 | - Updated default value of `scheduler.featuresRefreshRate` config parameter from 5 seconds to 60 seconds for NodeJS and from 30 seconds to 60 seconds for Browser. |
18 | | - - Updated @splitsoftware/splitio-commons package to version 1.7.1, that improves the performance of split evaluations (i.e., `getTreatment(s)` method calls) when using the default storage in memory, among other improvements. |
| 24 | + - Updated @splitsoftware/splitio-commons package to version 1.7.1, that improves the performance of feature flag evaluations (i.e., `getTreatment(s)` method calls) when using the default storage in memory, among other improvements. |
19 | 25 |
|
20 | 26 | 10.21.1 (July 25, 2022) |
21 | 27 | - Bugfixing - Added missed type definitions `enabled` from `sync`. |
|
84 | 90 | - Bugfixing - Fixed an issue returning dynamic configs when the treatment name contains a dot ("."). |
85 | 91 |
|
86 | 92 | 10.16.1 (October 25, 2021) |
87 | | - - Updated some internal modules to optimize the time efficiency of split evaluations (i.e., `getTreatment(s)` method calls). |
| 93 | + - Updated some internal modules to optimize the time efficiency of feature flag evaluations (i.e., `getTreatment(s)` method calls). |
88 | 94 | - Updated some dependencies for vulnerability fixes (ioredis, @babel/cli, eslint, eslint-plugin-compat). |
89 | 95 | - Bugfixing - Fixed localhost mode with localStorage, to use a mock in memory instead of localStorage API directly but keep emitting emit SDK_READY_FROM_CACHE event. |
90 | 96 |
|
|
171 | 177 | - Bugfixing - Replaced the use of `for...in` statements since it iterates over enumerable properties on the prototype chain, which might be polluted by code external to the library. |
172 | 178 |
|
173 | 179 | 10.14.0 (Jul 31, 2020) |
174 | | - - Added `sync.splitFilters` property to SDK configuration to pass a list of filters for the splits that will be downloaded. Read more in our docs. |
175 | | - - Added expiration policy to split cache for browsers using localStorage: cache is cleared after 10 days of the last successful update. |
| 180 | + - Added `sync.splitFilters` property to SDK configuration to pass a list of filters for the feature flags that will be downloaded. Read more in our docs. |
| 181 | + - Added expiration policy to SDK cache for browsers using localStorage: cache is cleared after 10 days of the last successful update. |
176 | 182 | - Updated babel configuration to remove core-js dependency and refactored code in favor of size reduction of UMD, ESM and CommonJS builds. |
177 | 183 | - NOTE: removed some polyfills of global objects not available in some builds of IE10. |
178 | 184 |
|
|
205 | 211 | - Bugfixing - Emit SDK_UPDATE in localhost only when mock was actually updated. |
206 | 212 |
|
207 | 213 | 10.10.0 (Jan 10, 2020) |
208 | | - - Added SDK_READY_FROM_CACHE event, which will be emitted in LocalStorage mode when the SDK finds split cache in the storage of the browser. |
| 214 | + - Added SDK_READY_FROM_CACHE event, which will be emitted in LocalStorage mode when the SDK finds feature flag definitions in the storage of the browser. |
209 | 215 | - Updated a dependency to fix a vulnerability (serialize-javascript). |
210 | 216 | - Updated multiple dependencies and dev dependencies (@types/node, axios, core-js, events, sinon, tape and the babel cli, core, preset-env, register and plugin-transform-runtime) |
211 | 217 |
|
|
220 | 226 | 10.9.0 (Oct 24, 2019) |
221 | 227 | - Added listener for 'unload' DOM events to push remaining impressions and events when the browser page is closed or reloaded. |
222 | 228 | - Added setting core.IPAddressesEnabled to disable reporting IP Addresses and Machine name back to Split cloud. |
223 | | - - Updated Redis storage to fetch multiple splits at once for getTreatments/getTreatmentsWithConfig. |
| 229 | + - Updated Redis storage to fetch multiple feature flags at once for getTreatments/getTreatmentsWithConfig. |
224 | 230 | - Updated most dependencies to their latest versions. Biggest change is babel (from 6 to 7), Webpack 3 to 4, Karma and ioredis. |
225 | 231 |
|
226 | 232 | 10.8.4 (Sep 24, 2019) |
227 | 233 | - Added module "events" as optional dependency. |
228 | 234 | - Removed dependency on "util" module. |
229 | 235 | - Updated transport module to use a local axios instance instead of the global one, to avoid polluting the shared one. |
230 | | - - Updated input validation log when trying to get data of a non-existent split to have level WARN instead of ERROR. |
| 236 | + - Updated input validation log when trying to get data of a non-existent feature flag to have level WARN instead of ERROR. |
231 | 237 |
|
232 | 238 | 10.8.3 (Sep 16, 2019) |
233 | 239 | - Updated two default values on startup configuration for Browsers: |
|
350 | 356 | - Updated SDK labels. |
351 | 357 | - Bugfixing - Shared clients (browser) were ready even if the main client was not. |
352 | 358 | - Bugfixing - Shared clients (browser) from different SDK instances should be separate. |
353 | | - - Bugfixing - When using API key with wrong permissions, Node was throwing a false ready event (without segments). |
| 359 | + - Bugfixing - When using SDK key with wrong permissions, Node was throwing a false ready event (without segments). |
354 | 360 | - Bugfixing - Localhost mode was trying to flush impressions when client.destroy was invoked. |
355 | 361 |
|
356 | 362 | 9.3.7 (Dec 22, 2017) |
|
407 | 413 |
|
408 | 414 | var settings = { |
409 | 415 | core: { |
410 | | - authorizationKey: 'YOUR_API_KEY', |
| 416 | + authorizationKey: 'YOUR_SDK_KEY', |
411 | 417 | key: 'CUSTOMER_KEY' // If on the browser. |
412 | 418 | }, |
413 | 419 | debug: true // Boolean flag for enabling logs. Default value is false. |
|
423 | 429 |
|
424 | 430 | var sdk = splitio({ |
425 | 431 | core: { |
426 | | - authorizationKey: 'YOUR_API_KEY', |
| 432 | + authorizationKey: 'YOUR_SDK_KEY', |
427 | 433 | key: 'CUSTOMER_KEY' // If on the browser. |
428 | 434 | } |
429 | 435 | }); |
|
460 | 466 | - Adding getTreatments method to client API. For example: |
461 | 467 |
|
462 | 468 | ```js |
463 | | -var treatmentsMap = client.getTreatments('CUSTOMER_KEY', ['Split_1', 'Split_2']); |
| 469 | +var treatmentsMap = client.getTreatments('CUSTOMER_KEY', ['Feature_flag_1', 'Feature_flag_2']); |
464 | 470 |
|
465 | 471 | /* |
466 | | -* treatmentsMap will be an object mapping splits with treatments. For example: |
| 472 | +* treatmentsMap will be an object mapping feature flags with treatments. For example: |
467 | 473 | * { |
468 | | -* Split_1: 'on', |
469 | | -* Split_2: 'off |
| 474 | +* Feature_flag_1: 'on', |
| 475 | +* Feature_flag_2: 'off |
470 | 476 | * } |
471 | 477 | */ |
472 | 478 | ``` |
@@ -633,7 +639,7 @@ var treatmentsMap = client.getTreatments('CUSTOMER_KEY', ['Split_1', 'Split_2']) |
633 | 639 |
|
634 | 640 | 6.0.0 (June 24, 2016) |
635 | 641 | - In the browser land we allow quick retries before start using the refresh |
636 | | - rates defined for segments and splits, plus the possibility of receive an |
| 642 | + rates defined for segments and feature flags, plus the possibility of receive an |
637 | 643 | event when the SDK is taking to much time to startup. |
638 | 644 |
|
639 | 645 | ```html |
@@ -698,8 +704,8 @@ var treatmentsMap = client.getTreatments('CUSTOMER_KEY', ['Split_1', 'Split_2']) |
698 | 704 | }); |
699 | 705 |
|
700 | 706 | // usage |
701 | | - var t1 = dynamic1.getTreatment('split-name'); |
702 | | - var t2 = dynamic2.getTreatment('another-split-name'); |
| 707 | + var t1 = dynamic1.getTreatment('feature-flag-name'); |
| 708 | + var t2 = dynamic2.getTreatment('another-feature-flag-name'); |
703 | 709 |
|
704 | 710 | // stop SDK |
705 | 711 | dynamic1.destroy(); |
@@ -776,7 +782,7 @@ var treatmentsMap = client.getTreatments('CUSTOMER_KEY', ['Split_1', 'Split_2']) |
776 | 782 | ```js |
777 | 783 | var sdk = splitio({ |
778 | 784 | core: { |
779 | | - authorizationKey: 'c1l5vkd50gimccout3c03pntbu', // your API key |
| 785 | + authorizationKey: 'c1l5vkd50gimccout3c03pntbu', // your SDK key |
780 | 786 | key: '4a2c4490-ced1-11e5-9b97-d8a25e8b1578' // your customer id |
781 | 787 | } |
782 | 788 | }); |
@@ -805,7 +811,7 @@ seconds: |
805 | 811 | ```js |
806 | 812 | var sdk = splitio({ |
807 | 813 | core: { |
808 | | - authorizationKey: 'c1l5vkd50gimccout3c03pntbu', // your API key |
| 814 | + authorizationKey: 'c1l5vkd50gimccout3c03pntbu', // your SDK key |
809 | 815 | key: '4a2c4490-ced1-11e5-9b97-d8a25e8b1578' // your customer id |
810 | 816 | }, |
811 | 817 | scheduler: { |
|
0 commit comments