Skip to content

Commit 7a51e33

Browse files
authored
chore: prepare for release 1.1.0 (#21)
* prepare for release 1.1.0
1 parent 003398c commit 7a51e33

File tree

5 files changed

+18
-8
lines changed

5 files changed

+18
-8
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
## [1.1.0] - January 30th, 2020
10+
11+
### New Features
12+
- Added a new API to get project configuration static data.
13+
- Call `getOptimizelyConfig()` to get a snapshot of project configuration static data.
14+
- It returns an `OptimizelyConfig` instance which includes a datafile revision number, all experiments, and feature flags mapped by their key values.
15+
- Added caching for `getOptimizelyConfig` - `OptimizelyConfig` object will be cached and reused for the lifetime of the datafile.
16+
- 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).
17+
18+
919
## [1.0.1] - November 18th, 2019
1020

1121
### Fixed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@optimizely/react-sdk",
3-
"version": "1.0.1",
3+
"version": "1.1.0",
44
"description": "React SDK for Optimizely Full Stack and Optimizely Rollouts",
55
"homepage": "https://github.com/optimizely/react-sdk",
66
"license": "Apache-2.0",

src/client.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2019, Optimizely
2+
* Copyright 2019-2020, Optimizely
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -86,7 +86,7 @@ describe('ReactSDKClient', () => {
8686
expect(createInstanceSpy).toBeCalledWith({
8787
...config,
8888
clientEngine: 'react-sdk',
89-
clientVersion: '1.0.1',
89+
clientVersion: '1.1.0',
9090
})
9191
})
9292

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export type OnReadyResult = {
3333
}
3434

3535
const REACT_SDK_CLIENT_ENGINE = 'react-sdk'
36-
const REACT_SDK_CLIENT_VERSION = '1.0.1'
36+
const REACT_SDK_CLIENT_VERSION = '1.1.0'
3737

3838
export interface ReactSDKClient extends optimizely.Client {
3939
user: UserContext

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555
dependencies:
5656
uuid "^3.3.2"
5757

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

0 commit comments

Comments
 (0)