diff --git a/CHANGELOG.md b/CHANGELOG.md index 954fbb00..ca621b31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [2.3.0-beta] - August 27th, 2020 +Upgrade `@optimizely/optimizely-sdk` to [4.2.1](https://github.com/optimizely/javascript-sdk/releases/tag/v4.2.0) + +### New Features + - `useExperiment` and `useFeature` hooks re-render when override user ID or attributes change([#64](https://github.com/optimizely/react-sdk/pull/64)) + +### Bug fixes + - `useExperiment` and `useFeature` hooks return up-to-date decision values on the first call after the client is ready ([#64](https://github.com/optimizely/react-sdk/pull/64)) + ## [2.2.0] - July 31st, 2020 Upgrade `@optimizely/optimizely-sdk` to [4.2.0](https://github.com/optimizely/javascript-sdk/releases/tag/v4.2.0) diff --git a/package.json b/package.json index 9f425613..235e8379 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@optimizely/react-sdk", - "version": "2.2.0", + "version": "2.3.0-beta", "description": "React SDK for Optimizely Full Stack and Optimizely Rollouts", "homepage": "https://github.com/optimizely/react-sdk", "license": "Apache-2.0", diff --git a/src/client.spec.ts b/src/client.spec.ts index 5a2e8e62..e3d7c3de 100644 --- a/src/client.spec.ts +++ b/src/client.spec.ts @@ -89,7 +89,7 @@ describe('ReactSDKClient', () => { expect(createInstanceSpy).toBeCalledWith({ ...config, clientEngine: 'react-sdk', - clientVersion: '2.2.0', + clientVersion: '2.3.0-beta', }); }); diff --git a/src/client.ts b/src/client.ts index 961a0951..71829694 100644 --- a/src/client.ts +++ b/src/client.ts @@ -35,7 +35,7 @@ export type OnReadyResult = { }; const REACT_SDK_CLIENT_ENGINE = 'react-sdk'; -const REACT_SDK_CLIENT_VERSION = '2.2.0'; +const REACT_SDK_CLIENT_VERSION = '2.3.0-beta'; export interface ReactSDKClient extends optimizely.Client { user: UserContext;