Skip to content

Commit 9291ce2

Browse files
Merge pull request #7 from splitio/update-dependencies
Update dependencies
2 parents a66a17e + 29032f6 commit 9291ce2

File tree

5 files changed

+44
-34
lines changed

5 files changed

+44
-34
lines changed

CHANGES.txt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
1.0.0
2-
- First release. Up to date with java sdk v0.1.0
1+
1.2.0 (August XX, 2025)
2+
- Updated `io.split.client` dependency to 4.16.1
3+
- Updated `dev.openfeature` dependency to 1.16.0
4+
35
1.1.0
4-
- Up tp date with spec v0.5.0 and java sdk v0.3.1
6+
- Up tp date with spec v0.5.0 and java sdk v0.3.1
7+
8+
1.0.0
9+
- First release. Up to date with java sdk v0.1.0
10+

README.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,17 +85,25 @@ To learn more about Split, contact hello@split.io, or get started with feature f
8585

8686
Split has built and maintains SDKs for:
8787

88-
* Java [Github](https://github.com/splitio/java-client) [Docs](https://help.split.io/hc/en-us/articles/360020405151-Java-SDK)
89-
* Javascript [Github](https://github.com/splitio/javascript-client) [Docs](https://help.split.io/hc/en-us/articles/360020448791-JavaScript-SDK)
90-
* Node [Github](https://github.com/splitio/javascript-client) [Docs](https://help.split.io/hc/en-us/articles/360020564931-Node-js-SDK)
9188
* .NET [Github](https://github.com/splitio/dotnet-client) [Docs](https://help.split.io/hc/en-us/articles/360020240172--NET-SDK)
92-
* Ruby [Github](https://github.com/splitio/ruby-client) [Docs](https://help.split.io/hc/en-us/articles/360020673251-Ruby-SDK)
93-
* PHP [Github](https://github.com/splitio/php-client) [Docs](https://help.split.io/hc/en-us/articles/360020350372-PHP-SDK)
94-
* Python [Github](https://github.com/splitio/python-client) [Docs](https://help.split.io/hc/en-us/articles/360020359652-Python-SDK)
95-
* GO [Github](https://github.com/splitio/go-client) [Docs](https://help.split.io/hc/en-us/articles/360020093652-Go-SDK)
9689
* Android [Github](https://github.com/splitio/android-client) [Docs](https://help.split.io/hc/en-us/articles/360020343291-Android-SDK)
90+
* Angular [Github](https://github.com/splitio/angular-sdk-plugin) [Docs](https://help.split.io/hc/en-us/articles/6495326064397-Angular-utilities)
91+
* Elixir thin-client [Github](https://github.com/splitio/elixir-thin-client) [Docs](https://help.split.io/hc/en-us/articles/26988707417869-Elixir-Thin-Client-SDK)
92+
* Flutter [Github](https://github.com/splitio/flutter-sdk-plugin) [Docs](https://help.split.io/hc/en-us/articles/8096158017165-Flutter-plugin)
93+
* GO [Github](https://github.com/splitio/go-client) [Docs](https://help.split.io/hc/en-us/articles/360020093652-Go-SDK)
9794
* iOS [Github](https://github.com/splitio/ios-client) [Docs](https://help.split.io/hc/en-us/articles/360020401491-iOS-SDK)
98-
95+
* Java [Github](https://github.com/splitio/java-client) [Docs](https://help.split.io/hc/en-us/articles/360020405151-Java-SDK)
96+
* JavaScript [Github](https://github.com/splitio/javascript-client) [Docs](https://help.split.io/hc/en-us/articles/360020448791-JavaScript-SDK)
97+
* JavaScript for Browser [Github](https://github.com/splitio/javascript-browser-client) [Docs](https://help.split.io/hc/en-us/articles/360058730852-Browser-SDK)
98+
* Node.js [Github](https://github.com/splitio/javascript-client) [Docs](https://help.split.io/hc/en-us/articles/360020564931-Node-js-SDK)
99+
* PHP [Github](https://github.com/splitio/php-client) [Docs](https://help.split.io/hc/en-us/articles/360020350372-PHP-SDK)
100+
* PHP thin-client [Github](https://github.com/splitio/php-thin-client) [Docs](https://help.split.io/hc/en-us/articles/18305128673933-PHP-Thin-Client-SDK)
101+
* Python [Github](https://github.com/splitio/python-client) [Docs](https://help.split.io/hc/en-us/articles/360020359652-Python-SDK)
102+
* React [Github](https://github.com/splitio/react-client) [Docs](https://help.split.io/hc/en-us/articles/360038825091-React-SDK)
103+
* React Native [Github](https://github.com/splitio/react-native-client) [Docs](https://help.split.io/hc/en-us/articles/4406066357901-React-Native-SDK)
104+
* Redux [Github](https://github.com/splitio/redux-client) [Docs](https://help.split.io/hc/en-us/articles/360038851551-Redux-SDK)
105+
* Ruby [Github](https://github.com/splitio/ruby-client) [Docs](https://help.split.io/hc/en-us/articles/360020673251-Ruby-SDK)
106+
99107
For a comprehensive list of open source projects visit our [Github page](https://github.com/splitio?utf8=%E2%9C%93&query=%20only%3Apublic%20).
100108

101109
**Learn more about Split:**

pom.xml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.split.openfeature</groupId>
88
<artifactId>split-openfeature-provider</artifactId>
9-
<version>1.1.0</version>
9+
<version>1.2.0</version>
1010

1111
<name>split-openfeature-provider-java</name>
1212
<description>Split OpenFeature Java Provider</description>
@@ -23,6 +23,10 @@
2323
<name>Robert Grassian</name>
2424
<email>robert.grassian@split.io</email>
2525
</developer>
26+
<developer>
27+
<name>Emmanuel Zamora</name>
28+
<email>emmanuel.zamora@harness.io</email>
29+
</developer>
2630
</developers>
2731

2832
<licenses>
@@ -34,32 +38,27 @@
3438

3539
<properties>
3640
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37-
<maven.compiler.source>1.7</maven.compiler.source>
38-
<maven.compiler.target>1.7</maven.compiler.target>
41+
<maven.compiler.release>11</maven.compiler.release>
42+
<junit.jupiter.version>5.10.2</junit.jupiter.version>
43+
<maven.surefire.version>3.2.5</maven.surefire.version>
3944
</properties>
4045

4146
<dependencies>
4247
<dependency>
4348
<groupId>org.junit.jupiter</groupId>
44-
<artifactId>junit-jupiter-engine</artifactId>
45-
<version>5.4.0</version>
46-
<scope>test</scope>
47-
</dependency>
48-
<dependency>
49-
<groupId>org.junit.vintage</groupId>
50-
<artifactId>junit-vintage-engine</artifactId>
51-
<version>5.4.0</version>
49+
<artifactId>junit-jupiter</artifactId>
50+
<version>${junit.jupiter.version}</version>
5251
<scope>test</scope>
5352
</dependency>
5453
<dependency>
5554
<groupId>io.split.client</groupId>
5655
<artifactId>java-client</artifactId>
57-
<version>4.4.3</version>
56+
<version>4.16.1</version>
5857
</dependency>
5958
<dependency>
6059
<groupId>org.apache.httpcomponents</groupId>
6160
<artifactId>httpclient</artifactId>
62-
<version>4.5.13</version>
61+
<version>4.5.14</version>
6362
</dependency>
6463
<dependency>
6564
<groupId>io.split.integrations.azure</groupId>
@@ -75,7 +74,7 @@
7574
<dependency>
7675
<groupId>dev.openfeature</groupId>
7776
<artifactId>sdk</artifactId>
78-
<version>0.3.1</version>
77+
<version>1.16.0</version>
7978
</dependency>
8079
</dependencies>
8180

@@ -143,15 +142,15 @@
143142
</goals>
144143
<configuration>
145144
<additionalJOptions>-Xdoclint:none</additionalJOptions>
146-
<source>1.8</source>
145+
<source>11</source>
147146
</configuration>
148147
</execution>
149148
</executions>
150149
</plugin>
151150
<plugin>
152151
<groupId>org.sonatype.plugins</groupId>
153152
<artifactId>nexus-staging-maven-plugin</artifactId>
154-
<version>1.6.3</version>
153+
<version>1.6.13</version>
155154
<extensions>true</extensions>
156155
<configuration>
157156
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>

src/test/java/io/split/openfeature/ClientTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ public void init() {
4242
System.out.println("Unexpected Exception occurred initializing Split Provider.");
4343
}
4444
client = openFeatureAPI.getClient("Split Client");
45-
EvaluationContext evaluationContext = new MutableContext();
4645
String targetingKey = "key";
47-
evaluationContext.setTargetingKey(targetingKey);
46+
EvaluationContext evaluationContext = new MutableContext(targetingKey);
4847
client.setEvaluationContext(evaluationContext);
4948
}
5049

@@ -106,8 +105,7 @@ public void getBooleanSplitWithKeyTest() {
106105

107106
// if we override the evaluation context for this check to use a different key,
108107
// this should take priority, and therefore we should receive a treatment of off
109-
EvaluationContext evaluationContext = new MutableContext();
110-
evaluationContext.setTargetingKey("randomKey");
108+
EvaluationContext evaluationContext = new MutableContext("randomKey");
111109
result = client.getBooleanValue("my_feature", true, evaluationContext);
112110
assertFalse(result);
113111
}

src/test/java/io/split/openfeature/SplitProviderTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,11 @@ public class SplitProviderTest {
3535
private SplitClient mockSplitClient;
3636

3737
@BeforeEach
38-
private void init() {
38+
public void init() {
3939
MockitoAnnotations.openMocks(this);
4040

4141
key = "key";
42-
evaluationContext = new MutableContext();
43-
evaluationContext.setTargetingKey(key);
42+
evaluationContext = new MutableContext(key);
4443
}
4544

4645
@Test

0 commit comments

Comments
 (0)