Skip to content

Commit 307c5a1

Browse files
authored
prepare 2.9.5 release (#146)
1 parent f88772c commit 307c5a1

25 files changed

+13039
-8723
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
jobs:
33
build:
44
docker:
5-
- image: circleci/node:latest
5+
- image: circleci/node:11.10.1
66
steps:
77
- checkout
88

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
All notable changes to the LaunchDarkly client-side JavaScript SDKs will be documented in this file.
44
This project adheres to [Semantic Versioning](http://semver.org).
55

6+
## [2.9.5] - 2019-03-12
7+
### Fixed:
8+
- In React, when using the `bootstrap` property to preload the SDK client with flag values, the client will now become ready immediately and make the flags available to other components as soon as it is initialized; previously this did not happen until after `componentDidMount`.
9+
- The user attribute `secondary` was not included in the TypeScript declarations and therefore could not be used from TypeScript code.
10+
611
## [2.9.4] - 2019-02-22
712
### Fixed:
813
- Running inside an iframe on Chrome with third-party cookies disabled-- which also disables HTML5 local storage-- would cause a security exception (due to the SDK attempting to check whether `window.localStorage` exists). This was a long-standing problem, but became worse in the 2.9.0 release since the SDK now checks for browser capabilities like this regardless of whether you've attempted to use them yet. It should now simply log a warning if you try to use `bootstrap: "localstorage"` when local storage is disabled. ([#138](https://github.com/launchdarkly/js-client/issues/138))

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ LaunchDarkly's server-side SDKs have a function called `allFlagsState`, which re
147147
// in the back-end code:
148148
app.get('/page', function(req, res) {
149149
var user = { key: 'example-user' };
150-
client.allFlagsState(user, function(flagsData) {
150+
client.allFlagsState(user, function(err, flagsData) {
151151
templateVars = {
152152
user: user,
153153
allFlags: flagsData

0 commit comments

Comments
 (0)