Skip to content

Commit 6be2631

Browse files
authored
[FSSDK-9621] prepare release 5.2.0 (#915)
1 parent 05547df commit 6be2631

8 files changed

+13
-8
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
## [5.2.0] - March 18, 2024
11+
12+
### New Features
13+
- Add `persistentCacheProvider` option to `createInstance` to allow providing custom persistent cache implementation in react native ([#914](https://github.com/optimizely/javascript-sdk/pull/914))
14+
1015
## [5.1.0] - March 1, 2024
1116

1217
### New Features

lib/index.browser.tests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ describe('javascript-sdk (Browser)', function() {
193193
optlyInstance.onReady().catch(function() {});
194194

195195
assert.instanceOf(optlyInstance, Optimizely);
196-
assert.equal(optlyInstance.clientVersion, '5.1.0');
196+
assert.equal(optlyInstance.clientVersion, '5.2.0');
197197
});
198198

199199
it('should set the JavaScript client engine and version', function() {

lib/index.lite.tests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe('optimizelyFactory', function() {
7676
optlyInstance.onReady().catch(function() {});
7777

7878
assert.instanceOf(optlyInstance, Optimizely);
79-
assert.equal(optlyInstance.clientVersion, '5.1.0');
79+
assert.equal(optlyInstance.clientVersion, '5.2.0');
8080
});
8181
});
8282
});

lib/index.node.tests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ describe('optimizelyFactory', function() {
9090
optlyInstance.onReady().catch(function() {});
9191

9292
assert.instanceOf(optlyInstance, Optimizely);
93-
assert.equal(optlyInstance.clientVersion, '5.1.0');
93+
assert.equal(optlyInstance.clientVersion, '5.2.0');
9494
});
9595

9696
describe('event processor configuration', function() {

lib/utils/enums/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export const NODE_CLIENT_ENGINE = 'node-sdk';
223223
export const REACT_CLIENT_ENGINE = 'react-sdk';
224224
export const REACT_NATIVE_CLIENT_ENGINE = 'react-native-sdk';
225225
export const REACT_NATIVE_JS_CLIENT_ENGINE = 'react-native-js-sdk';
226-
export const CLIENT_VERSION = '5.1.0';
226+
export const CLIENT_VERSION = '5.2.0';
227227

228228
export const DECISION_NOTIFICATION_TYPES = {
229229
AB_TEST: 'ab-test',

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@optimizely/optimizely-sdk",
3-
"version": "5.1.0",
3+
"version": "5.2.0",
44
"description": "JavaScript SDK for Optimizely Feature Experimentation, Optimizely Full Stack (legacy), and Optimizely Rollouts",
55
"module": "dist/optimizely.browser.es.js",
66
"main": "dist/optimizely.node.min.js",

tests/index.react_native.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ describe('javascript-sdk/react-native', () => {
9090

9191
expect(optlyInstance).toBeInstanceOf(Optimizely);
9292
// @ts-ignore
93-
expect(optlyInstance.clientVersion).toEqual('5.1.0');
93+
expect(optlyInstance.clientVersion).toEqual('5.2.0');
9494
});
9595

9696
it('should set the React Native JS client engine and javascript SDK version', () => {

0 commit comments

Comments
 (0)