Skip to content

Commit 53a2042

Browse files
mikechu-optimizelyMike Chu
andauthored
[FSSDK-9984] chore: Prep release (#919)
* chore: bump release version number * docs: update changelog --------- Co-authored-by: Mike Chu <michael.chu@optmizely.com>
1 parent cf941c1 commit 53a2042

File tree

8 files changed

+14
-8
lines changed

8 files changed

+14
-8
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

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

package.json

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy