From a53eeeb50c7d5762264a1f86594a5123809a1ef8 Mon Sep 17 00:00:00 2001 From: Matt Carroll Date: Wed, 8 Jul 2020 18:40:27 -0700 Subject: [PATCH] chore: Prepare for 2.1.0 release (#54) --- CHANGELOG.md | 6 ++++++ package.json | 2 +- src/client.spec.ts | 2 +- src/client.ts | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd17008f..3048d354 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [2.1.0] - July 8th, 2020 +Upgrade `@optimizely/optimizely-sdk` to 4.1.0. See [@optimizely/optimizely-sdk Release 4.1.0](https://github.com/optimizely/javascript-sdk/releases/tag/v4.1.0) for more details. + +## New Features +- Add support for JSON feature variables ([#53](https://github.com/optimizely/react-sdk/pull/53)) + ## [2.0.1] - May 22nd, 2020 ### Bug Fixes diff --git a/package.json b/package.json index 663f8bd3..ee587f79 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@optimizely/react-sdk", - "version": "2.0.1", + "version": "2.1.0", "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 e9e45a81..901f3d8c 100644 --- a/src/client.spec.ts +++ b/src/client.spec.ts @@ -89,7 +89,7 @@ describe('ReactSDKClient', () => { expect(createInstanceSpy).toBeCalledWith({ ...config, clientEngine: 'react-sdk', - clientVersion: '2.0.1', + clientVersion: '2.1.0', }); }); diff --git a/src/client.ts b/src/client.ts index 01c69e6d..5fad3605 100644 --- a/src/client.ts +++ b/src/client.ts @@ -35,7 +35,7 @@ export type OnReadyResult = { }; const REACT_SDK_CLIENT_ENGINE = 'react-sdk'; -const REACT_SDK_CLIENT_VERSION = '2.0.1'; +const REACT_SDK_CLIENT_VERSION = '2.1.0'; export interface ReactSDKClient extends optimizely.Client { user: UserContext;