@splitsoftware/splitio-browserjs 1.1.0-rc.0 → 1.1.1-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 +8 -2
- package/LICENSE +1 -1
- package/README.md +1 -0
- package/cjs/settings/defaults.js +1 -1
- package/esm/settings/defaults.js +1 -1
- package/package.json +2 -2
- package/src/settings/defaults.ts +1 -1
package/CHANGES.txt
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.2.0 (March 31, 2025)
|
|
2
|
+
- 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.
|
|
2
3
|
- Added two new configuration options for the SDK's `InLocalStorage` module to control the behavior of the persisted rollout plan cache in the browser:
|
|
3
4
|
- `expirationDays` to specify the validity period of the rollout plan cache in days.
|
|
4
5
|
- `clearOnInit` to clear the rollout plan cache on SDK initialization.
|
|
5
|
-
- Updated
|
|
6
|
+
- Updated SDK_READY_FROM_CACHE event when using `InLocalStorage` module to be emitted alongside the SDK_READY event if it has not already been emitted.
|
|
7
|
+
- Updated @splitsoftware/splitio-commons package to version 2.2.0.
|
|
8
|
+
|
|
9
|
+
1.1.0 (January 17, 2025)
|
|
10
|
+
- 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.
|
|
11
|
+
- Bugfixing - Updated @splitsoftware/splitio-commons package to version 2.1.0, which properly handles rejected promises when using targeting rules with segment matchers in consumer modes (e.g., Redis and Pluggable storages).
|
|
6
12
|
|
|
7
13
|
1.0.1 (November 11, 2024)
|
|
8
14
|
- Bugfixing - Revert removal of TypeScript `SplitIO` namespace at `/types/splitio.d.ts` to allow explicit imports of types from the Browser SDK package. E.g., `import type { IClientSideSettings } from '@splitsoftware/splitio-browserjs/types/splitio';`.
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -64,6 +64,7 @@ Split has built and maintains SDKs for:
|
|
|
64
64
|
* .NET [Github](https://github.com/splitio/dotnet-client) [Docs](https://help.split.io/hc/en-us/articles/360020240172--NET-SDK)
|
|
65
65
|
* Android [Github](https://github.com/splitio/android-client) [Docs](https://help.split.io/hc/en-us/articles/360020343291-Android-SDK)
|
|
66
66
|
* Angular [Github](https://github.com/splitio/angular-sdk-plugin) [Docs](https://help.split.io/hc/en-us/articles/6495326064397-Angular-utilities)
|
|
67
|
+
* Elixir thin-client [Github](https://github.com/splitio/elixir-thin-client) [Docs](https://help.split.io/hc/en-us/articles/26988707417869-Elixir-Thin-Client-SDK)
|
|
67
68
|
* Flutter [Github](https://github.com/splitio/flutter-sdk-plugin) [Docs](https://help.split.io/hc/en-us/articles/8096158017165-Flutter-plugin)
|
|
68
69
|
* GO [Github](https://github.com/splitio/go-client) [Docs](https://help.split.io/hc/en-us/articles/360020093652-Go-SDK)
|
|
69
70
|
* iOS [Github](https://github.com/splitio/ios-client) [Docs](https://help.split.io/hc/en-us/articles/360020401491-iOS-SDK)
|
package/cjs/settings/defaults.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.defaults = void 0;
|
|
4
4
|
var index_1 = require("@splitsoftware/splitio-commons/cjs/logger/index");
|
|
5
5
|
var constants_1 = require("@splitsoftware/splitio-commons/cjs/utils/constants");
|
|
6
|
-
var packageVersion = '1.1.
|
|
6
|
+
var packageVersion = '1.1.1-rc.0';
|
|
7
7
|
/**
|
|
8
8
|
* In browser, the default debug level, can be set via the `localStorage.splitio_debug` item.
|
|
9
9
|
* Acceptable values are: 'DEBUG', 'INFO', 'WARN', 'ERROR', 'NONE'.
|
package/esm/settings/defaults.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LogLevels, isLogLevelString } from '@splitsoftware/splitio-commons/esm/logger/index';
|
|
2
2
|
import { CONSENT_GRANTED } from '@splitsoftware/splitio-commons/esm/utils/constants';
|
|
3
|
-
var packageVersion = '1.1.
|
|
3
|
+
var packageVersion = '1.1.1-rc.0';
|
|
4
4
|
/**
|
|
5
5
|
* In browser, the default debug level, can be set via the `localStorage.splitio_debug` item.
|
|
6
6
|
* Acceptable values are: 'DEBUG', 'INFO', 'WARN', 'ERROR', 'NONE'.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splitsoftware/splitio-browserjs",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1-rc.0",
|
|
4
4
|
"description": "Split SDK for JavaScript on Browser",
|
|
5
5
|
"main": "cjs/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"bugs": "https://github.com/splitio/javascript-browser-client/issues",
|
|
60
60
|
"homepage": "https://github.com/splitio/javascript-browser-client#readme",
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@splitsoftware/splitio-commons": "2.
|
|
62
|
+
"@splitsoftware/splitio-commons": "2.2.0",
|
|
63
63
|
"tslib": "^2.3.1",
|
|
64
64
|
"unfetch": "^4.2.0"
|
|
65
65
|
},
|
package/src/settings/defaults.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type SplitIO from '@splitsoftware/splitio-commons/types/splitio';
|
|
|
2
2
|
import { LogLevels, isLogLevelString } from '@splitsoftware/splitio-commons/src/logger/index';
|
|
3
3
|
import { CONSENT_GRANTED } from '@splitsoftware/splitio-commons/src/utils/constants';
|
|
4
4
|
|
|
5
|
-
const packageVersion = '1.1.
|
|
5
|
+
const packageVersion = '1.1.1-rc.0';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* In browser, the default debug level, can be set via the `localStorage.splitio_debug` item.
|