Skip to content

Commit f5b4b9a

Browse files
authored
[FSSDK-9585] prepare for release 5.0.0-beta5 (#863)
1 parent 87f26a7 commit f5b4b9a

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.0.0-beta5] - September 1, 2023
11+
12+
### Changed
13+
- Exported logging related types and values from the package entrypoint ([#858](https://github.com/optimizely/javascript-sdk/pull/858))
14+
- Removed /lib directory from the published pacakage ([#862](https://github.com/optimizely/javascript-sdk/pull/862))
15+
1016
## [5.0.0-beta4] - August 22, 2023
1117

1218
### New Features

lib/index.browser.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ describe('javascript-sdk (Browser)', function() {
192192
optlyInstance.onReady().catch(function() {});
193193

194194
assert.instanceOf(optlyInstance, Optimizely);
195-
assert.equal(optlyInstance.clientVersion, '5.0.0-beta4');
195+
assert.equal(optlyInstance.clientVersion, '5.0.0-beta5');
196196
});
197197

198198
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.0.0-beta4');
79+
assert.equal(optlyInstance.clientVersion, '5.0.0-beta5');
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.0.0-beta4');
93+
assert.equal(optlyInstance.clientVersion, '5.0.0-beta5');
9494
});
9595

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

lib/utils/enums/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ 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 BROWSER_CLIENT_VERSION = '5.0.0-beta4';
227-
export const NODE_CLIENT_VERSION = '5.0.0-beta4';
226+
export const BROWSER_CLIENT_VERSION = '5.0.0-beta5';
227+
export const NODE_CLIENT_VERSION = '5.0.0-beta5';
228228

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

package-lock.json

Lines changed: 1 addition & 1 deletion
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.0.0-beta4",
3+
"version": "5.0.0-beta5",
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.0.0-beta4');
93+
expect(optlyInstance.clientVersion).toEqual('5.0.0-beta5');
9494
});
9595

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

0 commit comments

Comments
 (0)