This repository was archived by the owner on May 30, 2024. It is now read-only.
Commit e8f208d
prepare 5.9.0 release (#267)
* fix test
* make intVariation and doubleVariation non-nullable
* better unit test coverage of LDClient and FeatureFlagsState
* test coverage improvements + minor fixes
* better temp file handling in file data source tests
* revert file data source implementation change for now
* revert unnecessary change
* comment about file watching on Mac
* add slight delay to avoid timing-dependent test flakiness
* test fixes/comments
* (5.0) use simpler and more stable logger names
* better instructions
* more convenient way to set EventSource logger name
* (5.0) add HTTP default headers method + some component refactoring
* don't need to pass the whole config object to describeConfiguration()
* simplify test logic for HTTP headers
* (5.0) final test coverage improvements, for now, with enforcement
* re-simplify DataBuilder
* increase timeouts
* misc fixes
* rm unnecessary override
* indents
* update benchmark code for API change
* support loading file data from a classpath resource
* update metadata so Releaser knows about 4.x branch
* minor test fixes
* make class final
* rm beta changelog items
* test data source
* more info about coverage in CONTRIBUTING.md
* misc fixes/tests
* use java-sdk-common 1.0.0
* use okhttp-eventsource 2.3.0
* use okhttp-eventsource 2.3.1 for thread fix
* fix flaky tests due to change in EventSource error reporting
* remove support for indirect put and indirect patch
* fix typo in javadoc example code
* clean up polling logic, fix status updating after an outage, don't reinit store unnecessarily (#256)
* slightly change semantics of boolean setters, improve tests, misc cleanup
* avoid NPEs if LDUser was deserialized by Gson (#257)
* avoid NPEs if LDUser was deserialized by Gson
* add test
* fix release metadata
* prepare 4.14.1 release (#200)
* Releasing version 4.14.1
* exclude Kotlin metadata from jar + fix misc Gradle problems
* update CI and Gradle to test with newer JDKs (#259)
* update okhttp to 3.14.9 (fixes incompatibility with OpenJDK 8.0.252)
* prepare 4.14.2 release (#205)
* Releasing version 4.14.2
* update okhttp to 4.8.1 (fixes incompatibility with OpenJDK 8.0.252)
* gitignore
* Bump SnakeYAML from 1.19 to 1.26 to address CVE-2017-18640
* prepare 4.14.3 release (#209)
* Releasing version 4.14.3
* comments
* only log initialization message once in polling mode
* [ch89935] Correct some logging call format strings (#264)
Also adds debug logs for full exception information in a couple locations.
* [ch90109] Remove outdated trackMetric comment from before service support. (#265)
* Fix compatibility with Java 7.
* Remove import that is no longer used.
* add Java 7 build (#267)
* prepare 4.14.4 release (#214)
* Releasing version 4.14.4
* add and use getSocketFactory
* alignment
* add socketFactory to builder
* test socket factory builder
* preserve dummy CI config file when pushing to gh-pages (#271)
* fix concatenation when base URI has a context path (#270)
* fix shaded jar builds to exclude Jackson classes and not modify Jackson return types (#268)
* add test httpClientCanUseCustomSocketFactory for DefaultFeatureRequestor
* add httpClientCanUseCustomSocketFactory() test for DefaultEventSenderTest
* add httpClientCanUseCustomSocketFactory() test to StreamProcessorTest
* pass URI to in customSocketFactory event test
* make test less ambiguous
* copy rules to new FlagBuilder instances (#273)
* Bump guava version (#274)
* Removed the guides link
* increment versions when loading file data, so FlagTracker will work (#275)
* increment versions when loading file data, so FlagTracker will work
* update doc comment about flag change events with file data
* add ability to ignore duplicate keys in file data (#276)
* add alias events (#278)
* add alias events and function
* update tests for new functionality
* update javadoc strings
* add validation of javadoc build to CI
* update commons-codec to 1.15 (#279)
* Add support for experiment rollouts
* add tests and use seed for allocating user to partition
* test serialization and add check for isExperiment
* fix PollingProcessorTest test race condition + other test issues (#282)
* use launchdarkly-java-sdk-common 1.1.0-alpha-expalloc.2
* Update src/test/java/com/launchdarkly/sdk/server/EvaluatorTest.java
Co-authored-by: Sam Stokes <[email protected]>
* Update src/test/java/com/launchdarkly/sdk/server/EvaluatorTest.java
Co-authored-by: Sam Stokes <[email protected]>
* Update src/test/java/com/launchdarkly/sdk/server/EvaluatorTest.java
Co-authored-by: Sam Stokes <[email protected]>
* Update src/test/java/com/launchdarkly/sdk/server/EvaluatorTest.java
Co-authored-by: Sam Stokes <[email protected]>
* changes per code review comments
* Please enter the commit message for your changes. Lines starting
* fix null pointer exception
* address code review comments
* address more comments
* missed a ! for isUntracked()
* fix default boolean for json
* make untracked FALSE by default
* refactoring of bucketing logic to remove the need for an extra result object (#283)
* add comment to enum
* various JSON fixes, update common-sdk (#284)
* simlpify the logic and make it match node/.Net sdks
* Update src/main/java/com/launchdarkly/sdk/server/EventFactory.java
Co-authored-by: Sam Stokes <[email protected]>
* add the same comment as the Node SDK
* Remove outdated/meaningless doc comment. (#286)
* protect against NPEs if flag/segment JSON contains a null value
* use java-sdk-common 1.2.0
* fix Jackson-related build issues (again) (#288)
* update to okhttp-eventsource patch for stream retry bug, improve tests (#289)
* update to okhttp-eventsource patch for stream retry bug, improve test
* add test for appropriate stream retry
* add public builder for FeatureFlagsState (#290)
* add public builder for FeatureFlagsState
* javadoc fixes
* clarify FileData doc comment to say you shouldn't use offline mode (#291)
* improve validation of SDK key so we won't throw an exception that contains the key (#293)
* fix javadoc link in FileData comment (#294)
* fix PollingProcessor 401 behavior and use new HTTP test helpers (#292)
* re-fix metadata to remove Jackson dependencies, also remove Class-Path from manifest (#295)
* make FeatureFlagsState.Builder.build() public (#297)
* clean up tests using java-test-helpers 1.1.0 (#296)
* use Releaser v2 config + newer CI images (#298)
* [ch123129] Fix `PollingDataSourceBuilder` example. (#299)
* Updates docs URLs
* always use US locale when parsing HTTP dates
* use Gson 2.8.9
* don't try to send more diagnostic events after an unrecoverable HTTP error
* ensure module-info file isn't copied into our jars during build
* use Gradle 7
* update build for benchmarks
* more Gradle 7 compatibility changes for benchmark job
* test with Java 17 in CI (#307)
* test with Java 17 in CI
* also test in Java 17 for Windows
* fix choco install command
* do date comparisons as absolute times, regardless of time zone (#310)
* fix suppression of nulls in JSON representations (#311)
* fix suppression of nulls in JSON representations
* distinguish between situations where we do or do not want to suppress nulls
* fix identify/track null user key check, also don't create index event for alias
* use latest java-sdk-common
* fix setting of trackEvents/trackReason in allFlagsState data when there's an experiment
* implement contract tests (#314)
* Merge Big Segments feature branch for 5.7.0 release (#316)
Includes Big Segments implementation and contract test support for the new behavior.
* Fix for pom including SDK common library as a dependency. (#317)
* Upload JUnit XML to CircleCI on failure (#320)
Fix a bug in the CircleCI config that was only uploading JUnit XML on _success_, not failure.
* Add application tag support (#319)
* Enforce 64 character limit on application tag values (#323)
* fix "wrong type" logic in evaluations when default value is null
* Rename master to main in .ldrelease/config.yml (#325)
* Simpler way of setting base URIs in Java (#322)
Now supports the `ServiceEndpoints` config for setting custom URIs for endpoints in a single place
Co-authored-by: Eli Bishop <[email protected]>
Co-authored-by: LaunchDarklyCI <[email protected]>
Co-authored-by: LaunchDarklyCI <[email protected]>
Co-authored-by: Gavin Whelan <[email protected]>
Co-authored-by: ssrm <[email protected]>
Co-authored-by: Harpo Roeder <[email protected]>
Co-authored-by: Ben Woskow <[email protected]>
Co-authored-by: Elliot <[email protected]>
Co-authored-by: Robert J. Neal <[email protected]>
Co-authored-by: Robert J. Neal <[email protected]>
Co-authored-by: Sam Stokes <[email protected]>
Co-authored-by: LaunchDarklyReleaseBot <[email protected]>
Co-authored-by: Ember Stevens <[email protected]>
Co-authored-by: ember-stevens <[email protected]>
Co-authored-by: Alex Engelberg <[email protected]>
Co-authored-by: Alex Engelberg <[email protected]>1 parent 6e0be88 commit e8f208d
File tree
29 files changed
+682
-44
lines changed- contract-tests/service/src/main/java/sdktest
- src
- main/java/com/launchdarkly/sdk/server
- integrations
- interfaces
- test/java/com/launchdarkly/sdk/server
- integrations
29 files changed
+682
-44
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
58 | 65 | | |
59 | 66 | | |
60 | 67 | | |
| |||
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
250 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
251 | 261 | | |
252 | 262 | | |
253 | 263 | | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
344 | 346 | | |
345 | 347 | | |
346 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
347 | 371 | | |
Lines changed: 58 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
142 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
143 | 151 | | |
144 | 152 | | |
145 | 153 | | |
| |||
157 | 165 | | |
158 | 166 | | |
159 | 167 | | |
160 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
161 | 172 | | |
162 | 173 | | |
163 | 174 | | |
| |||
177 | 188 | | |
178 | 189 | | |
179 | 190 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
184 | 198 | | |
| 199 | + | |
| 200 | + | |
185 | 201 | | |
186 | 202 | | |
187 | 203 | | |
| |||
195 | 211 | | |
196 | 212 | | |
197 | 213 | | |
198 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
199 | 218 | | |
200 | 219 | | |
201 | 220 | | |
| |||
210 | 229 | | |
211 | 230 | | |
212 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
213 | 239 | | |
214 | 240 | | |
215 | 241 | | |
216 | 242 | | |
217 | 243 | | |
218 | | - | |
| 244 | + | |
219 | 245 | | |
220 | 246 | | |
221 | 247 | | |
| |||
234 | 260 | | |
235 | 261 | | |
236 | 262 | | |
237 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
238 | 268 | | |
239 | 269 | | |
240 | 270 | | |
| |||
333 | 363 | | |
334 | 364 | | |
335 | 365 | | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
336 | 385 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
| 40 | + | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| |||
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
| 91 | + | |
87 | 92 | | |
88 | 93 | | |
89 | 94 | | |
| |||
263 | 268 | | |
264 | 269 | | |
265 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
266 | 286 | | |
267 | 287 | | |
268 | 288 | | |
| |||
0 commit comments