From afde0665acecdcd2ae2318d19b7a8bf9610485c8 Mon Sep 17 00:00:00 2001 From: zashraf1985 Date: Wed, 20 Jul 2022 11:10:48 -0700 Subject: [PATCH 1/3] v2.9.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4730c123..84e8d738 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@optimizely/react-sdk", - "version": "2.9.0", + "version": "2.9.1", "description": "React SDK for Optimizely Full Stack and Optimizely Rollouts", "homepage": "https://github.com/optimizely/react-sdk", "license": "Apache-2.0", From de5fb0907440c162f078b175987625121dc688d6 Mon Sep 17 00:00:00 2001 From: zashraf1985 Date: Wed, 20 Jul 2022 11:12:15 -0700 Subject: [PATCH 2/3] updated changelog and inceremented version --- CHANGELOG.md | 6 +++++- src/client.ts | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75d880f3..6e14ffa1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +- None yet! + +## [2.9.1] - July 20, 2022 + ### Bug fixes -- Fixed Redundant activate calls in useExperiment hook in a scenario. +- Fixed Redundant activate calls in useExperiment hook for one scenario. ## [2.9.0] - June 15, 2022 diff --git a/src/client.ts b/src/client.ts index 13282c85..07a00a2e 100644 --- a/src/client.ts +++ b/src/client.ts @@ -42,7 +42,7 @@ export type OnReadyResult = { }; const REACT_SDK_CLIENT_ENGINE = 'react-sdk'; -const REACT_SDK_CLIENT_VERSION = '2.9.0'; +const REACT_SDK_CLIENT_VERSION = '2.9.1'; export interface ReactSDKClient extends Omit { user: UserInfo; From 0e54902d3924861a90aa6a87d469a7a444df00a2 Mon Sep 17 00:00:00 2001 From: zashraf1985 Date: Wed, 20 Jul 2022 11:16:20 -0700 Subject: [PATCH 3/3] fixed a unit test --- src/client.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.spec.ts b/src/client.spec.ts index e57e9cc0..dfc8fd8d 100644 --- a/src/client.spec.ts +++ b/src/client.spec.ts @@ -107,7 +107,7 @@ describe('ReactSDKClient', () => { expect(createInstanceSpy).toBeCalledWith({ ...config, clientEngine: 'react-sdk', - clientVersion: '2.9.0', + clientVersion: '2.9.1', }); });