Commit 63976cd
prepare 4.1.0 release (#67)
* initial move of code from js-client-sdk-private
* changelog note
* rm obsolete comment
* add npm audit helper
* update babel, jest, rollup
* fix rollup config
* fix ES build, dependency cleanup
* add Releaser metadata
* Update babel config to work in `test` without `useBuiltIns`
* copyedits
* fix misnamed directory
* use spread operator instead of Object.assign
* add issue templates
* add babel-eslint
* add event capacity config property
* re-add deprecation warning on samplingInterval
* better config validation
* remove rollup-plugins-node-resolve
* use newer Rollup node-resolve plugin
* rm rollup-plugin-includepaths (unused)
* npm audit fix (handlebars dependency from jest)
* comment
* copyedit
* use new test helpers + misc test cleanup
* clean up stream testing logic
* fix hash parameter
* linter
* clearer way to model the config option defaults/types
* test improvements
* change internal param name
* comment
* fix default logger logic
* simpler way to enforce minimum values
* implement diagnostic events in common JS package (#11)
* add support for function type in config options
* add support for function type in config options (#13)
* add wrapper metadata options and fix custom header logic
* lint
* lint
* remove image-loading logic from common code, replace it with an abstraction
* add validation for options.streaming
* typo
* rm unused params
* typo in comment
* misc fixes to merged code from external PR
* add event payload ID header
* npm audit fix
* change exact dependencies to best-compatible
* standardize linting
* disallow "window" and "document"
* improve diag event tests + debug logging
* misc cleanup
* fix updating secure mode hash with identify()
* don't omit streamInits.failed when it's false
* clean up init state logic, prevent unhandled rejections
* lint
* less strict matching of json content-type header
* remove unsafe usage of hasOwnProperty
* console logger must tolerate console object not always existing
* fix double initialization of diagnostics manager
* fix TypeScript declaration for track() and add more TS compilation tests (#27)
* remove startsWith usage (#28)
* prevent poll caused by a stream ping from overwriting later poll for another user (#29)
* upgrade jest dependency and transitive yargs-parser dependency (#30)
* Add null to LDEvaluationDetail.reason type (#31)
* Revert "Add null to LDEvaluationDetail.reason type (#31)"
This reverts commit bcb1573.
* Revert "Add null to LDEvaluationDetail.reason type (#31)"
This reverts commit bcb1573.
* nullable evaluation reason (#32)
* adding alias event functionality (#33)
* set stream read timeout
* Add prepare script (#34)
* add a missing typescript verification (#36)
* Removed the guides link
* Correct doc link (#36)
* Fix typo in LDClient.on jsdoc (#37)
* add inlineUsersInEvents option in TypeScript (#37)
* Filter private attributes on debug event users. Send variation for debug events.
* update uuid package version (#39)
* use Releaser v2 config + newer CI image
* First half, add the type, create the new options, add the new util method, and add tests
* Second half, call the tranform util method before calling any HTTP requests
* Update the transform to work on a copy of headers instead of mutating it
* add comments about removing custom event warning logic in the future
* revert updating of UUID dependency (#43)
* Revert "update uuid package version (#39)"
This reverts commit 3b2ff6c.
* update package-lock.json
* better error handling for local storage operations (#44)
* better error handling for local storage operations
* lint
* fix obsolete comments
* add basic logger similar to server-side Node SDK (#45)
* fix exports and add validation of custom logger (#46)
* remove typedoc.js file that interferes with Releaser's docs build
* update typescript version
* add maintenance branch
* remove deprecated things (#48)
* remove deprecated options and function
* rm references to obsolete function
* restore deprecation logic, just leave the data empty
* remove samplingInterval from TS test code
* fix TS test code again
* fix EvaluationDetail.reason to be nullable so we can get rid of NonNullableLDEvaluationReason type (#49)
* remove deprecated options and function
* rm references to obsolete function
* restore deprecation logic, just leave the data empty
* remove samplingInterval from TS test code
* fix TS test code again
* fix EvaluationDetail.reason to be nullable so we can get rid of NonNullableLDEvaluationReason type
* fix TS test code
* re-bump uuid package (#50)
* Revert "Revert "update uuid package version (#39)""
This reverts commit 89359b1bf4ddbe6b2fedb95f1dc11240483c60f7.
* remove lockfile (sc-107301)
* use regular User-Agent header name unless overridden by js-client-sdk (#52)
* switch to publishing js-sdk-common as a regular Node module (#51)
* fix CI
* remove `version` constant which can't be exported from js-sdk-common (#53)
* catch errors in JSON parsing of stream data (#54)
* catch errors in JSON parsing of stream data
* lint
* backport sc-142333 fix
* prepare 3.5.1 release (#63)
* initial move of code from js-client-sdk-private
* changelog note
* rm obsolete comment
* add npm audit helper
* update babel, jest, rollup
* fix rollup config
* fix ES build, dependency cleanup
* add Releaser metadata
* Update babel config to work in `test` without `useBuiltIns`
* copyedits
* fix misnamed directory
* use spread operator instead of Object.assign
* add issue templates
* add babel-eslint
* add event capacity config property
* re-add deprecation warning on samplingInterval
* better config validation
* remove rollup-plugins-node-resolve
* use newer Rollup node-resolve plugin
* rm rollup-plugin-includepaths (unused)
* npm audit fix (handlebars dependency from jest)
* comment
* copyedit
* use new test helpers + misc test cleanup
* clean up stream testing logic
* fix hash parameter
* linter
* clearer way to model the config option defaults/types
* test improvements
* change internal param name
* comment
* fix default logger logic
* simpler way to enforce minimum values
* implement diagnostic events in common JS package (#11)
* add support for function type in config options
* add support for function type in config options (#13)
* add wrapper metadata options and fix custom header logic
* lint
* lint
* remove image-loading logic from common code, replace it with an abstraction
* add validation for options.streaming
* typo
* rm unused params
* typo in comment
* misc fixes to merged code from external PR
* add event payload ID header
* npm audit fix
* change exact dependencies to best-compatible
* standardize linting
* disallow "window" and "document"
* improve diag event tests + debug logging
* misc cleanup
* fix updating secure mode hash with identify()
* don't omit streamInits.failed when it's false
* clean up init state logic, prevent unhandled rejections
* lint
* less strict matching of json content-type header
* remove unsafe usage of hasOwnProperty
* console logger must tolerate console object not always existing
* fix double initialization of diagnostics manager
* fix TypeScript declaration for track() and add more TS compilation tests (#27)
* remove startsWith usage (#28)
* prevent poll caused by a stream ping from overwriting later poll for another user (#29)
* upgrade jest dependency and transitive yargs-parser dependency (#30)
* Add null to LDEvaluationDetail.reason type (#31)
* Revert "Add null to LDEvaluationDetail.reason type (#31)"
This reverts commit bcb1573.
* Revert "Add null to LDEvaluationDetail.reason type (#31)"
This reverts commit bcb1573.
* nullable evaluation reason (#32)
* adding alias event functionality (#33)
* set stream read timeout
* Add prepare script (#34)
* add a missing typescript verification (#36)
* Removed the guides link
* Correct doc link (#36)
* Fix typo in LDClient.on jsdoc (#37)
* add inlineUsersInEvents option in TypeScript (#37)
* Filter private attributes on debug event users. Send variation for debug events.
* update uuid package version (#39)
* use Releaser v2 config + newer CI image
* First half, add the type, create the new options, add the new util method, and add tests
* Second half, call the tranform util method before calling any HTTP requests
* Update the transform to work on a copy of headers instead of mutating it
* add comments about removing custom event warning logic in the future
* revert updating of UUID dependency (#43)
* Revert "update uuid package version (#39)"
This reverts commit 3b2ff6c.
* update package-lock.json
* better error handling for local storage operations (#44)
* better error handling for local storage operations
* lint
* fix obsolete comments
* add basic logger similar to server-side Node SDK (#45)
* fix exports and add validation of custom logger (#46)
* remove typedoc.js file that interferes with Releaser's docs build
* update typescript version
* add maintenance branch
* backport sc-142333 fix
Co-authored-by: Eli Bishop <[email protected]>
Co-authored-by: Zach Davis <[email protected]>
Co-authored-by: LaunchDarklyCI <[email protected]>
Co-authored-by: Ben Woskow <[email protected]>
Co-authored-by: Ben Woskow <[email protected]>
Co-authored-by: Michael Siadak <[email protected]>
Co-authored-by: Jeff Wen <[email protected]>
Co-authored-by: Andrey Krasnov <[email protected]>
Co-authored-by: Gavin Whelan <[email protected]>
Co-authored-by: LaunchDarklyReleaseBot <[email protected]>
Co-authored-by: Louis Chan <[email protected]>
Co-authored-by: Louis Chan <[email protected]>
* Releasing version 3.5.1
* rm obsolete file to fix merge
* Releasing version 3.5.1
* make URL path concatenation work right whether base URL has a trailing slash or not (#61)
* make URL path concatenation work right whether base URL has a trailing slash or not
* lint
* Implement support for application tags. (#55)
* Fix typing of LDOptionsBase. (#63)
* Implement application tags for 3.x. (#62)
* lint
Co-authored-by: Eli Bishop <[email protected]>
Co-authored-by: Zach Davis <[email protected]>
Co-authored-by: LaunchDarklyCI <[email protected]>
Co-authored-by: Ben Woskow <[email protected]>
Co-authored-by: Ben Woskow <[email protected]>
Co-authored-by: Michael Siadak <[email protected]>
Co-authored-by: Jeff Wen <[email protected]>
Co-authored-by: Andrey Krasnov <[email protected]>
Co-authored-by: Gavin Whelan <[email protected]>
Co-authored-by: LaunchDarklyReleaseBot <[email protected]>
Co-authored-by: Louis Chan <[email protected]>
Co-authored-by: Louis Chan <[email protected]>
Co-authored-by: Ryan Lamb <[email protected]>1 parent bee90f5 commit 63976cd
File tree
16 files changed
+332
-113
lines changed- src
- __tests__
16 files changed
+332
-113
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
78 | | - | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | | - | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
217 | 256 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | | - | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
48 | 54 | | |
49 | 55 | | |
50 | 56 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | 57 | | |
123 | 58 | | |
124 | 59 | | |
| |||
0 commit comments