diff --git a/CHANGES.txt b/CHANGES.txt index 111501d..1408609 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,4 @@ -1.2.0 (September 2, 2025) +1.2.0 (September 3, 2025) - Updated `io.split.client` dependency to 4.16.1 - Updated `dev.openfeature` dependency to 1.17.0 - Added tracking support diff --git a/README.md b/README.md index 0cc3be0..36f6021 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ import dev.openfeature.sdk.OpenFeatureAPI; import io.split.openfeature.SplitProvider; OpenFeatureAPI api = OpenFeatureAPI.getInstance(); -api.setProvider(new SplitProvider("YOUR_API_KEY")); +api.setProviderAndWait(new SplitProvider("YOUR_API_KEY")); ``` If you are more familiar with Split or want access to other initialization options, you can provide a `SplitClient` to the constructor. See the [Split Java SDK Documentation](https://help.split.io/hc/en-us/articles/360020405151-Java-SDK) for more information. @@ -42,7 +42,7 @@ SplitClientConfig config = SplitClientConfig.builder() .setBlockUntilReadyTimeout(10000) .build(); SplitClient splitClient = SplitFactoryBuilder.build("YOUR_API_KEY", config).client(); -api.setProvider(new SplitProvider(splitClient)); +api.setProviderAndWait(new SplitProvider(splitClient)); ``` ## Use of OpenFeature with Split diff --git a/pom.xml b/pom.xml index 4fe5b96..9ab1b77 100644 --- a/pom.xml +++ b/pom.xml @@ -148,15 +148,6 @@ - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.7.0 - true - - true - - org.apache.maven.plugins maven-source-plugin @@ -184,6 +175,17 @@ + + org.sonatype.central + central-publishing-maven-plugin + 0.7.0 + true + + central + false + published + +