Skip to content

Commit c7802e2

Browse files
Merge pull request #658 from splitio/release_v10.18.0
Prepare release v10.18.0
2 parents dca06e2 + 3349f89 commit c7802e2

4 files changed

Lines changed: 24 additions & 7 deletions

File tree

CHANGES.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
10.18.0 (April 6, 2022)
2+
- 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.
3+
- Added `scheduler.impressionsQueueSize` property to SDK configuration to limit the amount of impressions tracked in memory. Read more in our docs.
4+
- Added support to accept TLS configuration options to the Redis storage in NodeJS. Read more in our docs.
5+
- Updated type definitions to specialize the type of the `storage.options` object for Redis storage in NodeJS.
6+
- Updated some dependencies for vulnerability fixes.
7+
- Bugfixing - Updated internal isObject utility function, to avoid unexpected behaviors on frameworks and libraries that uses multiple VM contexts, like NuxtJS dev server.
8+
- Bugfixing - Logging settings (i.e., the `debug` SDK configuration param and factory logger methods) are configurable per factory instance, instead of affecting all factories globally.
9+
- Bugfixing - Fixed an issue with `connectionTimeout` options params of Redis storage, that was being ignored and not passed down to the underlying ioredis client.
10+
- Bugfixing - Updated the validation of some SDK configuration params to log errors and throw exceptions with clear descriptions of the invalid setup:
11+
- 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'.".
12+
- 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.".
13+
- 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.".
14+
15+
- 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,
16+
but it does not imply a breaking change as long as the library is imported via its main entrypoint (e.g., `const { SplitFactory } = require('@splitsoftware/splitio')` or `import { SplitFactory } from '@splitsoftware/splitio'`).
17+
118
10.17.3 (February 25, 2022)
219
- Updated format for MySegments keys in LocalStorage, keeping backwards compatibility (issue https://github.com/splitio/javascript-client/issues/638).
320
- Updated some dependencies for vulnerability fixes.

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@splitsoftware/splitio",
3-
"version": "10.17.4-rc.4",
3+
"version": "10.18.0",
44
"description": "Split SDK",
55
"files": [
66
"README.md",
@@ -32,7 +32,7 @@
3232
"node": ">=6"
3333
},
3434
"dependencies": {
35-
"@splitsoftware/splitio-commons": "1.2.1-rc.12",
35+
"@splitsoftware/splitio-commons": "1.3.0",
3636
"@types/google.analytics": "0.0.40",
3737
"@types/ioredis": "^4.28.0",
3838
"ioredis": "^4.28.0",

src/settings/defaults/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const packageVersion = '10.17.4-rc.4';
1+
export const packageVersion = '10.18.0';

0 commit comments

Comments
 (0)