Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

prepare 5.3.2 release #117

Merged
merged 53 commits into from
Aug 29, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
68d3556
Make things prettier, add RedisFeatureStore to toplevel ts declaratio…
Jul 11, 2018
c5c665f
Add modules for ldclient StreamProcessor, Requestor, and FeatureStore
Jul 11, 2018
407e6ce
address review
Jul 11, 2018
bef407a
Merge pull request #86 from launchdarkly/at/ch20232/add-flag-util-met…
Jul 19, 2018
762b1c8
fix: package.json to reduce vulnerabilities
snyk-bot Jul 19, 2018
69d7219
Merge pull request #87 from launchdarkly/snyk-fix-0c23hh
eli-darkly Jul 19, 2018
d2c6c18
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Jul 19, 2018
640703c
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Jul 19, 2018
c45414e
remove npm dependency on "crypto", use built-in version instead
eli-darkly Jul 26, 2018
b4fe5f4
update package-lock
eli-darkly Jul 26, 2018
04bc0e8
Merge pull request #88 from launchdarkly/eb/ch17629/built-in-crypto
eli-darkly Jul 26, 2018
d4e15b1
treat HTTP 400 as a recoverable error
eli-darkly Aug 1, 2018
0484c64
Merge pull request #89 from launchdarkly/eb/19705/400-error
eli-darkly Aug 1, 2018
797b4a8
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Aug 1, 2018
ccbb753
update doc comment for new waitForInitialization behavior
eli-darkly Aug 1, 2018
bcb4f0e
Merge pull request #90 from launchdarkly/eb/wait-for-init-docs
eli-darkly Aug 1, 2018
018c6f2
fix waitForInitialization to always resolve with a value
eli-darkly Aug 1, 2018
44f2d4a
Merge pull request #91 from launchdarkly/eb/wait-for-init-value
eli-darkly Aug 1, 2018
1664025
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Aug 1, 2018
9595181
Update feature store type for versioned data kind
Aug 17, 2018
94a7cc6
Merge pull request #92 from launchdarkly/at/update-types
Aug 17, 2018
e51d554
add new version of allFlags() that captures more metadata
eli-darkly Aug 20, 2018
38616c8
add deprecation warning for allFlags
eli-darkly Aug 20, 2018
90e1c1c
typo
eli-darkly Aug 21, 2018
2b672fb
name function toJSON so JSON.stringify will use it
eli-darkly Aug 21, 2018
1a35b79
comment edits
eli-darkly Aug 21, 2018
72e2e24
fix test
eli-darkly Aug 21, 2018
ba0d334
add $valid property in case we care about that on the front end
eli-darkly Aug 21, 2018
db69f7a
Merge pull request #93 from launchdarkly/eb/ch22308/all-flags-state
eli-darkly Aug 21, 2018
a9a5c2f
add ability to filter for only client-side flags
eli-darkly Aug 21, 2018
06bdb46
fix comment
eli-darkly Aug 22, 2018
37c1e82
Merge pull request #94 from launchdarkly/eb/ch12124/client-side-filter
eli-darkly Aug 22, 2018
e7f92fc
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Aug 22, 2018
aa39f0e
add npm audit to build
eli-darkly Aug 22, 2018
2dd2edc
run npm audit fix
eli-darkly Aug 22, 2018
511e783
run npm audit only in current Node
eli-darkly Aug 22, 2018
fd8da86
Merge pull request #95 from launchdarkly/eb/ch21851/npm-audit
eli-darkly Aug 22, 2018
01d415e
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Aug 22, 2018
2e44cff
Merge branch 'master' into all-flags-state
eli-darkly Aug 24, 2018
45dad9d
typo
eli-darkly Aug 24, 2018
d15fef4
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Aug 27, 2018
277c77c
fix allFlagsState behavior when options are omitted
eli-darkly Aug 27, 2018
9317316
Merge pull request #97 from launchdarkly/eb/ch22880/optional-options
eli-darkly Aug 27, 2018
727ff9b
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Aug 27, 2018
071f96d
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Aug 29, 2018
07b6eb4
validate TypeScript definitions in CI build
eli-darkly Aug 29, 2018
01c8371
add tsc build step
eli-darkly Aug 29, 2018
a15959c
fix tsc command
eli-darkly Aug 29, 2018
aad1895
add npm script
eli-darkly Aug 29, 2018
aef2575
Merge pull request #98 from launchdarkly/eb/ch22998/check-typescript
eli-darkly Aug 29, 2018
79bdce0
version 5.3.2
eli-darkly Aug 29, 2018
623956a
typo
eli-darkly Aug 29, 2018
f5706b3
Merge branch 'master' into 5.3.2
eli-darkly Aug 29, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ node-template: &node-template
command: npm test
environment:
JEST_JUNIT_OUTPUT: "reports/junit/js-test-results.xml"
- run: npm run check-typescript
- run: |
if [[ $CIRCLE_JOB == current-release ]]; then
npm audit
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the LaunchDarkly Node.js SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).

## [5.3.2] - 2018-08-29
### Fixed:
- Fixed TypeScript syntax errors in `index.d.ts`. We are now running the TypeScript compiler in our automated builds to avoid such problems. (Thanks, [PsychicCat](https://github.com/launchdarkly/node-client/pull/116)!)

## [5.3.1] - 2018-08-27
### Fixed:
- Calling `allFlagsState()` did not work if you omitted the optional second parameter, `options`, but did provide a `callback`. ([#114](https://github.com/launchdarkly/node-client/issues/114))
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ declare module 'ldclient-node' {
* the needs of the JavaScript client.
*/
toJSON: () => object;
};
}

/**
* LaunchDarkly initialization options.
Expand Down
8 changes: 7 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "ldclient-node",
"version": "5.3.1",
"version": "5.3.2",
"description": "LaunchDarkly SDK for Node.js",
"main": "index.js",
"scripts": {
"test": "jest --ci --forceExit"
"test": "jest --ci --forceExit",
"check-typescript": "node_modules/typescript/bin/tsc"
},
"types": "./index.d.ts",
"repository": {
Expand Down Expand Up @@ -41,7 +42,8 @@
"devDependencies": {
"jest": "22.4.3",
"jest-junit": "3.6.0",
"nock": "9.2.3"
"nock": "9.2.3",
"typescript": "3.0.1"
},
"jest": {
"rootDir": ".",
Expand Down
3 changes: 3 additions & 0 deletions test-types.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

// This file exists only so that we can run the TypeScript compiler in the CI build
// to validate our index.d.ts file.
6 changes: 5 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@
"lib": [
"es6"
]
}
},
"files": [
"index.d.ts",
"test-types.ts"
]
}