@splitsoftware/splitio 10.25.2 → 10.25.3-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGES.txt CHANGED
@@ -107,7 +107,7 @@
107
107
  - Bugfixing - Fixed an issue with `connectionTimeout` options params of Redis storage, that was being ignored and not passed down to the underlying ioredis client.
108
108
  - Bugfixing - Updated the validation of some SDK configuration params to log errors and throw exceptions with clear descriptions of the invalid setup:
109
109
  - If passing a non-string value to `sync.impressionsMode`, the SDK logs the error: "you passed an invalid impressionsMode config param. It should be one of the following values: 'OPTIMIZED', 'DEBUG'. Defaulting to 'OPTIMIZED'.".
110
- - If passing 'REDIS' storage type without setting `mode` to 'consumer', the SDK logs the error: "The provided REDIS storage is invalid for this mode. It requires 'consumer' mode. Fallbacking into default MEMORY storage.".
110
+ - If passing 'REDIS' storage type without setting `mode` to 'consumer', the SDK logs the error: "The provided REDIS storage is invalid for this mode. It requires 'consumer' mode. Fallback into default MEMORY storage.".
111
111
  - If passing 'consumer' mode without setting `storage.type` to 'REDIS', the SDK throws an exception with message: "A REDIS storage is required on consumer mode.".
112
112
 
113
113
  - NOTABLE CHANGE: since version 10.18.0, the SDK has been refactored to use @splitsoftware/splitio-commons package in order to reuse core modules shared across all JavaScript-based SDKs. Most internal modules have been moved and renamed,
@@ -175,7 +175,7 @@
175
175
  10.15.4 (Mar 17, 2021)
176
176
  - Updated Streaming logic with some improvements and fixes, including:
177
177
  - Updated SSE error handling.
178
- - Extended publishers tracking to support multiregion infrastructure.
178
+ - Extended publishers tracking to support multi-region infrastructure.
179
179
  - Enforced revalidation for requests stored in local caches, like proxies or browsers.
180
180
  - Bugfixing - In NodeJS, fetch new segments captured due to streaming notifications.
181
181
  - Updated some dependencies, including a vulnerability fix.
@@ -300,11 +300,11 @@
300
300
  - Added Block Until Ready functionality support for consumer clients (Redis mode on Node) to make integration code work the same between modes.
301
301
  - Added more Input and Usage Validation rules, including an extra label for impressions when the SDK is not ready.
302
302
  - Updated the SDK Redis adapter to handle pending commands when disconnecting from the Redis server.
303
- - Bugfixing - Clearing up readyTimeout after we don't need it anymore. It also fixes the missleading SDK_READY_TIMED_OUT error log when using Redis.
303
+ - Bugfixing - Clearing up readyTimeout after we don't need it anymore. It also fixes the misleading SDK_READY_TIMED_OUT error log when using Redis.
304
304
 
305
305
  10.7.0 (Apr 30, 2019)
306
306
  - Added Block Until Ready functionality to the manager, shared with the main client. Now you can subscribe to SDK events or use the .ready() promise from the manager as well.
307
- - Added Dynamic Configurations support through two new methods that mimick the regular ones, changing the type of what is returned.
307
+ - Added Dynamic Configurations support through two new methods that mimic the regular ones, changing the type of what is returned.
308
308
  - getTreatmentWithConfig: Same as getTreatment, but instead of a string it returns a map with treatment and config as a stringified JSON.
309
309
  - getTreatmentWithConfig: Same as getTreatments, but instead of a map of string it returns a map of objects with treatment and config as a stringified JSON.
310
310
  - Added configs to SplitViews returned by the manager module.
@@ -318,7 +318,7 @@
318
318
 
319
319
  10.6.0 (Feb 12, 2019)
320
320
  - BREAKING CHANGE: Updated impressions cache for Redis storage to reduce the amount of Redis operations by using a single queue (Must use Synchronizer 2.x or above with this or newer SDK versions).
