Skip to content

Commit 10f9b8c

Browse files
Update OpenFeature SDK dependency lower bound from 1.13.0 to 1.16.0
Fixes #40 The dependency range [1.13.0,2.0.0) has two issues: 1. Compilation failure: SDK versions [1.13.0,1.14.1) lack TrackingEventDetails.getValue() (no-arg), causing Provider.java to fail to compile. 2. Binary incompatibility: SDK versions below 1.16.0 define EventProvider.emit*() methods with void return type, but 1.16.0+ changed them to return Awaitable. Code compiled against <1.16.0 throws NoSuchMethodError at runtime with SDK 1.16.0+. Raising the lower bound to 1.16.0 fixes both issues. Co-Authored-By: rlamb@launchdarkly.com <kingdewman@gmail.com>
1 parent 7a5b072 commit 10f9b8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ nexusPublishing {
107107
dependencies {
108108
implementation group: 'com.launchdarkly', name: 'launchdarkly-java-server-sdk', version: '[7.1.0, 8.0.0)'
109109

110-
implementation 'dev.openfeature:sdk:[1.13.0,2.0.0)'
110+
implementation 'dev.openfeature:sdk:[1.16.0,2.0.0)'
111111

112112
// Use JUnit test framework
113113
testImplementation(platform('org.junit:junit-bom:5.10.0'))

0 commit comments

Comments
 (0)