Skip to content

Commit 56483db

Browse files
authored
chore: Prepare for 2.3.0-beta release (#66)
1 parent 79d023d commit 56483db

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
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-beta] - August 27th, 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.2.0] - July 31st, 2020
1120
Upgrade `@optimizely/optimizely-sdk` to [4.2.0](https://github.com/optimizely/javascript-sdk/releases/tag/v4.2.0)
1221

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@optimizely/react-sdk",
3-
"version": "2.2.0",
3+
"version": "2.3.0-beta",
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

Lines changed: 1 addition & 1 deletion
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.2.0',
92+
clientVersion: '2.3.0-beta',
9393
});
9494
});
9595

src/client.ts

Lines changed: 1 addition & 1 deletion
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.2.0';
38+
const REACT_SDK_CLIENT_VERSION = '2.3.0-beta';
3939

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

0 commit comments

Comments
 (0)