Skip to content

Commit

Permalink
chore: prep for release 2.8.1 (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
opti-jnguyen authored Mar 7, 2022
1 parent 1663d01 commit 500a3f9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [2.8.1] - March 7, 2022

### Enhancements
- fixed issue [#49](https://github.com/optimizely/react-sdk/issues/49): Return type of `createInstance` was `OptimizelyReactSDKClient` which is the implementation class. Changed it to the `ReactSDKClient` interface instead ([#148](https://github.com/optimizely/react-sdk/pull/148)).
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.8.0",
"version": "2.8.1",
"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 @@ -107,7 +107,7 @@ describe('ReactSDKClient', () => {
expect(createInstanceSpy).toBeCalledWith({
...config,
clientEngine: 'react-sdk',
clientVersion: '2.8.0',
clientVersion: '2.8.1',
});
});

Expand Down
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export type OnReadyResult = {
};

const REACT_SDK_CLIENT_ENGINE = 'react-sdk';
const REACT_SDK_CLIENT_VERSION = '2.8.0';
const REACT_SDK_CLIENT_VERSION = '2.8.1';

export interface ReactSDKClient extends Omit<optimizely.Client, 'createUserContext'> {
user: UserInfo;
Expand Down

0 comments on commit 500a3f9

Please sign in to comment.