Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
0.5.0 (Jul 6, 2022)
- 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 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.
- Updated telemetry logic to track the anonymous config for user consent flag set to declined or unknown.
- 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.
- Updated some dependencies, including react-native, for vulnerability fixes.
- Bugfixing - Updated submitters logic, to avoid dropping impressions and events that are being tracked while POST request is pending.

0.4.0 (May 24, 2022)
- Added `scheduler.telemetryRefreshRate` property to SDK configuration.
- Updated SDK telemetry storage, metrics and updater to be more effective and send less often.
Expand Down
2,852 changes: 2,050 additions & 802 deletions example/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"react": "17.0.1",
"react-native": "0.64.1"
"react-native": "^0.69.1"
},
"devDependencies": {
"@babel/core": "^7.12.9",
Expand Down
3,445 changes: 1,822 additions & 1,623 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@splitsoftware/splitio-react-native",
"version": "0.4.0",
"version": "0.5.0",
"description": "Split SDK for React Native",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
Expand Down Expand Up @@ -54,7 +54,7 @@
},
"homepage": "https://github.com/splitio/react-native-client#readme",
"dependencies": {
"@splitsoftware/splitio-commons": "1.4.0"
"@splitsoftware/splitio-commons": "1.5.0"
},
"devDependencies": {
"@react-native-community/eslint-config": "^2.0.0",
Expand All @@ -69,7 +69,7 @@
"jest": "^27.2.3",
"prettier": "^2.0.5",
"react": "16.13.1",
"react-native": "^0.65.1",
"react-native": "^0.69.1",
"react-native-builder-bob": "^0.18.1",
"replace": "^1.2.1",
"typescript": "4.4.4"
Expand Down
2 changes: 1 addition & 1 deletion src/settings/defaults.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ConsentStatus } from '@splitsoftware/splitio-commons/src/types';
import { CONSENT_GRANTED } from '@splitsoftware/splitio-commons/src/utils/constants';

const packageVersion = '0.4.0';
const packageVersion = '0.5.0';

export const defaults = {
startup: {
Expand Down
10 changes: 8 additions & 2 deletions types/splitio.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ interface ISettings {
readonly sync: {
splitFilters: SplitIO.SplitFilter[],
impressionsMode: SplitIO.ImpressionsMode,
localhostMode?: SplitIO.LocalhostFactory
enabled: boolean,
localhostMode?: SplitIO.LocalhostFactory,
},
readonly userConsent: SplitIO.ConsentStatus
}
Expand Down Expand Up @@ -233,7 +234,12 @@ interface ISharedSettings {
* ```
* @property {Object} localhostMode
*/
localhostMode?: SplitIO.LocalhostFactory
localhostMode?: SplitIO.LocalhostFactory,
/**
* Enables synchronization of rollout plan or segment updates while the SDK instance is running. Does not affect initialization fetches.
* @property {boolean} enabled
*/
enabled?: boolean
}
}
/**
Expand Down