Skip to content

Commit 6876656

Browse files
authored
chore: Prepare for 4.0.0-rc.2 release (#465)
Prepare for 4.0.0-rc.2 release
1 parent eb6fec8 commit 6876656

File tree

8 files changed

+12
-7
lines changed

8 files changed

+12
-7
lines changed

packages/optimizely-sdk/CHANGELOG.MD

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
## [4.0.0-rc.2] - April 24, 2020
11+
12+
### Bug fixes
13+
- Allow multiple instances to be created from the same datafile object ([#462](https://github.com/optimizely/javascript-sdk/pull/462))
14+
1015
## [4.0.0-rc.1] - April 17, 2020
1116

1217
### New Features

packages/optimizely-sdk/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This directory contains the source code for the JavaScript SDK, which is usable
1515
### Prerequisites
1616

1717
Ensure the SDK supports all of the platforms you're targeting. In particular, the SDK targets any ES5-compliant JavaScript environment. We officially support:
18-
- Node.js >= 4.0.0. By extension, environments like AWS Lambda, Google Cloud Functions, and Auth0 Webtasks are supported as well. Older Node.js releases likely work too (try `npm test` to validate for yourself), but are not formally supported.
18+
- Node.js >= 8.0.0. By extension, environments like AWS Lambda, Google Cloud Functions, and Auth0 Webtasks are supported as well. Older Node.js releases likely work too (try `npm test` to validate for yourself), but are not formally supported.
1919
- [Web browsers](https://caniuse.com/#feat=es5)
2020

2121
Other environments likely are compatible, too, but note that we don't officially support them:

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ describe('javascript-sdk', function() {
145145
optlyInstance.onReady().catch(function() {});
146146

147147
assert.instanceOf(optlyInstance, Optimizely);
148-
assert.equal(optlyInstance.clientVersion, '4.0.0-rc.1');
148+
assert.equal(optlyInstance.clientVersion, '4.0.0-rc.2');
149149
});
150150

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

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

+1-1
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.0.0-rc.1');
93+
assert.equal(optlyInstance.clientVersion, '4.0.0-rc.2');
9494
});
9595

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

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

+1-1
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.0.0-rc.1');
92+
assert.equal(optlyInstance.clientVersion, '4.0.0-rc.2');
9393
});
9494

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

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export var NODE_CLIENT_ENGINE = 'node-sdk';
175175
export var REACT_CLIENT_ENGINE = 'react-sdk';
176176
export var REACT_NATIVE_CLIENT_ENGINE = 'react-native-sdk';
177177
export var REACT_NATIVE_JS_CLIENT_ENGINE = 'react-native-js-sdk';
178-
export var NODE_CLIENT_VERSION = '4.0.0-rc.1';
178+
export var NODE_CLIENT_VERSION = '4.0.0-rc.2';
179179

180180
export var VALID_CLIENT_ENGINES = [
181181
NODE_CLIENT_ENGINE,

packages/optimizely-sdk/package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/optimizely-sdk/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@optimizely/optimizely-sdk",
3-
"version": "4.0.0-rc.1",
3+
"version": "4.0.0-rc.2",
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)