Releases: open-feature/java-sdk
v0.3.0
0.3.0 (2022-10-13)
⚠ BREAKING CHANGES
- add rw locks to client/api, hook accessor name (#131)
- use evaluation context interface (#112)
- Change the package name. Everyone knows it's java (or it doesn't matter) (#111)
- errorCode as enum, reason as string (#80)
- use value for object resolver
- use instant not zoneddatetime
Features
- Add asObjectMap to get the EvaluationContext as Map<String,Object> (#75) (2eec1a5)
- add object to value wrapper (0152a1e)
- add rw locks to client/api, hook accessor name (#131) (2192932)
- errorCode as enum, reason as string (#80) (84f220d)
- Support for generating CycloneDX sboms (#119) (9647c3f)
- use evaluation context interface (#112) (e9732b5)
- use instant not zoneddatetime (3e62414)
- use value for object resolver (5d26247)
Bug Fixes
- deps: update dependency io.cucumber:cucumber-bom to v7.8.0 (#100) (5e96d14)
- deps: update junit5 monorepo (#92) (8ca655a)
- isList check in Value checks type of list (#70) (81ab071)
Code Refactoring
dev.openfeature.javasdk: v0.2.2
dev.openfeature.javasdk: v0.2.1
dev.openfeature.javasdk: v0.2.0
0.1.1
What's Changed
- fixed a bug causing gradle to error with
inconsistent module metadata
by @toddbaert in #57
Full Changelog: 0.1.0...0.1.1
0.1.0
This is our first release with breaking changes.
The biggest change is we've altered the API of EvaluationContext
to support method overloading (nicer API) and change the return value of getObjectValue
to return a more generic Structure
type. This was to avoid forcing providers into taking a dependency on something like Gson
to facilitate "take this json and turn it into a T
". Structure looks a lot like a JSON object.
A comparatively smaller breaking change is for providers. We've dropped FlagEvaluationOptions
from the provider API. That information was redundant now that provider hooks are a thing.
What's Changed
- fix merge of eval context targeting key by @rgrassian-split in #44
- add double hook interface by @beeme1mr in #48
- fix: Set no-op provider by default, handle null providers by @toddbaert in #49
- BREAKING CHANGE: Add generic structure type, use context/getObject by @toddbaert in #51
- fix: update provider object eval, T -> Structure by @toddbaert in #54
New Contributors
Full Changelog: 0.0.3...0.1.0
0.0.3
Now up to date with specification 0.2.0
What's Changed
- Lots more javadoc
EvaluationContext
now has addition methods which support chaining.EvaluationContext
supported at the API and Client level- Provider hooks are a new way for providers to transparently register hooks that they need to operate.
- fix: EvaluationContext make constructor public by @thomaspoignant in #33
- feat: Add method to get double by @thomaspoignant in #34
- iterators to get all integer, string, boolean, or structure map entries by @rgrassian-split in #41
New Contributors
- @thomaspoignant made their first contribution in #33
- @rgrassian-split made their first contribution in #41
Full Changelog: 0.0.2...0.0.3
0.0.2
This is the initial preview of the Java SDK for OpenFeature.
The basics of functionality should be there. We're particularly interested in how the API feels from both a provider implementation perspective as well as from a application integrator perspective. Please file issues if you find anything not to your liking.
0.0.1
Miscreated release.