Skip to content

Commit

Permalink
[FSSDK-9984] chore: Prep release (#919)
Browse files Browse the repository at this point in the history
* chore: bump release version number

* docs: update changelog

---------

Co-authored-by: Mike Chu <michael.chu@optmizely.com>
  • Loading branch information
mikechu-optimizely and Mike Chu committed Mar 22, 2024
1 parent cf941c1 commit 53a2042
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [5.2.1] - March 25, 2024

### Bug fixes
- Fix: empty segments collection is valid ([#916](https://github.com/optimizely/javascript-sdk/pull/916))
- Update vulnerable dependencies ([#918](https://github.com/optimizely/javascript-sdk/pull/918))

## [5.2.0] - March 18, 2024

### New Features
Expand Down
2 changes: 1 addition & 1 deletion lib/index.browser.tests.js
Expand Up @@ -193,7 +193,7 @@ describe('javascript-sdk (Browser)', function() {
optlyInstance.onReady().catch(function() {});

assert.instanceOf(optlyInstance, Optimizely);
assert.equal(optlyInstance.clientVersion, '5.2.0');
assert.equal(optlyInstance.clientVersion, '5.2.1');
});

it('should set the JavaScript client engine and version', function() {
Expand Down
2 changes: 1 addition & 1 deletion lib/index.lite.tests.js
Expand Up @@ -76,7 +76,7 @@ describe('optimizelyFactory', function() {
optlyInstance.onReady().catch(function() {});

assert.instanceOf(optlyInstance, Optimizely);
assert.equal(optlyInstance.clientVersion, '5.2.0');
assert.equal(optlyInstance.clientVersion, '5.2.1');
});
});
});
Expand Down
2 changes: 1 addition & 1 deletion lib/index.node.tests.js
Expand Up @@ -90,7 +90,7 @@ describe('optimizelyFactory', function() {
optlyInstance.onReady().catch(function() {});

assert.instanceOf(optlyInstance, Optimizely);
assert.equal(optlyInstance.clientVersion, '5.2.0');
assert.equal(optlyInstance.clientVersion, '5.2.1');
});

describe('event processor configuration', function() {
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/enums/index.ts
Expand Up @@ -223,7 +223,7 @@ export const NODE_CLIENT_ENGINE = 'node-sdk';
export const REACT_CLIENT_ENGINE = 'react-sdk';
export const REACT_NATIVE_CLIENT_ENGINE = 'react-native-sdk';
export const REACT_NATIVE_JS_CLIENT_ENGINE = 'react-native-js-sdk';
export const CLIENT_VERSION = '5.2.0';
export const CLIENT_VERSION = '5.2.1';

export const DECISION_NOTIFICATION_TYPES = {
AB_TEST: 'ab-test',
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@optimizely/optimizely-sdk",
"version": "5.2.0",
"version": "5.2.1",
"description": "JavaScript SDK for Optimizely Feature Experimentation, Optimizely Full Stack (legacy), and Optimizely Rollouts",
"module": "dist/optimizely.browser.es.js",
"main": "dist/optimizely.node.min.js",
Expand Down
2 changes: 1 addition & 1 deletion tests/index.react_native.spec.ts
Expand Up @@ -90,7 +90,7 @@ describe('javascript-sdk/react-native', () => {

expect(optlyInstance).toBeInstanceOf(Optimizely);
// @ts-ignore
expect(optlyInstance.clientVersion).toEqual('5.2.0');
expect(optlyInstance.clientVersion).toEqual('5.2.1');
});

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

0 comments on commit 53a2042

Please sign in to comment.