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

prepare 5.8.1 release #152

Merged
merged 221 commits into from
May 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
221 commits
Select commit Hold shift + click to select a range
68d3556
Make things prettier, add RedisFeatureStore to toplevel ts declaratio…
atrakh Jul 11, 2018
c5c665f
Add modules for ldclient StreamProcessor, Requestor, and FeatureStore
atrakh Jul 11, 2018
407e6ce
address review
atrakh Jul 11, 2018
bef407a
Merge pull request #86 from launchdarkly/at/ch20232/add-flag-util-met…
atrakh 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
atrakh Aug 17, 2018
94a7cc6
Merge pull request #92 from launchdarkly/at/update-types
atrakh 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
00e08c8
implement evaluation with explanation
eli-darkly Aug 23, 2018
bece5f2
add doc comment
eli-darkly Aug 23, 2018
69f27da
uncomment test
eli-darkly Aug 23, 2018
ad940ea
tests for default logic
eli-darkly Aug 24, 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
1217a54
fix for ch22995 - send event for prerequisite even if it's off
eli-darkly Aug 29, 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
623956a
typo
eli-darkly Aug 29, 2018
de65a33
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Aug 29, 2018
35f97cc
Merge branch 'explanation' into eb/ch19976/explanations
eli-darkly Aug 29, 2018
48e750b
TS syntax error
eli-darkly Aug 29, 2018
85dde8d
Merge pull request #96 from launchdarkly/eb/ch19976/explanations
eli-darkly Aug 30, 2018
8e6a700
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Aug 30, 2018
7f2c797
fix "indirect put" and add tests for streaming
eli-darkly Aug 31, 2018
135b458
fix error handling for malformed flags
eli-darkly Sep 5, 2018
3fcfcb2
Merge pull request #100 from launchdarkly/eb/ch23452/flag-errors
eli-darkly Sep 5, 2018
dd86d01
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Sep 6, 2018
e4af191
prevent unhandled rejection from background flush
eli-darkly Sep 6, 2018
0123790
Merge pull request #101 from launchdarkly/eb/ch22053/flush-errors
eli-darkly Sep 6, 2018
f6e5ad6
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Sep 6, 2018
eb2fcc8
Merge pull request #99 from launchdarkly/eb/ch23303/stream-indirect-put
eli-darkly Sep 19, 2018
3ea8cb2
add option to reduce front-end metadata for untracked flags
eli-darkly Oct 5, 2018
6f11b2d
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Oct 5, 2018
2aee263
add unit tests for default value bug
eli-darkly Oct 5, 2018
7c532d9
Merge pull request #103 from launchdarkly/eb/defaults-unit-tests
eli-darkly Oct 5, 2018
6d4feea
refactor LDClient tests and add some new ones
eli-darkly Oct 5, 2018
1a6c80a
rm unused vars
eli-darkly Oct 5, 2018
5a49e12
Merge pull request #104 from launchdarkly/eb/refactor-client-tests
eli-darkly Oct 5, 2018
8a53c4d
Merge branch 'master' into eb/ch24449/less-metadata
eli-darkly Oct 5, 2018
47524ae
Merge pull request #102 from launchdarkly/eb/ch24449/less-metadata
eli-darkly Oct 8, 2018
1fa81a4
fix broken event source construction
eli-darkly Oct 8, 2018
7f51fd2
Merge pull request #105 from launchdarkly/eb/fix-stream-constructor
eli-darkly Oct 8, 2018
f728343
merge from public after release
LaunchDarklyCI Oct 8, 2018
8af9fd0
Factor out caching and update queue from redis store for use in dynam…
kbrackbill Nov 7, 2018
38b8df3
fix formatting
kbrackbill Nov 7, 2018
c69ca14
fix audit
kbrackbill Nov 7, 2018
ed6b677
consistency
kbrackbill Nov 7, 2018
874c0af
remove yarn stuff
kbrackbill Nov 8, 2018
da40318
make the caching into a wrapper around any feature store
kbrackbill Nov 8, 2018
b933e27
maybe better name?
kbrackbill Nov 8, 2018
caea5e8
Simplify things by just not adding the wrapper if a cache is not requ…
kbrackbill Nov 8, 2018
657526e
switch param order
kbrackbill Nov 8, 2018
c46a0dd
Fix caching behavior with upsert, move some more functionality to the…
kbrackbill Nov 9, 2018
4133909
clean up init logic
kbrackbill Nov 9, 2018
a1b9054
Implement more correct init logic, caching 'all' calls, and other min…
kbrackbill Nov 9, 2018
bfa9e12
undo change to gitignore
kbrackbill Nov 9, 2018
43c5566
add tests for CachingStoreWrapper + misc bug fixes
eli-darkly Nov 10, 2018
0b2119e
Merge pull request #107 from launchdarkly/eb/refactor-store-tests
eli-darkly Nov 10, 2018
5f14c15
basic tests for UpdateQueue
eli-darkly Nov 10, 2018
773e11e
typo
eli-darkly Nov 10, 2018
a0057ac
Merge pull request #108 from launchdarkly/eb/queue-tests
eli-darkly Nov 10, 2018
02f516a
add some more feature store test coverage + misc Redis fixes
eli-darkly Nov 10, 2018
465050a
Merge pull request #109 from launchdarkly/eb/store-base-tests
eli-darkly Nov 12, 2018
aab8fec
Merge pull request #106 from launchdarkly/kbrack/refactor-store
eli-darkly Nov 12, 2018
d72bb16
fix invalid data in feature store unit test
eli-darkly Nov 12, 2018
65aa128
Merge pull request #110 from launchdarkly/eb/fix-store-test
eli-darkly Nov 12, 2018
b9d1986
make internal feature store API more consistent, add comment
eli-darkly Nov 12, 2018
469ea5f
use published tunnel package instead of fork
eli-darkly Nov 12, 2018
281b090
rm test code
eli-darkly Nov 12, 2018
08a1a2e
Merge pull request #111 from launchdarkly/eb/store-internal-api
eli-darkly Nov 12, 2018
b2057e7
Merge pull request #112 from launchdarkly/eb/ch16613/tunnel-package
eli-darkly Nov 13, 2018
74657e8
filter out deleted items in wrapper's all()
eli-darkly Nov 13, 2018
0c0b112
remove redundant filtering
eli-darkly Nov 13, 2018
fd9f38e
Merge pull request #113 from launchdarkly/eb/filter-all
eli-darkly Nov 13, 2018
607d49d
merge from public after release
LaunchDarklyCI Nov 14, 2018
bbacd12
fix error handling when getting all items from store
eli-darkly Nov 15, 2018
99e5852
fix error in close of uncached store
eli-darkly Nov 15, 2018
92297bc
add test for upsert error
eli-darkly Nov 15, 2018
513e676
Merge pull request #114 from launchdarkly/eb/cache-fixes
eli-darkly Nov 15, 2018
ca32313
update package.lock
eli-darkly Nov 15, 2018
4beb25e
implement loading flags from a file
eli-darkly Nov 15, 2018
de27e98
don't use async/await in client code (Node 6 compatibility)
eli-darkly Nov 15, 2018
56e1c9e
comment edit
eli-darkly Nov 15, 2018
39290f3
merge from public after release
LaunchDarklyCI Nov 15, 2018
bf70857
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Nov 15, 2018
2d71e84
merge from public after release
LaunchDarklyCI Nov 15, 2018
62a23a3
Merge branch 'master' into eb/ch26318/file-data-source
eli-darkly Nov 15, 2018
94e5155
fix some undefined variable mistakes
eli-darkly Jan 10, 2019
bc5994c
use Babel for tests and migrate test code to newer syntax
eli-darkly Jan 10, 2019
f008213
Merge branch 'eb/babel-tests' into eb/ch26318/file-data-source1
eli-darkly Jan 10, 2019
f82b594
use async_utils
eli-darkly Jan 10, 2019
f6f037f
misc test fixes
eli-darkly Jan 10, 2019
ff2426b
ES2015 compatibility
eli-darkly Jan 10, 2019
5a4196c
Merge pull request #116 from launchdarkly/eb/babel-tests
eli-darkly Jan 10, 2019
99165c6
Merge branch 'master' into eb/ch26318/file-data-source
eli-darkly Jan 10, 2019
e0443aa
Merge pull request #115 from launchdarkly/eb/ch26318/file-data-source
eli-darkly Jan 10, 2019
144b73f
documentation fixes for FileDataSource
eli-darkly Jan 10, 2019
5f013fd
Merge pull request #117 from launchdarkly/eb/fix-file-source-docs
eli-darkly Jan 10, 2019
b6f11f7
implement dependency ordering for feature store data
eli-darkly Jan 11, 2019
0bb793d
readme fix
eli-darkly Jan 11, 2019
25fab20
Merge pull request #118 from launchdarkly/eb/ch29197/dependency-ordering
eli-darkly Jan 12, 2019
5ab1743
Merge branch 'master' of github.com:launchdarkly/node-client-private
eli-darkly Jan 12, 2019
1c3f4a5
merge from public after release
LaunchDarklyCI Jan 12, 2019
b6ab85b
add feature store test for prefix option
eli-darkly Jan 16, 2019
9b206f9
revise test interface for backward compatibility
eli-darkly Jan 16, 2019
0ce5dc9
Merge pull request #119 from launchdarkly/eb/ch30067/store-tests
eli-darkly Jan 16, 2019
89fc933
merge from public after release
LaunchDarklyCI Jan 16, 2019
8a4c846
add azure pipeline with redis, run tests
hroederld Feb 5, 2019
c504e2d
add redis ping
hroederld Feb 5, 2019
8edd79a
made indent consistent
hroederld Feb 5, 2019
00213f9
Merge pull request #120 from launchdarkly/hr/azure
hroederld Feb 5, 2019
e8be2b0
add basic TypeDoc build
eli-darkly Feb 6, 2019
a9afc6a
misc doc fixes
eli-darkly Feb 7, 2019
0ef07f6
misc doc fixes
eli-darkly Feb 7, 2019
1aea408
rm unused var
eli-darkly Feb 7, 2019
57562b8
add custom theme
eli-darkly Feb 7, 2019
9195633
better intro text
eli-darkly Feb 7, 2019
a16e460
Merge branch 'eb/ch30940/docs' into eb/ch30940/docs-theme
eli-darkly Feb 7, 2019
6d77ea2
fix config file so we don't need a custom theme
eli-darkly Feb 7, 2019
d3ebef4
stop file data source from doing unnecessary reloads
eli-darkly Feb 15, 2019
aaee20a
fix "npm audit" warnings
eli-darkly Feb 15, 2019
d7adba0
Merge pull request #123 from launchdarkly/eb/ch32160/npm-audit-warnings
eli-darkly Feb 15, 2019
fc78885
Merge branch 'master' into eb/ch32123/multi-reload
eli-darkly Feb 15, 2019
20e5438
fix track() and identify() to reject missing/keyless user
eli-darkly Feb 15, 2019
e419c3a
Merge branch 'master' into eb/ch30940/docs
eli-darkly Feb 15, 2019
73006a9
typo
eli-darkly Feb 16, 2019
43a12b9
comment
eli-darkly Feb 16, 2019
79517df
bump jest version due to vulnerability warning
eli-darkly Feb 16, 2019
d4d7dba
test fix due to changed jest behavior
eli-darkly Feb 16, 2019
1669ca8
Merge pull request #125 from launchdarkly/eb/ch32160/npm-warnings-2
eli-darkly Feb 16, 2019
074368b
Merge branch 'master' into eb/ch31956/track-warning
eli-darkly Feb 16, 2019
9e72d46
Merge pull request #124 from launchdarkly/eb/ch31956/track-warning
eli-darkly Feb 16, 2019
d5e7294
Merge branch 'master' into eb/ch32123/multi-reload
eli-darkly Feb 16, 2019
5dcae84
Merge branch 'master' into eb/ch30940/docs
eli-darkly Feb 16, 2019
74ecf0f
Merge pull request #122 from launchdarkly/eb/ch32123/multi-reload
eli-darkly Feb 16, 2019
8ee6a2e
rm debugging
eli-darkly Feb 16, 2019
d907ff9
Merge branch 'master' into eb/ch30940/docs
eli-darkly Feb 16, 2019
3143ffa
file time checking fix for Node <8
eli-darkly Feb 16, 2019
56009a9
file time checking fix for Node <8
eli-darkly Feb 16, 2019
b181e47
add TS test code, fix misc TS declaration problems
eli-darkly Feb 22, 2019
d1ea61b
Merge pull request #121 from launchdarkly/eb/ch30940/docs
eli-darkly Feb 22, 2019
4c21866
merge from public after release
LaunchDarklyCI Feb 22, 2019
9cd8815
increase event queue size to 10000
bwoskow-ld Feb 28, 2019
3f5955a
Merge pull request #127 from launchdarkly/bw/ch33000/event-queue-size
bwoskow-ld Feb 28, 2019
d1197bb
add secondary attribute to LDUser interface
brooswit Mar 5, 2019
cac7c20
make secondary attribute optional
brooswit Mar 5, 2019
c8c6830
better attribute description
eli-darkly Mar 12, 2019
40c8a48
add secondary attribute to TS test code
eli-darkly Mar 12, 2019
660d770
Merge pull request #128 from launchdarkly/jw/ch33446
eli-darkly Mar 12, 2019
27c960c
bump up Jest version to avoid Node 11.11 bug
eli-darkly Mar 12, 2019
48af77f
Merge pull request #129 from launchdarkly/eb/ch33895/jest-upgrade
eli-darkly Mar 12, 2019
11b4bcd
allow caller to configure all TLS options supported by Node
eli-darkly Mar 13, 2019
25cac63
Merge commit '1a93e53157b12c7ebf90caf8080abbd4fcc5517d'
eli-darkly Mar 13, 2019
45b9675
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Mar 21, 2019
d07fce4
merge from public after release
LaunchDarklyCI Mar 21, 2019
21bde79
stringify built-in user attributes in events, and secondary key for e…
eli-darkly Mar 29, 2019
f1cbb8b
null guard
eli-darkly Mar 29, 2019
5e53877
revert unnecessary change
eli-darkly Mar 29, 2019
3b103ec
move audit step to separate job
eli-darkly Apr 1, 2019
c61cee4
Merge pull request #131 from launchdarkly/eb/ch35405/npm-audit
eli-darkly Apr 1, 2019
9199650
Merge branch 'master' into eb/ch35206/stringify-attrs
eli-darkly Apr 1, 2019
235b5be
Merge pull request #130 from launchdarkly/eb/ch35206/stringify-attrs
eli-darkly Apr 1, 2019
a803222
merge from public after release
LaunchDarklyCI Apr 2, 2019
560cd7f
Merge branch 'master' into eb/ch33132/certificates
eli-darkly Apr 12, 2019
8562116
rename property, add TS docs
eli-darkly Apr 13, 2019
fdf3ef3
fix sending of update events on stream put
eli-darkly Apr 13, 2019
49422ac
misc fixes in polling
eli-darkly Apr 13, 2019
58c4c59
add TLS tests
eli-darkly Apr 13, 2019
f60004a
TS fix
eli-darkly Apr 13, 2019
7153b63
Merge pull request #132 from launchdarkly/eb/ch33132/certificates
eli-darkly Apr 16, 2019
3166765
don't fail test if there's one extra file reload
eli-darkly Apr 17, 2019
a7dc798
Merge pull request #134 from launchdarkly/eb/ch35022/windows-file-tests
eli-darkly Apr 17, 2019
8d54ca6
add unit tests for polling and requestor
eli-darkly Apr 17, 2019
5f62a34
apparently we can't use ES6 imports in this code although they worked…
eli-darkly Apr 17, 2019
6f0e4d9
Merge pull request #135 from launchdarkly/eb/ch36674/polling-tests
eli-darkly Apr 17, 2019
0c659c7
add ability to skip Redis tests
eli-darkly Apr 26, 2019
ffd881e
doc updates + build improvements
eli-darkly Apr 26, 2019
a66c770
fix repo name
eli-darkly Apr 26, 2019
360d71e
Merge pull request #137 from launchdarkly/eb/ch37610/no-db-tests
eli-darkly Apr 26, 2019
4e9c689
Merge pull request #138 from launchdarkly/eb/ch36754/readme-release
eli-darkly Apr 26, 2019
48cf8c7
Merge branch 'master' of github.com:launchdarkly/node-client
eli-darkly Apr 26, 2019
6080b1f
update package name + fix some test stuff
eli-darkly May 14, 2019
587169e
Merge pull request #139 from launchdarkly/eb/ch36754/package-name
eli-darkly May 14, 2019
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
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"test": {
"presets": [
[
"env",
"@babel/preset-env",
{
"targets": {
"node": "6"
Expand All @@ -13,4 +13,4 @@
]
}
}
}
}
2 changes: 1 addition & 1 deletion docs/typedoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ module.exports = {
readme: 'none', // don't add a home page with a copy of README.md
mode: 'file', // don't treat "index.d.ts" itself as a parent module
includeDeclarations: true, // allows it to process a .d.ts file instead of actual TS code
entryPoint: '"ldclient-node"' // note extra quotes - workaround for a TypeDoc bug
entryPoint: '"launchdarkly-node-server-sdk"' // note extra quotes - workaround for a TypeDoc bug
};
16 changes: 8 additions & 8 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for ldclient-node
// Type definitions for launchdarkly-node-server-sdk

