Commit 0931811
authored
Prepare v9.4.0 release (#112)
* Take another approach to avoid errors when options is logged while containing circular references + prevent internals leaking into the log
* Fix a minor bug in setting type mismatch check (type mismatch should also be reported for allowed flag override values)
* Fix a minor bug in FetchError (name property should be set to the class name)
* Fix a minor bug in formatting errors (some JS runtimes doesn't include the error message in the stack trace)
* Fix edge case bug in parseFloatStrict
* Use monotonic clock for scheduling poll iterations in Auto Poll mode for improved precision and resistance to system/user clock adjustments
* Use monotonic clock in tests for measuring elapsed time
* Refresh internal cache in offline mode too + don't report failure when refreshing in offline mode if an external cache is configured
* Make clientReady consistent with other SDKs in Auto Poll + offline mode
* Eliminate redundant sync with external cache in AutoPollConfigService.getConfig + improve clientReady
* Eliminate race condition between initial and user-initiated cache sync ups
* Also report configCached when new config is synced from external cache
* Deduplicate config refresh instead of fetch operation only
* Correct intellisense docs of a few config service-related APIs
* Include SDK Key in error fetchFailedDueToInvalidSdkKey (1100) + mask SDK Key except for the last 6 characters
* npm run lint:fix
* Bump version1 parent b0d5456 commit 0931811
File tree
21 files changed
+768
-231
lines changed- src
- test
- helpers
21 files changed
+768
-231
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | | - | |
| 6 | + | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 56 | + | |
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
| |||
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 77 | + | |
90 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
91 | 83 | | |
92 | 84 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
| 85 | + | |
98 | 86 | | |
99 | 87 | | |
100 | 88 | | |
| 89 | + | |
101 | 90 | | |
102 | 91 | | |
| 92 | + | |
103 | 93 | | |
104 | 94 | | |
105 | 95 | | |
| |||
121 | 111 | | |
122 | 112 | | |
123 | 113 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
129 | 117 | | |
130 | 118 | | |
| 119 | + | |
131 | 120 | | |
132 | 121 | | |
133 | 122 | | |
134 | 123 | | |
135 | 124 | | |
136 | | - | |
137 | 125 | | |
138 | 126 | | |
139 | | - | |
| 127 | + | |
140 | 128 | | |
141 | | - | |
| 129 | + | |
142 | 130 | | |
143 | 131 | | |
144 | 132 | | |
145 | 133 | | |
146 | 134 | | |
147 | | - | |
| 135 | + | |
148 | 136 | | |
149 | 137 | | |
150 | 138 | | |
| |||
153 | 141 | | |
154 | 142 | | |
155 | 143 | | |
156 | | - | |
157 | 144 | | |
158 | 145 | | |
159 | 146 | | |
| |||
163 | 150 | | |
164 | 151 | | |
165 | 152 | | |
166 | | - | |
| 153 | + | |
167 | 154 | | |
168 | 155 | | |
169 | | - | |
| 156 | + | |
170 | 157 | | |
171 | 158 | | |
172 | 159 | | |
173 | 160 | | |
174 | | - | |
| 161 | + | |
175 | 162 | | |
176 | 163 | | |
177 | | - | |
| 164 | + | |
178 | 165 | | |
| 166 | + | |
179 | 167 | | |
180 | 168 | | |
181 | | - | |
182 | | - | |
183 | | - | |
| 169 | + | |
| 170 | + | |
184 | 171 | | |
185 | 172 | | |
186 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | | - | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
62 | | - | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
76 | | - | |
| 79 | + | |
77 | 80 | | |
78 | | - | |
| 81 | + | |
79 | 82 | | |
80 | 83 | | |
81 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
82 | 87 | | |
| 88 | + | |
83 | 89 | | |
84 | 90 | | |
85 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
86 | 94 | | |
87 | 95 | | |
88 | 96 | | |
89 | 97 | | |
90 | 98 | | |
91 | 99 | | |
| 100 | + | |
| 101 | + | |
92 | 102 | | |
93 | | - | |
| 103 | + | |
94 | 104 | | |
95 | 105 | | |
| 106 | + | |
96 | 107 | | |
97 | 108 | | |
98 | | - | |
| 109 | + | |
| 110 | + | |
99 | 111 | | |
100 | 112 | | |
101 | 113 | | |
102 | 114 | | |
103 | 115 | | |
104 | | - | |
| 116 | + | |
105 | 117 | | |
106 | 118 | | |
| 119 | + | |
107 | 120 | | |
108 | 121 | | |
109 | 122 | | |
110 | | - | |
| 123 | + | |
111 | 124 | | |
112 | 125 | | |
113 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | | - | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
82 | | - | |
| 85 | + | |
| 86 | + | |
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
87 | 91 | | |
88 | | - | |
89 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
90 | 103 | | |
91 | 104 | | |
92 | 105 | | |
93 | 106 | | |
94 | 107 | | |
95 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
96 | 117 | | |
97 | 118 | | |
98 | 119 | | |
| |||
118 | 139 | | |
119 | 140 | | |
120 | 141 | | |
121 | | - | |
| 142 | + | |
122 | 143 | | |
123 | 144 | | |
124 | 145 | | |
| |||
130 | 151 | | |
131 | 152 | | |
132 | 153 | | |
| 154 | + | |
133 | 155 | | |
134 | 156 | | |
135 | | - | |
| 157 | + | |
136 | 158 | | |
137 | 159 | | |
138 | 160 | | |
| |||
280 | 302 | | |
281 | 303 | | |
282 | 304 | | |
283 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
284 | 308 | | |
285 | 309 | | |
286 | 310 | | |
| |||
551 | 575 | | |
552 | 576 | | |
553 | 577 | | |
554 | | - | |
| 578 | + | |
555 | 579 | | |
556 | 580 | | |
557 | 581 | | |
| |||
798 | 822 | | |
799 | 823 | | |
800 | 824 | | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
801 | 838 | | |
802 | 839 | | |
803 | 840 | | |
| |||
0 commit comments