From d3fc749869656bc404f7b51964922dd8269e299f Mon Sep 17 00:00:00 2001 From: Mike Ng Date: Tue, 21 Aug 2018 15:48:35 -0700 Subject: [PATCH 1/5] Bump to 2.1.2. --- packages/optimizely-sdk/CHANGELOG.MD | 7 +++++++ packages/optimizely-sdk/lib/utils/enums/index.js | 2 +- packages/optimizely-sdk/package.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/optimizely-sdk/CHANGELOG.MD b/packages/optimizely-sdk/CHANGELOG.MD index 944f40281..6327372b9 100644 --- a/packages/optimizely-sdk/CHANGELOG.MD +++ b/packages/optimizely-sdk/CHANGELOG.MD @@ -9,6 +9,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Deprecated * The UMD build of the SDK now assigns the SDK namespace object to `window.optimizelySdk` rather than to `window.optimizelyClient`. The old name still works, but on its first access a deprecation warning is logged to the console. The alias will be removed in the 3.0.0 release. +## [2.1.2] - August 21, 2018 + +### Fixed +- Send all decisions for the same event in one snapshot. ([#155](https://github.com/optimizely/javascript-sdk/pull/155)) +- Give Node.js consumers the unbundled package ([#133](https://github.com/optimizely/javascript-sdk/pull/133)) +- Prevent crash when `http`/`https` emits an error by adding an 'error' listener ([#123](https://github.com/optimizely/javascript-sdk/pull/123) + ## 2.1.1 June 19, 2018 diff --git a/packages/optimizely-sdk/lib/utils/enums/index.js b/packages/optimizely-sdk/lib/utils/enums/index.js index a5ac00e57..2f9401eb6 100644 --- a/packages/optimizely-sdk/lib/utils/enums/index.js +++ b/packages/optimizely-sdk/lib/utils/enums/index.js @@ -137,7 +137,7 @@ exports.CONTROL_ATTRIBUTES = { exports.JAVASCRIPT_CLIENT_ENGINE = 'javascript-sdk'; exports.NODE_CLIENT_ENGINE = 'node-sdk'; -exports.NODE_CLIENT_VERSION = '2.1.1'; +exports.NODE_CLIENT_VERSION = '2.1.2'; /* * Notification types for use with NotificationCenter diff --git a/packages/optimizely-sdk/package.json b/packages/optimizely-sdk/package.json index c38d369c2..3f607b064 100644 --- a/packages/optimizely-sdk/package.json +++ b/packages/optimizely-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@optimizely/optimizely-sdk", - "version": "2.1.1", + "version": "2.1.2", "description": "JavaScript SDK for Optimizely X Full Stack", "main": "lib/index.node.js", "browser": "lib/index.browser.js", From 61db46a4a795c85a0a566e6bdf40254456ae6298 Mon Sep 17 00:00:00 2001 From: Mike Ng Date: Tue, 21 Aug 2018 15:50:36 -0700 Subject: [PATCH 2/5] Add missing paren to changelog entry. --- packages/optimizely-sdk/CHANGELOG.MD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/optimizely-sdk/CHANGELOG.MD b/packages/optimizely-sdk/CHANGELOG.MD index 6327372b9..16a771dbe 100644 --- a/packages/optimizely-sdk/CHANGELOG.MD +++ b/packages/optimizely-sdk/CHANGELOG.MD @@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed - Send all decisions for the same event in one snapshot. ([#155](https://github.com/optimizely/javascript-sdk/pull/155)) - Give Node.js consumers the unbundled package ([#133](https://github.com/optimizely/javascript-sdk/pull/133)) -- Prevent crash when `http`/`https` emits an error by adding an 'error' listener ([#123](https://github.com/optimizely/javascript-sdk/pull/123) +- Prevent crash when `http`/`https` emits an error by adding an 'error' listener ([#123](https://github.com/optimizely/javascript-sdk/pull/123)) ## 2.1.1 June 19, 2018 From 1c85fafe57a0849b459c9c1e6a5311ab6fd9810f Mon Sep 17 00:00:00 2001 From: Mike Ng Date: Tue, 21 Aug 2018 17:24:40 -0700 Subject: [PATCH 3/5] Include previous 2.1.2 version and update to 2.1.3 instead. --- packages/optimizely-sdk/CHANGELOG.MD | 21 ++++++++++++++----- .../optimizely-sdk/lib/utils/enums/index.js | 2 +- packages/optimizely-sdk/package.json | 2 +- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/packages/optimizely-sdk/CHANGELOG.MD b/packages/optimizely-sdk/CHANGELOG.MD index 16a771dbe..0cf2104fb 100644 --- a/packages/optimizely-sdk/CHANGELOG.MD +++ b/packages/optimizely-sdk/CHANGELOG.MD @@ -6,15 +6,26 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## Unreleased -### Deprecated -* The UMD build of the SDK now assigns the SDK namespace object to `window.optimizelySdk` rather than to `window.optimizelyClient`. The old name still works, but on its first access a deprecation warning is logged to the console. The alias will be removed in the 3.0.0 release. - -## [2.1.2] - August 21, 2018 +## [2.1.3] - August 21, 2018 ### Fixed - Send all decisions for the same event in one snapshot. ([#155](https://github.com/optimizely/javascript-sdk/pull/155)) - Give Node.js consumers the unbundled package ([#133](https://github.com/optimizely/javascript-sdk/pull/133)) -- Prevent crash when `http`/`https` emits an error by adding an 'error' listener ([#123](https://github.com/optimizely/javascript-sdk/pull/123)) + +### Deprecated +- The UMD build of the SDK now assigns the SDK namespace object to `window.optimizelySdk` rather than to `window.optimizelyClient`. The old name still works, but on its first access a deprecation warning is logged to the console. The alias will be removed in the 3.0.0 release. + +## [2.1.2] - June 25, 2018 + +### Fixed +- Failure to log success message when event dispatched ([#123](https://github.com/optimizely/javascript-sdk/pull/123)) +- Fix: Don't call success message when event fails to send ([#123](https://github.com/optimizely/javascript-sdk/pull/123)) + +## [2.0.5] - June 25, 2018 + +### Fixed +- Failure to log success message when event dispatched ([#123](https://github.com/optimizely/javascript-sdk/pull/123)) +- Fix: Don't call success message when event fails to send ([#123](https://github.com/optimizely/javascript-sdk/pull/123)) ## 2.1.1 June 19, 2018 diff --git a/packages/optimizely-sdk/lib/utils/enums/index.js b/packages/optimizely-sdk/lib/utils/enums/index.js index 2f9401eb6..26c33acb0 100644 --- a/packages/optimizely-sdk/lib/utils/enums/index.js +++ b/packages/optimizely-sdk/lib/utils/enums/index.js @@ -137,7 +137,7 @@ exports.CONTROL_ATTRIBUTES = { exports.JAVASCRIPT_CLIENT_ENGINE = 'javascript-sdk'; exports.NODE_CLIENT_ENGINE = 'node-sdk'; -exports.NODE_CLIENT_VERSION = '2.1.2'; +exports.NODE_CLIENT_VERSION = '2.1.3'; /* * Notification types for use with NotificationCenter diff --git a/packages/optimizely-sdk/package.json b/packages/optimizely-sdk/package.json index 3f607b064..dd2aa4cd8 100644 --- a/packages/optimizely-sdk/package.json +++ b/packages/optimizely-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@optimizely/optimizely-sdk", - "version": "2.1.2", + "version": "2.1.3", "description": "JavaScript SDK for Optimizely X Full Stack", "main": "lib/index.node.js", "browser": "lib/index.browser.js", From 7f3627962aafbd5ade2f0ed8dcb041e2dcb661bd Mon Sep 17 00:00:00 2001 From: Mike Ng Date: Tue, 21 Aug 2018 17:33:25 -0700 Subject: [PATCH 4/5] Add missing link to deprecated log entry. --- packages/optimizely-sdk/CHANGELOG.MD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/optimizely-sdk/CHANGELOG.MD b/packages/optimizely-sdk/CHANGELOG.MD index 0cf2104fb..30dec5d14 100644 --- a/packages/optimizely-sdk/CHANGELOG.MD +++ b/packages/optimizely-sdk/CHANGELOG.MD @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Give Node.js consumers the unbundled package ([#133](https://github.com/optimizely/javascript-sdk/pull/133)) ### Deprecated -- The UMD build of the SDK now assigns the SDK namespace object to `window.optimizelySdk` rather than to `window.optimizelyClient`. The old name still works, but on its first access a deprecation warning is logged to the console. The alias will be removed in the 3.0.0 release. +- The UMD build of the SDK now assigns the SDK namespace object to `window.optimizelySdk` rather than to `window.optimizelyClient`. The old name still works, but on its first access a deprecation warning is logged to the console. The alias will be removed in the 3.0.0 release. ([#152](https://github.com/optimizely/javascript-sdk/pull/152)) ## [2.1.2] - June 25, 2018 From 84cca271a4fb0c358dd4dcb912b5641b086444ac Mon Sep 17 00:00:00 2001 From: Mike Ng Date: Tue, 21 Aug 2018 17:37:39 -0700 Subject: [PATCH 5/5] Remove unreleased section as it is not populated. --- packages/optimizely-sdk/CHANGELOG.MD | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/optimizely-sdk/CHANGELOG.MD b/packages/optimizely-sdk/CHANGELOG.MD index 30dec5d14..e181e1959 100644 --- a/packages/optimizely-sdk/CHANGELOG.MD +++ b/packages/optimizely-sdk/CHANGELOG.MD @@ -4,8 +4,6 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## Unreleased - ## [2.1.3] - August 21, 2018 ### Fixed