From 95ab95b820cb289b35e9dd5466799f6e4d3a6da5 Mon Sep 17 00:00:00 2001 From: Matt Carroll Date: Fri, 3 Apr 2020 10:23:13 -0700 Subject: [PATCH] chore: Prepare for 2.0.0-alpha.2 release (#43) --- CHANGELOG.md | 6 ++++++ package.json | 4 ++-- src/client.spec.ts | 2 +- src/client.ts | 2 +- yarn.lock | 15 ++++----------- 5 files changed, 14 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ad75d35..67fc763c 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.0.0-alpha.2] - April 3rd, 2020 + +### Breaking Changes + +- Upgrade `@optimizely/optimizely-sdk` to 4.0.0-alpha.1. `Promise` polyfill no longer included. See [@optimizely/optimizely-sdk Release 4.0.0-alpha.1](https://github.com/optimizely/javascript-sdk/releases/tag/v4.0.0-alpha.1) for more details. + ## [2.0.0-alpha.1] - March 18th, 2020 ### Breaking Changes diff --git a/package.json b/package.json index 496ebd6d..0a9c85ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@optimizely/react-sdk", - "version": "2.0.0-alpha.1", + "version": "2.0.0-alpha.2", "description": "React SDK for Optimizely Full Stack and Optimizely Rollouts", "homepage": "https://github.com/optimizely/react-sdk", "license": "Apache-2.0", @@ -29,7 +29,7 @@ }, "dependencies": { "@optimizely/js-sdk-logging": "^0.1.0", - "@optimizely/optimizely-sdk": "3.6.0-alpha.1", + "@optimizely/optimizely-sdk": "4.0.0-alpha.1", "hoist-non-react-statics": "^3.3.0", "prop-types": "^15.6.2", "utility-types": "^2.1.0" diff --git a/src/client.spec.ts b/src/client.spec.ts index 5105a995..0d27fbea 100644 --- a/src/client.spec.ts +++ b/src/client.spec.ts @@ -86,7 +86,7 @@ describe('ReactSDKClient', () => { expect(createInstanceSpy).toBeCalledWith({ ...config, clientEngine: 'react-sdk', - clientVersion: '2.0.0-alpha.1', + clientVersion: '2.0.0-alpha.2', }); }); diff --git a/src/client.ts b/src/client.ts index 9a98dc77..9e17d6c3 100644 --- a/src/client.ts +++ b/src/client.ts @@ -34,7 +34,7 @@ export type OnReadyResult = { }; const REACT_SDK_CLIENT_ENGINE = 'react-sdk'; -const REACT_SDK_CLIENT_VERSION = '2.0.0-alpha.1'; +const REACT_SDK_CLIENT_VERSION = '2.0.0-alpha.2'; export interface ReactSDKClient extends optimizely.Client { user: UserContext; diff --git a/yarn.lock b/yarn.lock index e29c2e97..06d0eded 100644 --- a/yarn.lock +++ b/yarn.lock @@ -63,19 +63,17 @@ dependencies: uuid "^3.3.2" -"@optimizely/optimizely-sdk@3.6.0-alpha.1": - version "3.6.0-alpha.1" - resolved "https://registry.yarnpkg.com/@optimizely/optimizely-sdk/-/optimizely-sdk-3.6.0-alpha.1.tgz#fa1aa8880954a96ffd6f732810bacb0a7ffd45e6" - integrity sha512-AxY8iykT4R4n/2HcgQcSE7CUeQEd89hGnyMPgyo49FKzPKQTC1ldmIcHu+zwr7jmmxwEqCIsBGWkzl5aR+93QQ== +"@optimizely/optimizely-sdk@4.0.0-alpha.1": + version "4.0.0-alpha.1" + resolved "https://registry.yarnpkg.com/@optimizely/optimizely-sdk/-/optimizely-sdk-4.0.0-alpha.1.tgz#a0b95e901b690afe455baeb08d0cee3f92574eb5" + integrity sha512-x6+zMbwz5co4G8ixkOu7jBpYBaJDKlYGliNXvFPRzDqWGLzTe51eKt3C+60SaGDO/nAFryzGhBM8RD3EFI0BMw== dependencies: "@optimizely/js-sdk-datafile-manager" "^0.4.0" "@optimizely/js-sdk-event-processor" "^0.4.0" "@optimizely/js-sdk-logging" "^0.1.0" "@optimizely/js-sdk-utils" "^0.2.0" json-schema "^0.2.3" - lodash "^4.17.11" murmurhash "0.0.2" - promise-polyfill "8.1.0" uuid "^3.3.2" "@types/cheerio@*": @@ -3751,11 +3749,6 @@ progress@^2.0.0: resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== -promise-polyfill@8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/promise-polyfill/-/promise-polyfill-8.1.0.tgz#30059da54d1358ce905ac581f287e184aedf995d" - integrity sha512-OzSf6gcCUQ01byV4BgwyUCswlaQQ6gzXc23aLQWhicvfX9kfsUiUhgt3CCQej8jDnl8/PhGF31JdHX2/MzF3WA== - prompts@^0.1.9: version "0.1.14" resolved "https://registry.yarnpkg.com/prompts/-/prompts-0.1.14.tgz#a8e15c612c5c9ec8f8111847df3337c9cbd443b2"