Skip to content

Commit 8fa90b0

Browse files
authored
chore: Prepare for 2.3.0 release (#70)
* v2.3.0 * Prepare for 2.3.0 release * Update changelog
1 parent 56483db commit 8fa90b0

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
## [2.3.0] - October 2nd, 2020
11+
Upgrade `@optimizely/optimizely-sdk` to [4.2.1](https://github.com/optimizely/javascript-sdk/releases/tag/v4.2.0)
12+
13+
### New Features
14+
- `useExperiment` and `useFeature` hooks re-render when override user ID or attributes change([#64](https://github.com/optimizely/react-sdk/pull/64))
15+
16+
### Bug fixes
17+
- `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))
18+
1019
## [2.3.0-beta] - August 27th, 2020
1120
Upgrade `@optimizely/optimizely-sdk` to [4.2.1](https://github.com/optimizely/javascript-sdk/releases/tag/v4.2.0)
1221

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@optimizely/react-sdk",
3-
"version": "2.3.0-beta",
3+
"version": "2.3.0",
44
"description": "React SDK for Optimizely Full Stack and Optimizely Rollouts",
55
"homepage": "https://github.com/optimizely/react-sdk",
66
"license": "Apache-2.0",

src/client.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ describe('ReactSDKClient', () => {
8989
expect(createInstanceSpy).toBeCalledWith({
9090
...config,
9191
clientEngine: 'react-sdk',
92-
clientVersion: '2.3.0-beta',
92+
clientVersion: '2.3.0',
9393
});
9494
});
9595

src/client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export type OnReadyResult = {
3535
};
3636

3737
const REACT_SDK_CLIENT_ENGINE = 'react-sdk';
38-
const REACT_SDK_CLIENT_VERSION = '2.3.0-beta';
38+
const REACT_SDK_CLIENT_VERSION = '2.3.0';
3939

4040
export interface ReactSDKClient extends optimizely.Client {
4141
user: UserContext;

0 commit comments

Comments
 (0)