Skip to content

Commit

Permalink
chore: Prepare for 2.2.0 release (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjc1283 authored Jul 31, 2020
1 parent ffa4f62 commit 6e6f1b4
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 25 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [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)

### New Features
- Better offline support in React Native apps:
- Persist downloaded datafiles in local storage for use in subsequent SDK initializations
- Persist pending impression & conversion events in local storage

### Bug fixes
- Fixed log messages for Targeted Rollouts

## [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.

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@optimizely/react-sdk",
"version": "2.1.0",
"version": "2.2.0",
"description": "React SDK for Optimizely Full Stack and Optimizely Rollouts",
"homepage": "https://github.com/optimizely/react-sdk",
"license": "Apache-2.0",
Expand Down Expand Up @@ -29,7 +29,7 @@
},
"dependencies": {
"@optimizely/js-sdk-logging": "^0.1.0",
"@optimizely/optimizely-sdk": "4.1.0",
"@optimizely/optimizely-sdk": "4.2.0",
"hoist-non-react-statics": "^3.3.0",
"prop-types": "^15.6.2",
"utility-types": "^2.1.0 || ^3.0.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.1.0',
clientVersion: '2.2.0',
});
});

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.1.0';
const REACT_SDK_CLIENT_VERSION = '2.2.0';

export interface ReactSDKClient extends optimizely.Client {
user: UserContext;
Expand Down
42 changes: 21 additions & 21 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@
core-js-pure "^3.0.0"
regenerator-runtime "^0.13.4"

"@optimizely/js-sdk-datafile-manager@^0.6.0":
version "0.6.0"
resolved "https://registry.yarnpkg.com/@optimizely/js-sdk-datafile-manager/-/js-sdk-datafile-manager-0.6.0.tgz#00751f6887544a0da6bfa5f6e1b2c577ab034e6e"
integrity sha512-eqUZZZ1M6MYF2vttdjhV2GEd+C8/A94hS3fnGm1ScTMzWeoCcvlrdg3gO0WoXOVh2t7JfkvY9nNdkRJTan3uKg==
"@optimizely/js-sdk-datafile-manager@^0.7.0":
version "0.7.0"
resolved "https://registry.yarnpkg.com/@optimizely/js-sdk-datafile-manager/-/js-sdk-datafile-manager-0.7.0.tgz#cc001f1b02594611d8f2d996824bfcee3ca36370"
integrity sha512-pphm9o9ats3TCPgKiSfZm35Fk/tF0Tz/RXSqcEJZd1u6Bm1kYNze0ZBHCr3NTH927vo0gglNZZxB/UEELpdYBg==
dependencies:
"@optimizely/js-sdk-logging" "^0.1.0"
"@optimizely/js-sdk-utils" "^0.2.0"
"@optimizely/js-sdk-utils" "^0.4.0"
decompress-response "^4.2.1"

"@optimizely/js-sdk-event-processor@^0.4.0":
version "0.4.0"
resolved "https://registry.yarnpkg.com/@optimizely/js-sdk-event-processor/-/js-sdk-event-processor-0.4.0.tgz#51e06cfda2eedf6a7f3829f8e0132fb5c0b640a8"
integrity sha512-5fqBG9N66O+9KWktUTH/OmMiQ4SKi42gP7qqWNKe0Ciu5PlBMTREKmo8+EixcDvDW8yQBvIPBj6GWzKz0RVAxg==
"@optimizely/js-sdk-event-processor@^0.6.0":
version "0.6.0"
resolved "https://registry.yarnpkg.com/@optimizely/js-sdk-event-processor/-/js-sdk-event-processor-0.6.0.tgz#3a60234b79f0259ad2897d9136d1a4449f6849fd"
integrity sha512-wNwuyUb563MDxVCHTlDCAGu6lVqHfv3K3ig4QZiR2HPpDo0bT0+zRFuqe4gbor6yfcOe3LDsq4xIxW2TxY2x4g==
dependencies:
"@optimizely/js-sdk-logging" "^0.1.0"
"@optimizely/js-sdk-utils" "^0.2.0"
"@optimizely/js-sdk-utils" "^0.4.0"

"@optimizely/js-sdk-logging@^0.1.0":
version "0.1.0"
Expand All @@ -57,22 +57,22 @@
dependencies:
uuid "^3.3.2"

"@optimizely/js-sdk-utils@^0.2.0":
version "0.2.0"
resolved "https://registry.yarnpkg.com/@optimizely/js-sdk-utils/-/js-sdk-utils-0.2.0.tgz#f24c971f09c3c63f7a4b9eb4da6ba9642bf61cd0"
integrity sha512-aHEccRVc5YjWAdIVtniKfUE3tuzHriIWZTS4sLEq/lXkNTITSL1jrBEJD91CVY5BahWu/aG/aOafrA7XGH3sDQ==
"@optimizely/js-sdk-utils@^0.4.0":
version "0.4.0"
resolved "https://registry.yarnpkg.com/@optimizely/js-sdk-utils/-/js-sdk-utils-0.4.0.tgz#835b88bc7b5365a5c4a3d073c01c3a55d9f93a8f"
integrity sha512-QG2oytnITW+VKTJK+l0RxjaS5VrA6W+AZMzpeg4LCB4Rn4BEKtF+EcW/5S1fBDLAviGq/0TLpkjM3DlFkJ9/Gw==
dependencies:
uuid "^3.3.2"

"@optimizely/optimizely-sdk@4.1.0":
version "4.1.0"
resolved "https://registry.yarnpkg.com/@optimizely/optimizely-sdk/-/optimizely-sdk-4.1.0.tgz#61c09dcb0df79e26ce5f5960204a171a86a38761"
integrity sha512-FIKAnPFYvAvtLJR66T0nvu+cKx52QDC4TMsQFojQo/LuJfkj3gRb5xlpv71LBkUCJIDQb9lg+bU0XndVOFEKBg==
"@optimizely/optimizely-sdk@4.2.0":
version "4.2.0"
resolved "https://registry.yarnpkg.com/@optimizely/optimizely-sdk/-/optimizely-sdk-4.2.0.tgz#b24436f97687fddb3b91b450371d160a27ddf4ff"
integrity sha512-ZlZF8soCEiOad84vTgf2mixs8clmJf6Fq4MBu1saeXCYE8DS2ifQ5Y5aiwnh5H3iLRoSex/o2Y0V5TUbhP612Q==
dependencies:
"@optimizely/js-sdk-datafile-manager" "^0.6.0"
"@optimizely/js-sdk-event-processor" "^0.4.0"
"@optimizely/js-sdk-datafile-manager" "^0.7.0"
"@optimizely/js-sdk-event-processor" "^0.6.0"
"@optimizely/js-sdk-logging" "^0.1.0"
"@optimizely/js-sdk-utils" "^0.2.0"
"@optimizely/js-sdk-utils" "^0.4.0"
json-schema "^0.2.3"
murmurhash "0.0.2"

Expand Down

0 comments on commit 6e6f1b4

Please sign in to comment.