/**
* This is the API reference for the LaunchDarkly Server-Side SDK for Node.js.
Expand All @@ -9,7 +9,7 @@
* For more information, see the [SDK reference guide](http://docs.launchdarkly.com/docs/node-sdk-reference).
*/

declare module 'ldclient-node' {
declare module 'launchdarkly-node-server-sdk' {
import { EventEmitter } from 'events';
import { ClientOpts } from 'redis';

Expand Down Expand Up @@ -977,12 +977,12 @@ declare module 'ldclient-node' {
/**
* @ignore
*/
declare module 'ldclient-node/streaming' {
declare module 'launchdarkly-node-server-sdk/streaming' {
import {
LDOptions,
LDFeatureRequestor,
LDStreamProcessor
} from 'ldclient-node';
} from 'launchdarkly-node-server-sdk';

function StreamProcessor(
sdkKey: string,
Expand All @@ -995,15 +995,15 @@ declare module 'ldclient-node/streaming' {
/**
* @ignore
*/
declare module 'ldclient-node/requestor' {
import { LDOptions, LDFeatureRequestor } from 'ldclient-node';
declare module 'launchdarkly-node-server-sdk/requestor' {
import { LDOptions, LDFeatureRequestor } from 'launchdarkly-node-server-sdk';

function Requestor(sdkKey: string, options: LDOptions): LDFeatureRequestor;
export = Requestor;
}

declare module 'ldclient-node/feature_store' {
import { LDFeatureStore } from 'ldclient-node';
declare module 'launchdarkly-node-server-sdk/feature_store' {
import { LDFeatureStore } from 'launchdarkly-node-server-sdk';

function InMemoryFeatureStore(): LDFeatureStore;
export = InMemoryFeatureStore;
Expand Down
Loading