Skip to content

Commit

Permalink
[FSSDK-9611] prepare release 5.0.0-beta4 (#857)
Browse files Browse the repository at this point in the history
  • Loading branch information
raju-opti authored Aug 22, 2023
1 parent b317068 commit 9ff2887
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [5.0.0-beta4] - August 22, 2023

### New Features
- Added support for configurable user agent parser for ODP ([#854](https://github.com/optimizely/javascript-sdk/pull/854))

### Bug fixes
- Fixed typescript compilation failure due to missing types ([#856](https://github.com/optimizely/javascript-sdk/pull/856))

## [5.0.0-beta3] - August 18, 2023

### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion lib/index.browser.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ describe('javascript-sdk (Browser)', function() {
optlyInstance.onReady().catch(function() {});

assert.instanceOf(optlyInstance, Optimizely);
assert.equal(optlyInstance.clientVersion, '5.0.0-beta3');
assert.equal(optlyInstance.clientVersion, '5.0.0-beta4');
});

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

assert.instanceOf(optlyInstance, Optimizely);
assert.equal(optlyInstance.clientVersion, '5.0.0-beta3');
assert.equal(optlyInstance.clientVersion, '5.0.0-beta4');
});
});
});
Expand Down
2 changes: 1 addition & 1 deletion lib/index.node.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ describe('optimizelyFactory', function() {
optlyInstance.onReady().catch(function() {});

assert.instanceOf(optlyInstance, Optimizely);
assert.equal(optlyInstance.clientVersion, '5.0.0-beta3');
assert.equal(optlyInstance.clientVersion, '5.0.0-beta4');
});

describe('event processor configuration', function() {
Expand Down
4 changes: 2 additions & 2 deletions lib/utils/enums/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ 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 BROWSER_CLIENT_VERSION = '5.0.0-beta3';
export const NODE_CLIENT_VERSION = '5.0.0-beta3';
export const BROWSER_CLIENT_VERSION = '5.0.0-beta4';
export const NODE_CLIENT_VERSION = '5.0.0-beta4';

export const DECISION_NOTIFICATION_TYPES = {
AB_TEST: 'ab-test',
Expand Down
2 changes: 1 addition & 1 deletion 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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@optimizely/optimizely-sdk",
"version": "5.0.0-beta3",
"version": "5.0.0-beta4",
"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
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ describe('javascript-sdk/react-native', () => {

expect(optlyInstance).toBeInstanceOf(Optimizely);
// @ts-ignore
expect(optlyInstance.clientVersion).toEqual('5.0.0-beta3');
expect(optlyInstance.clientVersion).toEqual('5.0.0-beta4');
});

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

0 comments on commit 9ff2887

Please sign in to comment.