Skip to content

Commit 9039df2

Browse files
authored
chore: prepare for release 3.4.1 (#391)
* prepare for release 3.4.1
1 parent 8e906b7 commit 9039df2

File tree

7 files changed

+16
-11
lines changed

7 files changed

+16
-11
lines changed

packages/optimizely-sdk/CHANGELOG.MD

+10-5
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
88
### Bug fixes
99
- Fixed default event dispatcher not used in React Native entry point ([#383](https://github.com/optimizely/javascript-sdk/pull/383))
1010

11+
## [3.4.1] - January 28th, 2020
12+
13+
### Bug fixes
14+
- Added `getOptimizelyConfig` and related types to TypeScript type definitions([#390](https://github.com/optimizely/javascript-sdk/pull/390)).
15+
1116
## [3.4.0] - January 21th, 2020
1217

1318
### Bug fixes
14-
- Fixed incorrect payload for decision notification triggered by calling getVariation on a feature test in a mutex group([#375](https://github.com/optimizely/javascript-sdk/pull/375))
19+
- Fixed incorrect payload for decision notification triggered by calling getVariation on a feature test in a mutex group([#375](https://github.com/optimizely/javascript-sdk/pull/375)).
1520

1621
### New Features
17-
- Added a new API to get a project configuration static data.
18-
- Call `getOptimizelyConfig()` to get a snapshot copy of project configuration static data.
22+
- Added a new API to get project configuration static data.
23+
- Call `getOptimizelyConfig()` to get a snapshot of project configuration static data.
1924
- It returns an `OptimizelyConfig` instance which includes a datafile revision number, all experiments, and feature flags mapped by their key values.
20-
- Added caching for `getOptimizelyConfig` - `OptimizelyConfig` object will be cached and reused for the lifetime of the datafile
21-
- For details, refer to a documention page: https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-javascript-node
25+
- Added caching for `getOptimizelyConfig` - `OptimizelyConfig` object will be cached and reused for the lifetime of the datafile.
26+
- For details, refer to our documentation page: [https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-javascript-node](https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-javascript-node).
2227

2328
### Removed Features
2429
- Removed support for `'launched'` experiment status

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

+1-1
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, '3.4.0');
151+
assert.equal(optlyInstance.clientVersion, '3.4.1');
152152
});
153153

154154
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
@@ -92,7 +92,7 @@ describe('optimizelyFactory', function() {
9292
optlyInstance.onReady().catch(function() {});
9393

9494
assert.instanceOf(optlyInstance, Optimizely);
95-
assert.equal(optlyInstance.clientVersion, '3.4.0');
95+
assert.equal(optlyInstance.clientVersion, '3.4.1');
9696
});
9797

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

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ describe('javascript-sdk/react-native', function() {
9292
optlyInstance.onReady().catch(function() {});
9393

9494
assert.instanceOf(optlyInstance, Optimizely);
95-
assert.equal(optlyInstance.clientVersion, '3.4.0');
95+
assert.equal(optlyInstance.clientVersion, '3.4.1');
9696
});
9797

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

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ exports.CONTROL_ATTRIBUTES = {
159159
exports.JAVASCRIPT_CLIENT_ENGINE = 'javascript-sdk';
160160
exports.NODE_CLIENT_ENGINE = 'node-sdk';
161161
exports.REACT_CLIENT_ENGINE = 'react-sdk';
162-
exports.NODE_CLIENT_VERSION = '3.4.0';
162+
exports.NODE_CLIENT_VERSION = '3.4.1';
163163

164164
exports.VALID_CLIENT_ENGINES = [
165165
exports.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": "3.4.0",
3+
"version": "3.4.1",
44
"description": "JavaScript SDK for Optimizely X Full Stack",
55
"main": "lib/index.node.js",
66
"browser": "lib/index.browser.js",

0 commit comments

Comments
 (0)