This repository was archived by the owner on May 30, 2024. It is now read-only.
Commit a38d913
prepare 6.3.0 release (#236)
* fix tests
* object shorthand
* add more end-to-end tests, improve HTTP test helpers, general cleanup
* rm nock
* Node 6 compatibility
* remove redundant helper, misc cleanup
* Node 6 compatibility
* fix comment
* change asyncify to promisifySingle
* misc fixes
* add Windows CircleCI job
* fix config
* syntax
* diagnostic events, part 2: initial event and stats, except for stream inits
* comments
* add test for stats event
* capture stream connection stats in diagnostic events
* fix test
* remove eventReportingDisabled from diagnostic event; only create diagnosticsManager if needed
* revise tests to use new helper package
* misc cleanup
* use launchdarkly-js-test-helpers 1.0.0
* fix package reference
* minor fixes to config validation messages + add comment
* diagnostic eventsInQueue counter should be # of events at last flush
* rename eventsInQueue to eventsInLastBatch
* don't let user fall outside of last bucket in rollout
* add unit tests for basic bucketing logic and edge case
* avoid redundant property lookups
* fix Redis client parameter to match TS declaration (but still support old incorrect parameter)
* add event payload ID
* remove mistakenly checked-in test code (note, this SDK key was only valid on staging)
* add mention of singleton usage
* update diagnostic event info for OS name, data store type, Node version
* standardize linting
* disallow window and document
* fix null/undef checks
* misc linting fixes
* inlineUsersInEvents is not an unknown option
* drop node-sha1 dependency
* don't omit streamInits.failed when it's false
* bump request dependency to get security patch; loosen some exact dependencies
* remove request package; improve polling cache logic + add test
* bump typescript version to fix build error in Node 6
* update @types/node to fix TypeScript check step
* lint
* make sure we keep polling regardless of whether we got new data
* use launchdarkly-eventsource, make stream retry behavior consistent
* stream retry delay option should be in seconds & should be included in diagnostics
* minor test fix
* fix: Throw an error on malformed user-supplied logger
* don't call unref() on Redis client; ensure that database integration tests close the store
* update Redis driver to major version 3
* add test case
* allow redisOpts parameter to be omitted
* add logger adapter shim + tests
* minor cleanup and comments for ch74741 fix (logger wrapper)
* fix proxy tunnel configuration and make sure it's used in streaming
* change some string concatenation expressions to use interpolation
* feat: upgrade winston (#189)
* fix merge
* remove support for indirect/patch and indirect/put (#182)
* reuse same Promise and same event listeners for all waitForInitialization calls
* better docs for waitForInitialization + misc doc cleanup (#184)
* update js-eventsource to 1.3.1 for stream parsing bugfix (#185)
* fix broken logger format (#186)
* retroactively update changelog for bugfix in 5.13.2 release
* allow get/getAll Redis queries to be queued if Redis client hasn't yet connected
* set stream read timeout
* adding the alias functionality (#190)
* Removed the guides link
* remove monkey-patching of setImmediate
* Persist contextKind property during feature and custom event transformations (#194)
* add inlineUsersInEvents option in TypeScript
* Add support for seed to bucketUser
* Add note for incorporating seed into evaluation
* Send events when the evaluation is from an experiment
* Use seed to evaluate.
* Clean up test descriptions
* Rename variable to be less confusing
* Use ternary to eliminate mutation
* Make return signature more consistent
* Un-prettier the tests
* redis lower bounds bump (#199)
* update launchdarkly-js-test-helpers to fix TLS tests (#200)
* update js-eventsource to remove vulnerability warning (#201)
* add CI jobs for all compatible Node versions
* CI fixes
* more CI fixes
* comment
* use default value to simplify config
* (6.0 - #1) stop saying we're compatible with Node <12 (#203)
* add CI jobs for all compatible Node versions (#202)
* (6.0 - #2) remove Redis integration (#204)
* allow feature store to be specified as a factory (so it can get our logger)
* (6.0 - #3) remove Winston (#205)
* remove deprecated things for 6.0 (#206)
* update node-cache to 5.x (drops old Node compat)
* update semver to 7.x (drops old Node compat)
* update uuid to 8.x (Node compat, perf improvements, bugfixes)
* update dev dependencies
* linter
* replace lrucache package with lru-cache (#209)
* make yaml dependency optional (#210)
* update release metadata to include maintenance branch
* remove package-lock.json (#211)
* rm prerelease changelog
* (big segments #1) add interfaces for big segments (#212)
* (big segments #2) add all components for big segments except evaluation (#213)
* (big segments #3) implement big segments in flag evaluation (#214)
* (big segments #4) add standard test suite for big segment store tests + refactor feature store tests (#215)
* move new interfaces to a module instead of a namespace (#216)
* fix TS export of CachingStoreWrapper
* use Releaser v2 config
* fix overly specific test expectation that breaks in Node 17
* Initial work on FlagBuilder (#219)
* Add TestData factory(with some dummy methods); Initial work on FlagBuilder
* fixed indentation and linter errors; fixed an error in update; fixed incorrect test label
* fixed typo in TestData store
* converted boolean variation constants to be file variables instead of class variables
Co-authored-by: charukiewicz <christian@foxhound.systems>
Co-authored-by: belevy <ben@foxhound.systems>
* implemented FlagRuleBuilder; added .build() methods to FlagBuilder/FlagRuleBuilder and changed tests to avoid using private interface
* converted _targets to be Map instead of object literal; changed variationForBoolean to be a module-scoped function instead class-scoped
* Implement stream processor(data source) interface for test data
* Add TestData to index.js and write out the types for TestData and friends
* added testdata documentation to index.d.ts; fix linter errors; changed flag default behavior to create boolean flag
* Fix the interface file: reindented to 2 spaces, corrected definition of functions from properties to functions in interfaces; corrected issues in JSDoc comments
* modify tests to fix capitalization and actually test the test datasource works as an LDClient updateProcessor.
* Fix linter error on defaulted callback
* explicitly enable JSDOM types in TypeScript build to avoid errors when jsdom is referenced for some reason
* capitalize Big Segments in docs & logs
* documentation comment fixes for TestData
* pin TypeScript to 4.4.x
* move TestData and FIleDataSource to integrations module
* lint
* rename types used by TestData for clarity (#229)
* use varargs semantics for TestFlagBuilder.variations() and add it to the TS interface (#230)
* don't ever use for...in (#232)
* don't ever use for...in
* add null guard
* bump launchdarkly-eventsource dependency for sc-136154 fix
* use TestData in our own tests (#231)
* use TestData in our own tests
* update TS interface
* lint
* typo
* fix allFlagsState behavior regarding experimentation
* lint
* allow "secondary" to be referenced in clauses
* don't throw an exception for non-string in semver comparison
* correctly handle "client not ready" condition in allFlagsState
* lint
Co-authored-by: Eli Bishop <eli@launchdarkly.com>
Co-authored-by: LaunchDarklyCI <dev@launchdarkly.com>
Co-authored-by: Ben Woskow <bwoskow@launchdarkly.com>
Co-authored-by: Maxwell Gerber <maxwell.gerber@mulesoft.com>
Co-authored-by: Chris West <solo-github@goeswhere.com>
Co-authored-by: Ben Woskow <48036130+bwoskow-ld@users.noreply.github.com>
Co-authored-by: Mike Zorn <mike@launchdarkly.com>
Co-authored-by: Robert J. Neal <rneal@launchdarkly.com>
Co-authored-by: Ben Levy <benjaminlevy007@gmail.com>
Co-authored-by: charukiewicz <christian@foxhound.systems>
Co-authored-by: belevy <ben@foxhound.systems>
Co-authored-by: charukiewicz <charukiewicz@protonmail.com>
Co-authored-by: LaunchDarklyReleaseBot <launchdarklyreleasebot@launchdarkly.com>1 parent 1268551 commit a38d913
13 files changed
+1186
-211
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
| 438 | + | |
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
99 | 118 | | |
100 | 119 | | |
101 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | | - | |
| 6 | + | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
38 | 34 | | |
39 | 35 | | |
40 | | - | |
| 36 | + | |
| 37 | + | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | | - | |
| 40 | + | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
| |||
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
83 | | - | |
| 87 | + | |
| 88 | + | |
84 | 89 | | |
85 | 90 | | |
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
89 | 94 | | |
90 | | - | |
91 | | - | |
| 95 | + | |
| 96 | + | |
92 | 97 | | |
93 | 98 | | |
94 | 99 | | |
| |||
130 | 135 | | |
131 | 136 | | |
132 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
133 | 142 | | |
134 | | - | |
135 | | - | |
| 143 | + | |
136 | 144 | | |
137 | 145 | | |
138 | 146 | | |
| |||
169 | 177 | | |
170 | 178 | | |
171 | 179 | | |
| 180 | + | |
| 181 | + | |
172 | 182 | | |
173 | | - | |
| 183 | + | |
174 | 184 | | |
175 | 185 | | |
176 | 186 | | |
| |||
180 | 190 | | |
181 | 191 | | |
182 | 192 | | |
183 | | - | |
| 193 | + | |
184 | 194 | | |
185 | | - | |
186 | | - | |
187 | | - | |
| 195 | + | |
| 196 | + | |
188 | 197 | | |
189 | 198 | | |
190 | | - | |
191 | | - | |
| 199 | + | |
192 | 200 | | |
193 | | - | |
| 201 | + | |
194 | 202 | | |
195 | 203 | | |
196 | 204 | | |
| |||
0 commit comments