Skip to content

Commit bae081c

Browse files
chore(main): release dev.openfeature.contrib.tools.flagdapi 1.0.0 (#1756)
Signed-off-by: OpenFeature Bot <109696520+openfeaturebot@users.noreply.github.com> Signed-off-by: Todd Baert <todd.baert@dynatrace.com> Co-authored-by: Todd Baert <todd.baert@dynatrace.com>
1 parent fec3753 commit bae081c

5 files changed

Lines changed: 20 additions & 19 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"providers/ofrep": "0.0.1",
1414
"tools/junit-openfeature": "0.2.1",
1515
"tools/flagd-http-connector": "0.0.4",
16-
"tools/flagd-api": "0.1.0",
16+
"tools/flagd-api": "1.0.0",
1717
"tools/flagd-api-testkit": "0.2.1",
1818
"tools/flagd-core": "0.2.0",
1919
".": "1.0.0"

tools/flagd-api/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [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)
4+
5+
6+
### ✨ New Features
7+
8+
* 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))
9+
310
## [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)
411

512

tools/flagd-api/README.md

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,35 +16,29 @@ The `flagd-api` module defines the core interfaces that can be implemented by di
1616
<dependency>
1717
<groupId>dev.openfeature.contrib.tools</groupId>
1818
<artifactId>flagd-api</artifactId>
19-
<version>0.1.0</version> <!--x-release-please-version -->
19+
<version>1.0.0</version> <!--x-release-please-version -->
2020
</dependency>
2121
```
2222

2323
## Interfaces
2424

2525
### Evaluator
2626

27-
The `Evaluator` interface handles flag resolution:
27+
The `Evaluator` interface handles flag storage and resolution:
2828

2929
```java
3030
public interface Evaluator {
31-
ProviderEvaluation<Boolean> resolveBooleanValue(String flagKey, EvaluationContext ctx);
32-
ProviderEvaluation<String> resolveStringValue(String flagKey, EvaluationContext ctx);
33-
ProviderEvaluation<Integer> resolveIntegerValue(String flagKey, EvaluationContext ctx);
34-
ProviderEvaluation<Double> resolveDoubleValue(String flagKey, EvaluationContext ctx);
35-
ProviderEvaluation<Value> resolveObjectValue(String flagKey, EvaluationContext ctx);
36-
}
37-
```
38-
39-
### FlagStore
40-
41-
The `FlagStore` interface handles flag configuration storage and updates:
42-
43-
```java
44-
public interface FlagStore {
31+
// flag store methods
4532
void setFlags(String flagConfigurationJson) throws FlagStoreException;
4633
List<String> setFlagsAndGetChangedKeys(String flagConfigurationJson) throws FlagStoreException;
4734
Map<String, Object> getFlagSetMetadata();
35+
36+
// flag evaluation methods
37+
ProviderEvaluation<Boolean> resolveBooleanValue(String flagKey, Boolean defaultValue, EvaluationContext ctx);
38+
ProviderEvaluation<String> resolveStringValue(String flagKey, String defaultValue, EvaluationContext ctx);
39+
ProviderEvaluation<Integer> resolveIntegerValue(String flagKey, Integer defaultValue, EvaluationContext ctx);
40+
ProviderEvaluation<Double> resolveDoubleValue(String flagKey, Double defaultValue, EvaluationContext ctx);
41+
ProviderEvaluation<Value> resolveObjectValue(String flagKey, Value defaultValue, EvaluationContext ctx);
4842
}
4943
```
5044

tools/flagd-api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</parent>
1111
<groupId>dev.openfeature.contrib.tools</groupId>
1212
<artifactId>flagd-api</artifactId>
13-
<version>0.1.0</version> <!--x-release-please-version -->
13+
<version>1.0.0</version> <!--x-release-please-version -->
1414

1515
<properties>
1616
<module-name>${groupId}.flagdapi</module-name>

tools/flagd-api/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.0
1+
1.0.0

0 commit comments

Comments
 (0)