Skip to content

Commit

Permalink
chore: prepare for release 1.1.0 (#21)
Browse files Browse the repository at this point in the history
* prepare for release 1.1.0
  • Loading branch information
jaeopt authored Jan 30, 2020
1 parent 003398c commit 7a51e33
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [1.1.0] - January 30th, 2020

### New Features
- Added a new API to get project configuration static data.
- Call `getOptimizelyConfig()` to get a snapshot of project configuration static data.
- It returns an `OptimizelyConfig` instance which includes a datafile revision number, all experiments, and feature flags mapped by their key values.
- Added caching for `getOptimizelyConfig` - `OptimizelyConfig` object will be cached and reused for the lifetime of the datafile.
- For details, refer to our documentation page: [https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-react](https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-react).


## [1.0.1] - November 18th, 2019

### Fixed
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": "1.0.1",
"version": "1.1.0",
"description": "React SDK for Optimizely Full Stack and Optimizely Rollouts",
"homepage": "https://github.com/optimizely/react-sdk",
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions src/client.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2019, Optimizely
* Copyright 2019-2020, Optimizely
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -86,7 +86,7 @@ describe('ReactSDKClient', () => {
expect(createInstanceSpy).toBeCalledWith({
...config,
clientEngine: 'react-sdk',
clientVersion: '1.0.1',
clientVersion: '1.1.0',
})
})

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

const REACT_SDK_CLIENT_ENGINE = 'react-sdk'
const REACT_SDK_CLIENT_VERSION = '1.0.1'
const REACT_SDK_CLIENT_VERSION = '1.1.0'

export interface ReactSDKClient extends optimizely.Client {
user: UserContext
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
dependencies:
uuid "^3.3.2"

"@optimizely/optimizely-sdk@3.3.2":
version "3.3.2"
resolved "https://registry.yarnpkg.com/@optimizely/optimizely-sdk/-/optimizely-sdk-3.3.2.tgz#fa60a82b5f32ad1336d806d5a88710a53f842382"
integrity sha512-4SwucN9/3ISI68tLrP9WMRR6oeRmX+VuOKlTu3BXSZdzbGQIeDYINftmsQgDVTCK3+jjf9GCt8F5AFz5cvfG/Q==
"@optimizely/optimizely-sdk@3.4.1":
version "3.4.1"
resolved "https://registry.yarnpkg.com/@optimizely/optimizely-sdk/-/optimizely-sdk-3.4.1.tgz#f385eea2395fdbdffd4b656fdf7e612516a5cae2"
integrity sha512-c/Uv2YGZtzERVIJ6DtLF6kCIg1zAnVNcZWRksaUCWVHug5vxlItqB2OWLFHiscgBTlQMDKJi2ocoE+yr5zPQwQ==
dependencies:
"@optimizely/js-sdk-datafile-manager" "^0.4.0"
"@optimizely/js-sdk-event-processor" "^0.3.0"
Expand Down

0 comments on commit 7a51e33

Please sign in to comment.