321
- - Added stricter validations to the input of the SDK api to provide better and faster feedback in case of missuse. We want our users to be able to diagnose issues sooner,
321
+ - Added stricter validations to the input of the SDK api to provide better and faster feedback in case of misuse. We want our users to be able to diagnose issues sooner,
322
322
  instead of when you can't find the data you're looking for. As part of this, some error logs (just logs) will be visible even with the SDK Logger disabled.
323
323
  - Updated getTreatments to have it's own latency metric for the whole operation, instead of one per each feature evaluation.
324
324
  - Updated default values on configuration for NodeJS.
@@ -385,13 +385,13 @@
385
385
  - Migrated source code to es modules.
386
386
  - Localhost mode uses fewer dependencies now.
387
387
  - Removed flowtype since it was not used anymore.
388
- - Udpated to last node LTS.
388
+ - Updated to last node LTS.
389
389
  - Added package-lock.json.
390
390
  - Fixed eslint configuration.
391
391
 
392
392
  9.4.0 (Jan 12, 2018)
393
393
  - Adding support for client.track method, for tracking custom events.
394
- - Adding trafficType as an optional core setting. If provided on the browser it will be binded to the client as the key.
394
+ - Adding trafficType as an optional core setting. If provided on the browser it will be bound to the client as the key.
395
395
  - TypeScript declarations polishing.
396
396
  - Updated SDK labels.
397
397
  - Bugfixing - Shared clients (browser) were ready even if the main client was not.
@@ -593,10 +593,10 @@ var treatmentsMap = client.getTreatments('CUSTOMER_KEY', ['Feature_flag_1', 'Fea
593
593
  const client = SplitFactory(config);
594
594
 
595
595
  // Redis in NodeJS is async so we can use async/await syntax
596
- const treatment = await client.getTreatment('my-feature-comming-from-localstorage');
596
+ const treatment = await client.getTreatment('my-feature-coming-from-localstorage');
597
597
 
598
598
  // or just use the returned promise
599
- client.getTreatment('my-feature-comming-from-localstorage').then(treatment => {
599
+ client.getTreatment('my-feature-coming-from-localstorage').then(treatment => {
600
600
  // do something with the treatment
601
601
  });
602
602
  ```
@@ -652,7 +652,7 @@ var treatmentsMap = client.getTreatments('CUSTOMER_KEY', ['Feature_flag_1', 'Fea
652
652
 
653
653
  client.getTreatment('my_feature') === 'on'; // true
654
654
 
655
- factory.settings.features.my_feature = 'off'; // Apply this cache programatically
655
+ factory.settings.features.my_feature = 'off'; // Apply this cache programmatically
656
656
 
657
657
  client.getTreatment('my_feature') === 'off'; // Some time after you will be able to verify this
658
658
  ```
@@ -728,7 +728,7 @@ var treatmentsMap = client.getTreatments('CUSTOMER_KEY', ['Feature_flag_1', 'Fea
728
728
  ```html
729
729
  <script src="//cdn.split.io/sdk/split-5.0.0.min.js"></script>
730
730
  <script>
731
- // instanciation
731
+ // instantiation
732
732
  var dynamic1 = splitio({
733
733
  core: {
734
734
  authorizationKey: '<your-token>',
@@ -1 +1 @@
1
- export var packageVersion = '10.25.2';
1
+ export var packageVersion = '10.25.3-rc.0';
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.packageVersion = void 0;
4
- exports.packageVersion = '10.25.2';
4
+ exports.packageVersion = '10.25.3-rc.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splitsoftware/splitio",
3
- "version": "10.25.2",
3
+ "version": "10.25.3-rc.0",
4
4
  "description": "Split SDK",
5
5
  "files": [
6
6
  "README.md",
@@ -40,7 +40,7 @@
40
40
  "node": ">=6"
41
41
  },
42
42
  "dependencies": {
43
- "@splitsoftware/splitio-commons": "1.13.1",
43
+ "@splitsoftware/splitio-commons": "1.13.2-rc.5",
44
44
  "@types/google.analytics": "0.0.40",
45
45
  "@types/ioredis": "^4.28.0",
46
46
  "bloom-filters": "^3.0.0",
@@ -1 +1 @@
1
- export const packageVersion = '10.25.2';
1
+ export const packageVersion = '10.25.3-rc.0';