From 851b06622fa6a0239500b3b65e2d3937334960de Mon Sep 17 00:00:00 2001 From: Md Junaed Hossain <169046794+junaed-optimizely@users.noreply.github.com> Date: Tue, 21 May 2024 19:25:07 +0600 Subject: [PATCH] [FSSDK-10198]prepare for release 5.3.2 (#932) * prepare for version 5.3.2 * Revert "prepare for version 5.3.2" This reverts commit 345d59789568533d43072f155bfecc35eff45167. * prepare for release 5.3.2 --- CHANGELOG.md | 7 +++++++ lib/index.browser.tests.js | 2 +- lib/index.lite.tests.js | 2 +- lib/index.node.tests.js | 2 +- lib/utils/enums/index.ts | 2 +- package-lock.json | 4 ++-- package.json | 2 +- tests/index.react_native.spec.ts | 2 +- 8 files changed, 15 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2379ffb20..d8db9cd19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ 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). +## [5.3.2] - May 20, 2024 + +### Changed + +- Added public facing API for ODP integration information ([#930](https://github.com/optimizely/javascript-sdk/pull/930)) + + ## [5.3.1] - May 20, 2024 ### Changed diff --git a/lib/index.browser.tests.js b/lib/index.browser.tests.js index e3e98b357..fcd481b86 100644 --- a/lib/index.browser.tests.js +++ b/lib/index.browser.tests.js @@ -193,7 +193,7 @@ describe('javascript-sdk (Browser)', function() { optlyInstance.onReady().catch(function() {}); assert.instanceOf(optlyInstance, Optimizely); - assert.equal(optlyInstance.clientVersion, '5.3.1'); + assert.equal(optlyInstance.clientVersion, '5.3.2'); }); 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 99ebdbd11..eecf67e32 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.3.1'); + assert.equal(optlyInstance.clientVersion, '5.3.2'); }); }); }); diff --git a/lib/index.node.tests.js b/lib/index.node.tests.js index 54babaeec..aff679fb7 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.3.1'); + assert.equal(optlyInstance.clientVersion, '5.3.2'); }); describe('event processor configuration', function() { diff --git a/lib/utils/enums/index.ts b/lib/utils/enums/index.ts index faadb97a8..5f0581b92 100644 --- a/lib/utils/enums/index.ts +++ b/lib/utils/enums/index.ts @@ -221,7 +221,7 @@ 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 CLIENT_VERSION = '5.3.1'; +export const CLIENT_VERSION = '5.3.2'; export const DECISION_NOTIFICATION_TYPES = { AB_TEST: 'ab-test', diff --git a/package-lock.json b/package-lock.json index bd14b1fdd..bae861e76 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@optimizely/optimizely-sdk", - "version": "5.3.1", + "version": "5.3.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@optimizely/optimizely-sdk", - "version": "5.3.1", + "version": "5.3.2", "license": "Apache-2.0", "dependencies": { "decompress-response": "^4.2.1", diff --git a/package.json b/package.json index 93c2ffa9e..729241fbe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@optimizely/optimizely-sdk", - "version": "5.3.1", + "version": "5.3.2", "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 5d5de27a3..ce9cb2e81 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.3.1'); + expect(optlyInstance.clientVersion).toEqual('5.3.2'); }); it('should set the React Native JS client engine and javascript SDK version', () => {