Skip to content

Releases: open-feature/java-sdk

v0.3.0

13 Oct 06:04
d7fabaf
Compare
Choose a tag to compare

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

  • Change the package name. Everyone knows it's java (or it doesn't matter) (#111) (6eeeddd)

dev.openfeature.javasdk: v0.2.2

23 Sep 13:35
e108666
Compare
Choose a tag to compare

0.2.2 (2022-09-20)

Features

  • Add asObjectMap to get the EvaluationContext as Map<String,Object> (#75) (2eec1a5)

dev.openfeature.javasdk: v0.2.1

13 Sep 22:36
9ec42f9
Compare
Choose a tag to compare

0.2.1 (2022-09-13)

Bug Fixes

  • isList check in Value checks type of list (#70) (81ab071)

dev.openfeature.javasdk: v0.2.0

13 Sep 19:44
00af2f8
Compare
Choose a tag to compare

0.2.0 (2022-09-13)

⚠ BREAKING CHANGES

  • use value for object resolver
  • use instant not zoneddatetime

Features

  • add object to value wrapper (0152a1e)
  • use instant not zoneddatetime (3e62414)
  • use value for object resolver (5d26247)

0.1.1

04 Sep 03:57
c701a6c
Compare
Choose a tag to compare

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

30 Aug 14:56
d5bd0fb
Compare
Choose a tag to compare

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

09 Aug 03:09
e391cbc
Compare
Choose a tag to compare

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

Full Changelog: 0.0.2...0.0.3

0.0.2

24 Jun 06:09
1d507a5
Compare
Choose a tag to compare

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

24 Jun 05:58
8cc39a1
Compare
Choose a tag to compare
0.0.1 Pre-release
Pre-release

Miscreated release.