From 483a20358f3fed002449be0f37ef930b1533c455 Mon Sep 17 00:00:00 2001 From: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com> Date: Thu, 2 Apr 2026 10:28:32 -0400 Subject: [PATCH 1/2] chore(main): release dev.openfeature.contrib.tools.flagdapi 1.0.0 Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com> --- .release-please-manifest.json | 2 +- tools/flagd-api/CHANGELOG.md | 7 +++++++ tools/flagd-api/README.md | 2 +- tools/flagd-api/pom.xml | 2 +- tools/flagd-api/version.txt | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 2e100501c..e8908f058 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -13,7 +13,7 @@ "providers/ofrep": "0.0.1", "tools/junit-openfeature": "0.2.1", "tools/flagd-http-connector": "0.0.4", - "tools/flagd-api": "0.1.0", + "tools/flagd-api": "1.0.0", "tools/flagd-api-testkit": "0.2.1", "tools/flagd-core": "0.2.0", ".": "1.0.0" diff --git a/tools/flagd-api/CHANGELOG.md b/tools/flagd-api/CHANGELOG.md index 1395f1c32..49adb7ac1 100644 --- a/tools/flagd-api/CHANGELOG.md +++ b/tools/flagd-api/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.0.0](https://github.com/open-feature/java-sdk-contrib/compare/dev.openfeature.contrib.tools.flagdapi-v0.1.0...dev.openfeature.contrib.tools.flagdapi-v1.0.0) (2026-04-02) + + +### ✨ New Features + +* 1.0 flagd core transitive deps ([#1755](https://github.com/open-feature/java-sdk-contrib/issues/1755)) ([fec3753](https://github.com/open-feature/java-sdk-contrib/commit/fec3753c34785c4dc911441def6686ff666bcc08)) + ## [0.1.0](https://github.com/open-feature/java-sdk-contrib/compare/dev.openfeature.contrib.tools.flagdapi-v0.0.2...dev.openfeature.contrib.tools.flagdapi-v0.1.0) (2026-03-11) diff --git a/tools/flagd-api/README.md b/tools/flagd-api/README.md index df21f2d68..b1e361c15 100644 --- a/tools/flagd-api/README.md +++ b/tools/flagd-api/README.md @@ -16,7 +16,7 @@ The `flagd-api` module defines the core interfaces that can be implemented by di dev.openfeature.contrib.tools flagd-api - 0.1.0 + 1.0.0 ``` diff --git a/tools/flagd-api/pom.xml b/tools/flagd-api/pom.xml index 3171a7208..64f594457 100644 --- a/tools/flagd-api/pom.xml +++ b/tools/flagd-api/pom.xml @@ -10,7 +10,7 @@ dev.openfeature.contrib.tools flagd-api - 0.1.0 + 1.0.0 ${groupId}.flagdapi diff --git a/tools/flagd-api/version.txt b/tools/flagd-api/version.txt index 6e8bf73aa..3eefcb9dd 100644 --- a/tools/flagd-api/version.txt +++ b/tools/flagd-api/version.txt @@ -1 +1 @@ -0.1.0 +1.0.0 From c8a17c0c0fa282e8bcebe1e7ce193f30de174baa Mon Sep 17 00:00:00 2001 From: Todd Baert Date: Thu, 2 Apr 2026 10:38:06 -0400 Subject: [PATCH 2/2] fixup: update readme Signed-off-by: Todd Baert --- tools/flagd-api/README.md | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/tools/flagd-api/README.md b/tools/flagd-api/README.md index b1e361c15..0217b11f7 100644 --- a/tools/flagd-api/README.md +++ b/tools/flagd-api/README.md @@ -24,27 +24,21 @@ The `flagd-api` module defines the core interfaces that can be implemented by di ### Evaluator -The `Evaluator` interface handles flag resolution: +The `Evaluator` interface handles flag storage and resolution: ```java public interface Evaluator { - ProviderEvaluation resolveBooleanValue(String flagKey, EvaluationContext ctx); - ProviderEvaluation resolveStringValue(String flagKey, EvaluationContext ctx); - ProviderEvaluation resolveIntegerValue(String flagKey, EvaluationContext ctx); - ProviderEvaluation resolveDoubleValue(String flagKey, EvaluationContext ctx); - ProviderEvaluation resolveObjectValue(String flagKey, EvaluationContext ctx); -} -``` - -### FlagStore - -The `FlagStore` interface handles flag configuration storage and updates: - -```java -public interface FlagStore { + // flag store methods void setFlags(String flagConfigurationJson) throws FlagStoreException; List setFlagsAndGetChangedKeys(String flagConfigurationJson) throws FlagStoreException; Map getFlagSetMetadata(); + + // flag evaluation methods + ProviderEvaluation resolveBooleanValue(String flagKey, Boolean defaultValue, EvaluationContext ctx); + ProviderEvaluation resolveStringValue(String flagKey, String defaultValue, EvaluationContext ctx); + ProviderEvaluation resolveIntegerValue(String flagKey, Integer defaultValue, EvaluationContext ctx); + ProviderEvaluation resolveDoubleValue(String flagKey, Double defaultValue, EvaluationContext ctx); + ProviderEvaluation resolveObjectValue(String flagKey, Value defaultValue, EvaluationContext ctx); } ```