From 500a3f99161e7c09b876c5e7ca283f27ab8375f9 Mon Sep 17 00:00:00 2001 From: John Nguyen Date: Mon, 7 Mar 2022 14:34:14 -0500 Subject: [PATCH] chore: prep for release 2.8.1 (#153) --- CHANGELOG.md | 2 +- package.json | 2 +- src/client.spec.ts | 2 +- src/client.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c5648ec..8198c6ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)). diff --git a/package.json b/package.json index 32fca1b0..7b214211 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/client.spec.ts b/src/client.spec.ts index 0ea73cce..d9f81b89 100644 --- a/src/client.spec.ts +++ b/src/client.spec.ts @@ -107,7 +107,7 @@ describe('ReactSDKClient', () => { expect(createInstanceSpy).toBeCalledWith({ ...config, clientEngine: 'react-sdk', - clientVersion: '2.8.0', + clientVersion: '2.8.1', }); }); diff --git a/src/client.ts b/src/client.ts index 86eb2db9..42b5615a 100644 --- a/src/client.ts +++ b/src/client.ts @@ -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 { user: UserInfo;