Skip to content

Commit 53a2042

Browse files
mikechu-optimizelyMike Chu
and
Mike Chu
authored
[FSSDK-9984] chore: Prep release (#919)
* chore: bump release version number * docs: update changelog --------- Co-authored-by: Mike Chu <[email protected]>
1 parent cf941c1 commit 53a2042

8 files changed

+14
-8
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [5.2.1] - March 25, 2024
11+
12+
### Bug fixes
13+
- Fix: empty segments collection is valid ([#916](https://github.com/optimizely/javascript-sdk/pull/916))
14+
- Update vulnerable dependencies ([#918](https://github.com/optimizely/javascript-sdk/pull/918))
15+
1016
## [5.2.0] - March 18, 2024
1117

1218
### 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.2.0');
196+
assert.equal(optlyInstance.clientVersion, '5.2.1');
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.2.0');
79+
assert.equal(optlyInstance.clientVersion, '5.2.1');
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.2.0');
93+
assert.equal(optlyInstance.clientVersion, '5.2.1');
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.2.0';
226+
export const CLIENT_VERSION = '5.2.1';
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.2.0",
3+
"version": "5.2.1",
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.2.0');
93+
expect(optlyInstance.clientVersion).toEqual('5.2.1');
9494
});
9595

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

0 commit comments

Comments
 (0)