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

prepare 6.0.2 release #291

Merged
merged 1,354 commits into from
Jan 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1354 commits
Select commit Hold shift + click to select a range
3cad580
avoid creating List iterators during evaluations
eli-darkly Jul 8, 2022
681337e
remove unnecessary copy
eli-darkly Jul 8, 2022
1b8d842
Merge pull request #337 from launchdarkly/eb/sc-158936/reuse-eval-result
eli-darkly Jul 12, 2022
1c706cf
Merge pull request #338 from launchdarkly/eb/sc-158686/fewer-iterators
eli-darkly Jul 12, 2022
459a9d9
update data model for U2C schema changes, without using contexts yet
eli-darkly Jul 13, 2022
654f340
more model updates + tests
eli-darkly Jul 13, 2022
cab2ebd
update benchmark code
eli-darkly Jul 13, 2022
fe19df5
more model updates
eli-darkly Jul 13, 2022
4e321d5
use LDContext in Evaluator; add per-kind targets logic
eli-darkly Jul 13, 2022
aba0077
rm redundant test
eli-darkly Jul 13, 2022
e7207a9
skip inapplicable contract tests
eli-darkly Jul 13, 2022
e93674d
implement new context kind logic for clauses
eli-darkly Jul 13, 2022
1774bc0
implement new context kind logic for rollouts
eli-darkly Jul 14, 2022
45030fa
skip inapplicable contract tests
eli-darkly Jul 14, 2022
ce92a7a
add context kind logic for regular segments and big segments
eli-darkly Jul 14, 2022
4781ccd
allow segments to reference other segments
eli-darkly Jul 14, 2022
85bd0f7
guard against prerequisite cycles
eli-darkly Jul 14, 2022
561f69a
Merge branch '6.0' into u2c
eli-darkly Jul 14, 2022
e094256
Merge branch '6.0' into eb/sc-156594/u2c-1-model
eli-darkly Jul 14, 2022
a2ac89a
Merge branch 'eb/sc-156594/u2c-1-model' into eb/sc-156594/u2c-2-eval-…
eli-darkly Jul 14, 2022
d5cad4e
Merge branch 'eb/sc-156594/u2c-2-eval-targets' into eb/sc-156594/u2c-…
eli-darkly Jul 14, 2022
c8d72a3
Merge branch 'eb/sc-156594/u2c-3-eval-clauses' into eb/sc-156594/u2c-…
eli-darkly Jul 14, 2022
96875e7
Merge branch 'eb/sc-156594/u2c-4-eval-rollouts' into eb/sc-156594/u2c…
eli-darkly Jul 14, 2022
3611c17
Merge branch 'eb/sc-156594/u2c-5-eval-segments' into eb/sc-156594/u2c…
eli-darkly Jul 14, 2022
9f07f97
implement event context redaction logic
eli-darkly Jul 14, 2022
f1739f1
misc fixes
eli-darkly Jul 14, 2022
f234049
implement the rest of U2C event logic
eli-darkly Jul 14, 2022
3fcd1e3
misc fixes
eli-darkly Jul 14, 2022
8495861
fix benchmarks
eli-darkly Jul 14, 2022
f03d303
add contextKinds to summary + misc fixes
eli-darkly Jul 14, 2022
3d389af
events schema 4
eli-darkly Jul 14, 2022
21c918b
update client API to use contexts; enable v2 contract tests
eli-darkly Jul 14, 2022
3ac99e7
misc fixes
eli-darkly Jul 14, 2022
f3b3f0e
javadoc & test app fixes
eli-darkly Jul 14, 2022
33c0733
javadoc fix
eli-darkly Jul 14, 2022
80e29e8
javadoc fix
eli-darkly Jul 14, 2022
410e43d
unskip some tests since the behavior was fixed in java-sdk-common
eli-darkly Jul 15, 2022
104b9c1
bad attribute in clause should be reported as an error
eli-darkly Jul 15, 2022
83bf807
update TestData to be context-aware
eli-darkly Jul 19, 2022
2c88ab4
misc fixes + javadoc
eli-darkly Jul 19, 2022
cc2eb70
fix allFlagsState to not generate prereq eval events
eli-darkly Jul 20, 2022
81d7d69
Merge pull request #352 from launchdarkly/eb/sc-158936/no-prereq-even…
eli-darkly Jul 20, 2022
d33a606
merge from public after release
Jul 21, 2022
73913e1
factor context deduplication logic out of DefaultEventProcessor
eli-darkly Jul 21, 2022
d375472
fix JSON serialization test
eli-darkly Jul 21, 2022
e85f415
Merge branch 'eb/sc-159596/u2c-9-client-api' into eb/sc-156598/u2c-10…
eli-darkly Jul 21, 2022
c538ece
Merge branch 'eb/sc-156598/u2c-10-test-data' into eb/sc-156592/event-…
eli-darkly Jul 21, 2022
abbfcf5
refactor diagnostic events logic to abstract out server-side-specific…
eli-darkly Jul 22, 2022
a1625bb
separate inner events implementation from public interface, don't exp…
eli-darkly Jul 22, 2022
6513971
fix benchmarks
eli-darkly Jul 22, 2022
9ae1226
fix benchmarks
eli-darkly Jul 22, 2022
6f19990
rm unused
eli-darkly Jul 22, 2022
3a27b2e
rm unused
eli-darkly Jul 22, 2022
822aac0
separate Java-SDK-specific HTTP functionality from events logic
eli-darkly Jul 22, 2022
0359ba7
fix tests
eli-darkly Jul 22, 2022
721edfb
don't close the underlying Writer when we stop using the JsonWriter
eli-darkly Jul 22, 2022
3e91cfa
rm unused
eli-darkly Jul 22, 2022
a05844d
remove references to Java 8 types and Guava from shared event/HTTP code
eli-darkly Jul 22, 2022
4fa02d2
fix benchmarks
eli-darkly Jul 22, 2022
922f80a
also try not to use java.time.Duration in the event tests
eli-darkly Jul 22, 2022
b3d4d41
also avoid using lambdas in event test code
eli-darkly Jul 22, 2022
a61a173
move shared code into internal packages before splitting it off
eli-darkly Jul 22, 2022
1f75a5c
add "...ForAll" TestData methods to replace "...ForAllUsers"
eli-darkly Jul 27, 2022
57afda7
replace all component factory interfaces with a single generic one
eli-darkly Jul 27, 2022
479878b
change HttpConfiguration and LoggingConfiguration to concrete classes
eli-darkly Jul 27, 2022
d3b7487
bump okhttp & okhttp-eventsource dependencies
eli-darkly Jul 28, 2022
1cc6775
update comment to clarify that level() doesn't apply to SLF4J
eli-darkly Jul 28, 2022
caf0e10
update readme to mention different logging examples in hello-java
eli-darkly Jul 28, 2022
7617814
switch to use snapshot build of java-logging, pending next release
eli-darkly Jul 28, 2022
bc926fa
level setting does not apply to SLF4J and JUL
eli-darkly Jul 28, 2022
21cb4d3
Merge branch 'logging' into eb/sc-138971/logging
eli-darkly Jul 28, 2022
a02e8cb
Merge branch 'main' into 6.0
eli-darkly Jul 28, 2022
b65dc18
Merge branch '6.0' into eb/sc-157086/component-configurer
eli-darkly Jul 28, 2022
4a8af92
Merge branch 'eb/sc-157086/component-configurer' into eb/sc-157087/co…
eli-darkly Jul 28, 2022
6016bd6
Merge branch '6.0' into 6.0-logging
eli-darkly Jul 28, 2022
91cdbf5
Merge branch 'eb/sc-138971/logging' into 6.0-logging
eli-darkly Jul 28, 2022
3a4d018
use java-logging 1.1.0 release
eli-darkly Jul 28, 2022
d5c7fdc
make sure META-INF files are never mistaken for classes and relocated
eli-darkly Jul 28, 2022
d99a841
Merge pull request #361 from launchdarkly/eb/sc-161764/okhttp-version
eli-darkly Jul 28, 2022
b3b2703
Merge branch 'main' into eb/sc-138971/logging
eli-darkly Jul 28, 2022
e4dc34d
merge from public after release
Jul 28, 2022
af39f39
Merge pull request #318 from launchdarkly/eb/sc-138971/logging
eli-darkly Jul 28, 2022
6a20188
Merge pull request #358 from launchdarkly/eb/sc-156598/testdata-metho…
eli-darkly Jul 28, 2022
5ad2095
update shared data store test logic to pass ClientContext with logger
eli-darkly Jul 28, 2022
ed818bc
Merge pull request #362 from launchdarkly/eb/sc-138971/store-tests-lo…
eli-darkly Jul 28, 2022
3a54988
enable external javadoc links for com.launchdarkly.logging types
eli-darkly Jul 28, 2022
bb26529
use variable for dependency version
eli-darkly Jul 28, 2022
7757812
Merge pull request #363 from launchdarkly/eb/sc-138971/logging-javado…
eli-darkly Jul 28, 2022
6f946da
merge from public after release
Jul 29, 2022
7413443
Merge branch 'main' into 6.0-logging
eli-darkly Jul 29, 2022
ff3809a
Merge branch '6.0' into eb/sc-157086/component-configurer
eli-darkly Jul 29, 2022
5349366
Merge branch 'eb/sc-157086/component-configurer' into eb/sc-157087/co…
eli-darkly Jul 29, 2022
806646d
Merge branch '6.0' into eb/sc-156594/u2c-1-model
eli-darkly Jul 29, 2022
f628b66
Merge branch 'eb/sc-156594/u2c-1-model' into eb/sc-156594/u2c-2-eval-…
eli-darkly Jul 29, 2022
10ce6d8
Merge branch 'eb/sc-156594/u2c-2-eval-targets' into eb/sc-156594/u2c-…
eli-darkly Jul 29, 2022
fca2b0f
Merge branch 'eb/sc-156594/u2c-3-eval-clauses' into eb/sc-156594/u2c-…
eli-darkly Jul 29, 2022
a267691
Merge branch 'eb/sc-156594/u2c-4-eval-rollouts' into eb/sc-156594/u2c…
eli-darkly Jul 29, 2022
3bb8955
Merge branch 'eb/sc-156594/u2c-5-eval-segments' into eb/sc-156594/u2c…
eli-darkly Jul 29, 2022
afb9617
Merge branch 'eb/sc-156594/u2c-6-segment-recursion' into eb/sc-156593…
eli-darkly Jul 29, 2022
076bbdc
Merge branch 'eb/sc-156593/u2c-7-events-context' into eb/sc-156593/u2…
eli-darkly Jul 29, 2022
e809f0c
Merge branch 'eb/sc-156593/u2c-8-events-all' into eb/sc-159596/u2c-9-…
eli-darkly Jul 29, 2022
3f96aef
Merge branch 'eb/sc-159596/u2c-9-client-api' into eb/sc-156598/u2c-10…
eli-darkly Jul 29, 2022
688100e
Merge branch 'eb/sc-156598/u2c-10-test-data' into eb/sc-156592/event-…
eli-darkly Jul 29, 2022
d950e38
Merge branch 'eb/sc-156592/event-refactor-1' into eb/sc-156592/event-…
eli-darkly Jul 29, 2022
421c8c8
Merge branch 'eb/sc-156592/event-refactor-2-diag' into eb/sc-156592/e…
eli-darkly Jul 29, 2022
758a1c3
Merge branch 'eb/sc-156592/event-refactor-3-processor' into eb/sc-156…
eli-darkly Jul 29, 2022
535475f
Merge branch 'eb/sc-156592/event-refactor-4-http' into eb/sc-156592/e…
eli-darkly Jul 29, 2022
876d619
Merge branch 'eb/sc-156592/event-refactor-5-java7' into eb/sc-156592/…
eli-darkly Jul 29, 2022
8a0cb72
remove another Guava usage
eli-darkly Jul 29, 2022
f1f266a
make events test code independent of server-side data model
eli-darkly Jul 29, 2022
25ea2e6
Merge branch 'eb/sc-156592/event-refactor-6-isolate' into eb/sc-15659…
eli-darkly Jul 29, 2022
fa29cf2
fix flaky big segment status polling tests
eli-darkly Jul 29, 2022
6c29106
Merge pull request #366 from launchdarkly/eb/sc-162343/flaky-test
eli-darkly Jul 30, 2022
ffd969a
Merge branch 'main' into 6.0
eli-darkly Jul 30, 2022
c109e40
Merge branch '6.0' into eb/sc-156594/u2c-1-model
eli-darkly Jul 30, 2022
83ea3ea
Merge branch 'eb/sc-156594/u2c-1-model' into eb/sc-156594/u2c-2-eval-…
eli-darkly Jul 30, 2022
14dc6ae
Merge branch 'eb/sc-156594/u2c-2-eval-targets' into eb/sc-156594/u2c-…
eli-darkly Jul 30, 2022
d622d6e
Merge branch 'eb/sc-156594/u2c-3-eval-clauses' into eb/sc-156594/u2c-…
eli-darkly Jul 30, 2022
a7323d8
Merge branch 'eb/sc-156594/u2c-4-eval-rollouts' into eb/sc-156594/u2c…
eli-darkly Jul 30, 2022
7fdb22a
Merge branch 'eb/sc-156594/u2c-5-eval-segments' into eb/sc-156594/u2c…
eli-darkly Jul 30, 2022
aa2c52f
Merge branch 'eb/sc-156594/u2c-6-segment-recursion' into eb/sc-156593…
eli-darkly Jul 30, 2022
9bd756d
Merge branch 'eb/sc-156593/u2c-7-events-context' into eb/sc-156593/u2…
eli-darkly Jul 30, 2022
1420893
Merge branch 'eb/sc-156593/u2c-8-events-all' into eb/sc-159596/u2c-9-…
eli-darkly Jul 30, 2022
2a54090
Merge branch 'eb/sc-159596/u2c-9-client-api' into eb/sc-156598/u2c-10…
eli-darkly Jul 30, 2022
ca38572
Merge branch 'eb/sc-156598/u2c-10-test-data' into eb/sc-156592/event-…
eli-darkly Jul 30, 2022
3683ed2
Merge branch 'eb/sc-156592/event-refactor-1' into eb/sc-156592/event-…
eli-darkly Jul 30, 2022
5d50437
Merge branch 'eb/sc-156592/event-refactor-2-diag' into eb/sc-156592/e…
eli-darkly Jul 30, 2022
c34ee3d
fix benchmark code
eli-darkly Jul 30, 2022
e1ab1c0
Merge branch 'eb/sc-156592/event-refactor-3-processor' into eb/sc-156…
eli-darkly Jul 30, 2022
83dff69
Merge branch 'eb/sc-156592/event-refactor-4-http' into eb/sc-156592/e…
eli-darkly Jul 30, 2022
7d480f2
Merge branch 'eb/sc-156592/event-refactor-5-java7' into eb/sc-156592/…
eli-darkly Jul 30, 2022
8c9908a
Merge branch 'eb/sc-156592/event-refactor-6-isolate' into eb/sc-15659…
eli-darkly Jul 30, 2022
8a8c240
update benchmarks
eli-darkly Jul 30, 2022
ee9593d
javadoc formatting
eli-darkly Jul 30, 2022
fbeb610
javadocs
eli-darkly Jul 30, 2022
09638bd
undo accidental reversion
eli-darkly Aug 2, 2022
c2e6028
remove some more stray references to java-server-sdk test helper code
eli-darkly Aug 2, 2022
75447c8
Merge branch 'eb/sc-156592/event-refactor-6-isolate' into eb/sc-15659…
eli-darkly Aug 2, 2022
2223aef
Merge pull request #359 from launchdarkly/eb/sc-157086/component-conf…
eli-darkly Aug 2, 2022
a65e29c
Merge pull request #360 from launchdarkly/eb/sc-157087/concrete-configs
eli-darkly Aug 2, 2022
dcfbcf0
more efficient equals() and hashCode() for Operator
eli-darkly Aug 3, 2022
fcc62e6
Merge pull request #340 from launchdarkly/eb/sc-156594/u2c-1-model
eli-darkly Aug 3, 2022
c04ad85
Merge pull request #341 from launchdarkly/eb/sc-156594/u2c-2-eval-tar…
eli-darkly Aug 3, 2022
17ce43b
Merge pull request #342 from launchdarkly/eb/sc-156594/u2c-3-eval-cla…
eli-darkly Aug 3, 2022
2896497
Merge pull request #343 from launchdarkly/eb/sc-156594/u2c-4-eval-rol…
eli-darkly Aug 4, 2022
b0dfafb
method can be static
eli-darkly Aug 4, 2022
7c774d3
Merge pull request #344 from launchdarkly/eb/sc-156594/u2c-5-eval-seg…
eli-darkly Aug 4, 2022
96e53ae
Merge branch '6.0' into eb/sc-156594/u2c-6-segment-recursion
eli-darkly Aug 4, 2022
e2234c5
Merge branch 'eb/sc-156594/u2c-6-segment-recursion' into eb/sc-156593…
eli-darkly Aug 4, 2022
b2a15ef
Merge branch 'eb/sc-156593/u2c-7-events-context' into eb/sc-156593/u2…
eli-darkly Aug 4, 2022
710ce60
Merge branch 'eb/sc-156593/u2c-8-events-all' into eb/sc-159596/u2c-9-…
eli-darkly Aug 4, 2022
14cf966
Merge branch 'eb/sc-159596/u2c-9-client-api' into eb/sc-156598/u2c-10…
eli-darkly Aug 4, 2022
f618309
Merge branch 'eb/sc-156598/u2c-10-test-data' into eb/sc-156592/event-…
eli-darkly Aug 4, 2022
67e4877
Merge branch 'eb/sc-156592/event-refactor-1' into eb/sc-156592/event-…
eli-darkly Aug 4, 2022
6e38390
Merge branch 'eb/sc-156592/event-refactor-2-diag' into eb/sc-156592/e…
eli-darkly Aug 4, 2022
5ee69e0
Merge branch 'eb/sc-156592/event-refactor-3-processor' into eb/sc-156…
eli-darkly Aug 4, 2022
1def6f4
Merge branch 'eb/sc-156592/event-refactor-4-http' into eb/sc-156592/e…
eli-darkly Aug 4, 2022
61eaccb
Merge branch 'eb/sc-156592/event-refactor-5-java7' into eb/sc-156592/…
eli-darkly Aug 4, 2022
6717251
Merge branch 'eb/sc-156592/event-refactor-6-isolate' into eb/sc-15659…
eli-darkly Aug 4, 2022
7219363
Merge pull request #345 from launchdarkly/eb/sc-156594/u2c-6-segment-…
eli-darkly Aug 5, 2022
803f401
Merge pull request #348 from launchdarkly/eb/sc-156593/u2c-7-events-c…
eli-darkly Aug 5, 2022
c2afeb5
clarify comment
eli-darkly Aug 5, 2022
93f400b
typo
eli-darkly Aug 5, 2022
bf67a39
Merge pull request #349 from launchdarkly/eb/sc-156593/u2c-8-events-all
eli-darkly Aug 18, 2022
d84b5ad
Merge pull request #350 from launchdarkly/eb/sc-159596/u2c-9-client-api
eli-darkly Aug 18, 2022
e383fca
Merge pull request #351 from launchdarkly/eb/sc-156598/u2c-10-test-data
eli-darkly Aug 18, 2022
878bea2
Merge pull request #353 from launchdarkly/eb/sc-156592/event-refactor-1
eli-darkly Aug 23, 2022
0212341
Merge branch 'eb/sc-156598/u2c-10-test-data' into 6.0
eli-darkly Aug 25, 2022
14e361a
remove event logic, migrate to using java-sdk-internal
eli-darkly Aug 25, 2022
433b43a
adjust for API change
eli-darkly Aug 25, 2022
ac34290
use constant
eli-darkly Aug 25, 2022
56d019d
fix packaging tests
eli-darkly Aug 25, 2022
e16ba1d
remove inapplicable benchmarks
eli-darkly Aug 25, 2022
eb505a4
Merge pull request #368 from launchdarkly/eb/sc-156592/event-refactor…
eli-darkly Aug 26, 2022
34a1698
Merge pull request #355 from launchdarkly/eb/sc-156592/event-refactor…
eli-darkly Aug 26, 2022
7b38aa4
Merge pull request #356 from launchdarkly/eb/sc-156592/event-refactor…
eli-darkly Aug 26, 2022
a9c6dd9
Merge pull request #357 from launchdarkly/eb/sc-156592/event-refactor…
eli-darkly Aug 26, 2022
3d089c0
add error message if makefile can't run
eli-darkly Aug 26, 2022
2ce2201
Merge pull request #364 from launchdarkly/eb/sc-156592/event-refactor…
eli-darkly Aug 29, 2022
8260813
Merge pull request #367 from launchdarkly/eb/sc-156592/event-refactor…
eli-darkly Aug 29, 2022
1615580
Merge pull request #369 from launchdarkly/eb/sc-156592/use-sdk-internal
eli-darkly Aug 29, 2022
efdf67c
force result to be "not in experiment" if bucketing calculation faile…
eli-darkly Aug 30, 2022
e8dbc16
use newer HTTP/TCP test helpers
eli-darkly Aug 30, 2022
7ad115b
Update Windows orb, fix Windows JDK install in CI (#372)
aengelberg Aug 30, 2022
f7ad37b
update snakeyaml for CVE-CVE-2022-25857
eli-darkly Sep 2, 2022
658cdc3
latest snakeyaml is 1.31
eli-darkly Sep 2, 2022
c2c6063
Merge pull request #373 from launchdarkly/eb/sc-167615/snakeyaml-update
eli-darkly Sep 2, 2022
2d4eec8
Merge branch 'main' of github.com:launchdarkly/java-server-sdk
eli-darkly Sep 2, 2022
8da0ef2
merge from public after release
Sep 2, 2022
0f86f7b
Merge pull request #370 from launchdarkly/eb/sc-166632/no-experiment-…
eli-darkly Sep 7, 2022
90d70d2
Merge pull request #371 from launchdarkly/eb/sc-166399/update-test-he…
eli-darkly Sep 7, 2022
decdb31
bump snakeyaml version for CVE-2022-38752
eli-darkly Sep 12, 2022
a612d96
Merge pull request #374 from launchdarkly/eb/sc-168802/snakeyaml-patch
eli-darkly Sep 12, 2022
d937330
merge from public after release
Sep 13, 2022
cd4a9bd
disable Windows Java 11 build
eli-darkly Oct 3, 2022
6eac0c0
Merge pull request #375 from launchdarkly/eb/sc-171428/no-windows-jav…
eli-darkly Oct 4, 2022
b7dd8a6
Merge branch 'main' into 6.0
eli-darkly Oct 4, 2022
c29476b
minor test updates for java-sdk-internal API changes
eli-darkly Oct 7, 2022
f382bac
Merge pull request #376 from launchdarkly/eb/sc-171019/json-diag-event
eli-darkly Oct 10, 2022
85b9720
fix packaging of com.launchdarkly.logging classes
eli-darkly Oct 14, 2022
52ba6b3
rm debugging
eli-darkly Oct 14, 2022
f4cc631
reconsidered - let's include the logging classes in the jars
eli-darkly Oct 14, 2022
78d1540
fix packaging test logic
eli-darkly Oct 14, 2022
b787f60
correct documentation
eli-darkly Oct 20, 2022
8eaf967
Merge pull request #377 from launchdarkly/eb/sc-173058/packaging
eli-darkly Oct 21, 2022
d5ffd47
merge from public after release
Oct 21, 2022
900482e
Merge branch 'main' into 6.0
eli-darkly Oct 21, 2022
3197c49
remove secondary meta-attribute
eli-darkly Oct 21, 2022
b3a34a2
rm obsolete references to UserAttribute
eli-darkly Oct 21, 2022
287b8fe
Merge pull request #378 from launchdarkly/eb/sc-156589/no-secondary
eli-darkly Oct 21, 2022
296f85d
support passing LDUser instead of LDContext in all SDK methods (#379)
eli-darkly Nov 22, 2022
75887a7
Merge branch 'main' of github.com:launchdarkly/java-server-sdk
eli-darkly Dec 1, 2022
224a519
Merge branch '6.0'
eli-darkly Dec 1, 2022
823bf59
update java-sdk-common dependency
eli-darkly Dec 1, 2022
05d8b33
use okhttp-eventsource 3.0.0-SNAPSHOT
eli-darkly Dec 2, 2022
3c69684
use non-snapshot okhttp-eventsource
eli-darkly Dec 2, 2022
eaa4b8c
include nested segment references in dependency update checks
eli-darkly Dec 5, 2022
9d248f2
use java-sdk-internal 1.0.0
eli-darkly Dec 5, 2022
7144179
Merge branch 'main' into eb/sc-162314/update-eventsource
eli-darkly Dec 5, 2022
f5a117f
Merge pull request #380 from launchdarkly/eb/sc-162314/update-eventso…
eli-darkly Dec 6, 2022
18cadfb
Merge pull request #382 from launchdarkly/eb/sc-156595/nested-segment…
eli-darkly Dec 6, 2022
1038c8e
remove SLF4J dependency, remove "all" jar, simplify build (#381)
eli-darkly Dec 6, 2022
6c8c03f
don't generate evaluation events for invalid context
eli-darkly Dec 6, 2022
a76d4c4
Merge pull request #383 from launchdarkly/eb/sc-156594/no-eval-event-…
eli-darkly Dec 6, 2022
61e8088
Merge branch 'main' of github.com:launchdarkly/java-server-sdk
eli-darkly Dec 7, 2022
ca31d39
use synchronous EventSource
eli-darkly Dec 17, 2022
50889d2
comments
eli-darkly Dec 17, 2022
a44644a
revise implementation of special HTTP configurations test
eli-darkly Dec 19, 2022
55cecdf
make sure we set readTimeout last
eli-darkly Dec 19, 2022
8686704
use okhttp-eventsource 4.0.0
eli-darkly Dec 20, 2022
1be7630
Merge pull request #384 from launchdarkly/eb/sc-180984/sync-eventsource
eli-darkly Dec 20, 2022
6071318
merge from public after release
Dec 20, 2022
5852110
use newer HTTP test helpers (#385)
eli-darkly Dec 20, 2022
acf7e58
use synchronous EventSource (5.x backport)
eli-darkly Dec 20, 2022
4640f10
Merge pull request #386 from launchdarkly/eb/sc-180984/sync-eventsour…
eli-darkly Dec 20, 2022
5769012
merge from public after release
Dec 21, 2022
ed2d9c5
Merge branch 'main' of github.com:launchdarkly/java-server-sdk
eli-darkly Dec 21, 2022
6ab43d2
update Gradle to 7.6 + fix snapshot releases
eli-darkly Dec 31, 2022
fd3d257
Merge pull request #387 from launchdarkly/eb/sc-107787/gradle-update
eli-darkly Jan 3, 2023
ed0d0c5
fix #288 (#289)
antonmos Jan 4, 2023
b44afc0
Merge branch 'contrib' of github.com:launchdarkly/java-server-sdk
eli-darkly Jan 4, 2023
7f979f4
add unit test for externally-contributed YAML security fix
eli-darkly Jan 4, 2023
288159d
backport YAML CVE fix from 6.x
eli-darkly Jan 4, 2023
422ef21
Merge pull request #388 from launchdarkly/eb/sc-182242/yaml-cve-test
eli-darkly Jan 4, 2023
8e124ed
Merge pull request #389 from launchdarkly/eb/sc-182242/yaml-cve-5.x
eli-darkly Jan 4, 2023
a45cf00
Merge branch '5.x'
eli-darkly Jan 4, 2023
1d48c9c
prepare 5.10.5 release (#290)
LaunchDarklyReleaseBot Jan 4, 2023
fa22907
Releasing version 5.10.5
Jan 4, 2023
734ba2e
merge from public after release
Jan 4, 2023
5d5d62e
Merge branch '5.x'
eli-darkly Jan 4, 2023
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
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,17 @@ workflows:
requires:
- build-linux
- test-linux:
# current LTS version
name: Java 17 - Linux - OpenJDK
docker-image: cimg/openjdk:17.0
with-coverage: true
requires:
- build-linux
- test-linux:
name: Java 19 - Linux - OpenJDK
docker-image: cimg/openjdk:19.0
requires:
- build-linux
- packaging:
requires:
- build-linux
Expand Down
2 changes: 1 addition & 1 deletion .ldrelease/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ publications:

jobs:
- docker:
image: gradle:6.8.3-jdk11
image: gradle:7.6-jdk11
template:
name: gradle

Expand Down
7 changes: 6 additions & 1 deletion .ldrelease/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@ set -ue

# Publish to Sonatype
echo "Publishing to Sonatype"
./gradlew publishToSonatype closeAndReleaseRepository || { echo "Gradle publish/release failed" >&2; exit 1; }
if [[ -n "${LD_RELEASE_IS_PRERELEASE}" ]]; then
./gradlew publishToSonatype || { echo "Gradle publish/release failed" >&2; exit 1; }
else
./gradlew publishToSonatype closeAndReleaseRepository || { echo "Gradle publish/release failed" >&2; exit 1; }
fi

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the LaunchDarkly Java SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).

## [5.10.5] - 2023-01-04
### Fixed:
- Fixed vulnerability [CVE-2022-1471](https://nvd.nist.gov/vuln/detail/CVE-2022-1471) which could allow arbitrary code execution if using `FileDataSource` with a YAML file. (Thanks, [antonmos](https://github.com/launchdarkly/java-server-sdk/pull/289)!)

## [6.0.1] - 2022-12-20
### Changed:
- The internal implementation of the SSE client for streaming updates has been revised to use a single worker thread instead of two worker threads, reducing thread contention and memory usage.
Expand Down
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ libraries.test = [
"junit:junit:4.12",
"com.fasterxml.jackson.core:jackson-core:${versions.jackson}",
"com.fasterxml.jackson.core:jackson-databind:${versions.jackson}",
"com.launchdarkly:test-helpers:1.3.0"
"com.launchdarkly:test-helpers:2.0.1"
]

configurations {
Expand All @@ -173,6 +173,7 @@ dependencies {
}

checkstyle {
toolVersion = "9.3"
configFile file("${project.rootDir}/config/checkstyle/checkstyle.xml")
}

Expand Down
2 changes: 1 addition & 1 deletion config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<module name="JavadocPackage"/>
<module name="TreeWalker">
<module name="JavadocMethod">
<property name="scope" value="public"/>
<property name="accessModifiers" value="public"/>
</module>
<module name="JavadocType">
<property name="scope" value="public"/>
Expand Down
2 changes: 1 addition & 1 deletion contract-tests/service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ext.versions = [
"gson": "2.7",
"logback": "1.1.3",
"okhttp": "4.5.0",
"testHelpers": "1.1.0",
"testHelpers": "2.0.1",
"launchdarklyJavaSdkCommon": project(":sdk").versions["launchdarklyJavaSdkCommon"]
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public BadRequestException(String message) {
}
}

public static void main(String[] args) {
public static void main(String[] args) throws Exception {
// ((ch.qos.logback.classic.Logger)LoggerFactory.getLogger(org.slf4j.Logger.ROOT_LOGGER_NAME)).setLevel(
// Level.valueOf(config.logLevel.toUpperCase()));

Expand All @@ -75,6 +75,11 @@ public static void main(String[] args) {
server.getRecorder().setEnabled(false); // don't accumulate a request log

System.out.println("Listening on port " + PORT);

// need to explicitly sleep because HttpServer now starts as a daemon thread
while (true) {
Thread.sleep(1000);
}
}

private Status getStatus() {
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading