From 43f1a50e61a6c8f64e896ec776c7b12020bd7d59 Mon Sep 17 00:00:00 2001 From: Md Junaed Hossain <169046794+junaed-optimizely@users.noreply.github.com> Date: Thu, 15 Aug 2024 21:43:06 +0600 Subject: [PATCH 1/2] [3.2.1] Prep for release --- CHANGELOG.md | 10 ++++++++++ package.json | 2 +- src/client.spec.ts | 2 +- src/client.ts | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index adaee96..879636b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## [3.2.1] - Aug 15, 2024 + +### Bug fixes +- `clientReady` is true even though internal client promise returns `success == false` bug fix +- `useDecision` hook set the update listener on overy render bug fix +- `setForcedDecision` does not reflect the changes in optmizely instance and `useDecision` hook bug fix + +### Changed +- Performance improvements in both hooks and client instance + ## [3.2.0] - July 10, 2024 ### New Features diff --git a/package.json b/package.json index 82c7ee4..234da6a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@optimizely/react-sdk", - "version": "3.2.0", + "version": "3.2.1", "description": "React SDK for Optimizely Feature Experimentation, Optimizely Full Stack (legacy), and Optimizely Rollouts", "homepage": "https://github.com/optimizely/react-sdk", "repository": "https://github.com/optimizely/react-sdk", diff --git a/src/client.spec.ts b/src/client.spec.ts index 1c75b80..df50118 100644 --- a/src/client.spec.ts +++ b/src/client.spec.ts @@ -128,7 +128,7 @@ describe('ReactSDKClient', () => { expect(createInstanceSpy).toBeCalledWith({ ...config, clientEngine: 'react-sdk', - clientVersion: '3.2.0', + clientVersion: '3.2.1', }); }); diff --git a/src/client.ts b/src/client.ts index 858e4e3..5a4db1c 100644 --- a/src/client.ts +++ b/src/client.ts @@ -47,7 +47,7 @@ export interface OnReadyResult extends ResolveResult { } const REACT_SDK_CLIENT_ENGINE = 'react-sdk'; -const REACT_SDK_CLIENT_VERSION = '3.2.0'; +const REACT_SDK_CLIENT_VERSION = '3.2.1'; export const DefaultUser: UserInfo = { id: null, From daed4bbde9d7d14fb8332fd4787b5e44ac9d390c Mon Sep 17 00:00:00 2001 From: Md Junaed Hossain <169046794+junaed-optimizely@users.noreply.github.com> Date: Thu, 15 Aug 2024 22:57:40 +0600 Subject: [PATCH 2/2] [3.2.1] PR ref update --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 879636b..b8bf54e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,12 +3,12 @@ ## [3.2.1] - Aug 15, 2024 ### Bug fixes -- `clientReady` is true even though internal client promise returns `success == false` bug fix -- `useDecision` hook set the update listener on overy render bug fix -- `setForcedDecision` does not reflect the changes in optmizely instance and `useDecision` hook bug fix +- `clientReady` is true even though internal client promise returns `success == false` bug fix([#273](https://github.com/optimizely/react-sdk/pull/273)) +- `useDecision` hook set the update listener on overy render bug fix([#273](https://github.com/optimizely/react-sdk/pull/273)) +- `setForcedDecision` does not reflect the changes in optmizely instance and `useDecision` hook bug fix([#274](https://github.com/optimizely/react-sdk/pull/274)) ### Changed -- Performance improvements in both hooks and client instance +- Performance improvements in both hooks and client instance([#273](https://github.com/optimizely/react-sdk/pull/273), [#274](https://github.com/optimizely/react-sdk/pull/274)) ## [3.2.0] - July 10, 2024