Skip to content

Commit

Permalink
chore: Prepare for 2.3.0-beta release (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjc1283 authored Aug 27, 2020
1 parent 79d023d commit 56483db
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/client.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ describe('ReactSDKClient', () => {
expect(createInstanceSpy).toBeCalledWith({
...config,
clientEngine: 'react-sdk',
clientVersion: '2.2.0',
clientVersion: '2.3.0-beta',
});
});

Expand Down
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 56483db

Please sign in to comment.