From 3661660b7064941951a6bdcee8e4e7752836bd0c Mon Sep 17 00:00:00 2001 From: Raju Ahmed Date: Fri, 18 Aug 2023 16:52:29 +0600 Subject: [PATCH 1/4] [FSSDK-9562] prepare for release 5.0.0-beta3 --- CHANGELOG.md | 6 ++++++ lib/index.browser.tests.js | 2 +- lib/index.lite.tests.js | 2 +- lib/index.node.tests.js | 2 +- lib/utils/enums/index.ts | 4 ++-- package-lock.json | 2 +- package.json | 2 +- tests/index.react_native.spec.ts | 2 +- 8 files changed, 14 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42706859a..451a27e5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [5.0.0-beta3] - August 18, 2023 + +### Bug fixes +- Fixed odp event sending not working for Europe and Asia region ([#852](https://github.com/optimizely/javascript-sdk/pull/852)) + + ## [5.0.0-beta2] - July 19, 2023 ### Performance Improvements diff --git a/lib/index.browser.tests.js b/lib/index.browser.tests.js index 9dc5b1d67..0fec0d5bc 100644 --- a/lib/index.browser.tests.js +++ b/lib/index.browser.tests.js @@ -188,7 +188,7 @@ describe('javascript-sdk (Browser)', function() { optlyInstance.onReady().catch(function() {}); assert.instanceOf(optlyInstance, Optimizely); - assert.equal(optlyInstance.clientVersion, '5.0.0-beta2'); + assert.equal(optlyInstance.clientVersion, '5.0.0-beta3'); }); it('should set the JavaScript client engine and version', function() { diff --git a/lib/index.lite.tests.js b/lib/index.lite.tests.js index fb0b1fc1e..248932dc1 100644 --- a/lib/index.lite.tests.js +++ b/lib/index.lite.tests.js @@ -76,7 +76,7 @@ describe('optimizelyFactory', function() { optlyInstance.onReady().catch(function() {}); assert.instanceOf(optlyInstance, Optimizely); - assert.equal(optlyInstance.clientVersion, '5.0.0-beta2'); + assert.equal(optlyInstance.clientVersion, '5.0.0-beta3'); }); }); }); diff --git a/lib/index.node.tests.js b/lib/index.node.tests.js index 7327032a4..b68dcfd83 100644 --- a/lib/index.node.tests.js +++ b/lib/index.node.tests.js @@ -90,7 +90,7 @@ describe('optimizelyFactory', function() { optlyInstance.onReady().catch(function() {}); assert.instanceOf(optlyInstance, Optimizely); - assert.equal(optlyInstance.clientVersion, '5.0.0-beta2'); + assert.equal(optlyInstance.clientVersion, '5.0.0-beta3'); }); describe('event processor configuration', function() { diff --git a/lib/utils/enums/index.ts b/lib/utils/enums/index.ts index 5b454abe2..d760722e9 100644 --- a/lib/utils/enums/index.ts +++ b/lib/utils/enums/index.ts @@ -223,8 +223,8 @@ export const NODE_CLIENT_ENGINE = 'node-sdk'; export const REACT_CLIENT_ENGINE = 'react-sdk'; export const REACT_NATIVE_CLIENT_ENGINE = 'react-native-sdk'; export const REACT_NATIVE_JS_CLIENT_ENGINE = 'react-native-js-sdk'; -export const BROWSER_CLIENT_VERSION = '5.0.0-beta2'; -export const NODE_CLIENT_VERSION = '5.0.0-beta2'; +export const BROWSER_CLIENT_VERSION = '5.0.0-beta3'; +export const NODE_CLIENT_VERSION = '5.0.0-beta3'; export const DECISION_NOTIFICATION_TYPES = { AB_TEST: 'ab-test', diff --git a/package-lock.json b/package-lock.json index eb0b7d74f..253922ace 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@optimizely/optimizely-sdk", - "version": "5.0.0-beta2", + "version": "5.0.0-beta3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index fc3c3ba03..7aedd6626 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@optimizely/optimizely-sdk", - "version": "5.0.0-beta2", + "version": "5.0.0-beta3", "description": "JavaScript SDK for Optimizely Feature Experimentation, Optimizely Full Stack (legacy), and Optimizely Rollouts", "module": "dist/optimizely.browser.es.js", "main": "dist/optimizely.node.min.js", diff --git a/tests/index.react_native.spec.ts b/tests/index.react_native.spec.ts index afa83d52d..d1fda26fc 100644 --- a/tests/index.react_native.spec.ts +++ b/tests/index.react_native.spec.ts @@ -90,7 +90,7 @@ describe('javascript-sdk/react-native', () => { expect(optlyInstance).toBeInstanceOf(Optimizely); // @ts-ignore - expect(optlyInstance.clientVersion).toEqual('5.0.0-beta2'); + expect(optlyInstance.clientVersion).toEqual('5.0.0-beta3'); }); it('should set the React Native JS client engine and javascript SDK version', () => { From c0f5cfba5e9ed6ca8ec89107688891d0cb553476 Mon Sep 17 00:00:00 2001 From: Raju Ahmed Date: Fri, 18 Aug 2023 17:32:02 +0600 Subject: [PATCH 2/4] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 451a27e5c..b12be901c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [5.0.0-beta3] - August 18, 2023 ### Bug fixes -- Fixed odp event sending not working for Europe and Asia region ([#852](https://github.com/optimizely/javascript-sdk/pull/852)) +- Fixed odp event sending not working for Europe and Asia-Pacific regions ([#852](https://github.com/optimizely/javascript-sdk/pull/852)) ## [5.0.0-beta2] - July 19, 2023 From c34815dbc4d28a425a247a432b9f7b6068d4592c Mon Sep 17 00:00:00 2001 From: Raju Ahmed Date: Fri, 18 Aug 2023 19:10:50 +0600 Subject: [PATCH 3/4] update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b12be901c..9bfebfd83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Bug fixes - Fixed odp event sending not working for Europe and Asia-Pacific regions ([#852](https://github.com/optimizely/javascript-sdk/pull/852)) +### Changed +- Remove 1 second polling floor to allow datafile polling at any frequency but or intervals under 30 seconds, log a warning ([#841](https://github.com/optimizely/javascript-sdk/pull/841)). ## [5.0.0-beta2] - July 19, 2023 From 383c694c25434fd908926d8a0f37c775eb1a7077 Mon Sep 17 00:00:00 2001 From: Raju Ahmed Date: Fri, 18 Aug 2023 19:12:18 +0600 Subject: [PATCH 4/4] fix typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9bfebfd83..3ab59f855 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed odp event sending not working for Europe and Asia-Pacific regions ([#852](https://github.com/optimizely/javascript-sdk/pull/852)) ### Changed -- Remove 1 second polling floor to allow datafile polling at any frequency but or intervals under 30 seconds, log a warning ([#841](https://github.com/optimizely/javascript-sdk/pull/841)). +- Remove 1 second polling floor to allow datafile polling at any frequency but for intervals under 30 seconds, log a warning ([#841](https://github.com/optimizely/javascript-sdk/pull/841)). ## [5.0.0-beta2] - July 19, 2023