Skip to content

Commit 6e1f6d6

Browse files
authored
chore: Prep for release 4.8.0-beta (#714)
1 parent e2b30fe commit 6e1f6d6

File tree

8 files changed

+16
-7
lines changed

8 files changed

+16
-7
lines changed

packages/optimizely-sdk/CHANGELOG.MD

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
## [4.8.0-beta] - October 18, 2021
11+
12+
### New Features
13+
- Added a Lite bundle which does not include Data file manager and Event Processor packages. This reduces the bundle size up to 20% and is helpful for some platforms (such as edge service providers) that do not need extended functionality offered by these packages.
14+
15+
### Performance Improvements
16+
- Reduced SDK client initialization time by removing `OptimizelyConfig` creation from initialization. The `OptimizelyConfig` object is now created on the first call to `getOptimizelyConfig` API.
17+
- Made Improvements to logging mechanism. The SDK now no longer concatenates and formats messages which do not qualify for the log level set by the user.
18+
1019
## [4.7.0] - September 15, 2021
1120

1221
### New Features

packages/optimizely-sdk/lib/index.browser.tests.js

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

150150
assert.instanceOf(optlyInstance, Optimizely);
151-
assert.equal(optlyInstance.clientVersion, '4.7.0');
151+
assert.equal(optlyInstance.clientVersion, '4.8.0-beta');
152152
});
153153

154154
it('should set the JavaScript client engine and version', function() {

packages/optimizely-sdk/lib/index.lite.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
optlyInstance.onReady().catch(function() {});
7777

7878
assert.instanceOf(optlyInstance, Optimizely);
79-
assert.equal(optlyInstance.clientVersion, '4.7.0');
79+
assert.equal(optlyInstance.clientVersion, '4.8.0-beta');
8080
});
8181
});
8282
});

packages/optimizely-sdk/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, '4.7.0');
93+
assert.equal(optlyInstance.clientVersion, '4.8.0-beta');
9494
});
9595

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

packages/optimizely-sdk/lib/index.react_native.tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ describe('javascript-sdk/react-native', function() {
8989
optlyInstance.onReady().catch(function() {});
9090

9191
assert.instanceOf(optlyInstance, Optimizely);
92-
assert.equal(optlyInstance.clientVersion, '4.7.0');
92+
assert.equal(optlyInstance.clientVersion, '4.8.0-beta');
9393
});
9494

9595
it('should set the React Native JS client engine and javascript SDK version', function() {

packages/optimizely-sdk/lib/utils/enums/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export const NODE_CLIENT_ENGINE = 'node-sdk';
178178
export const REACT_CLIENT_ENGINE = 'react-sdk';
179179
export const REACT_NATIVE_CLIENT_ENGINE = 'react-native-sdk';
180180
export const REACT_NATIVE_JS_CLIENT_ENGINE = 'react-native-js-sdk';
181-
export const NODE_CLIENT_VERSION = '4.7.0';
181+
export const NODE_CLIENT_VERSION = '4.8.0-beta';
182182

183183
export const VALID_CLIENT_ENGINES = [
184184
NODE_CLIENT_ENGINE,

packages/optimizely-sdk/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.

packages/optimizely-sdk/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": "4.7.0",
3+
"version": "4.8.0-beta",
44
"description": "JavaScript SDK for Optimizely X Full Stack",
55
"module": "dist/optimizely.browser.es.min.js",
66
"main": "dist/optimizely.node.min.js",

0 commit comments

Comments
 (0)