java-sdk
java-sdk copied to clipboard
Java implementation of the OpenFeature SDK
We're using `@inheritDoc` to avoid writing javadoc, but that's not well founded in some cases. Audit the usage of it and ensure our docs are reasonable.
I see we have getDoubleValue and getIntegerValue, but not for Long type. I can open a PR to add that.
``` RESULTS ------- Aggregate score: 5.9 / 10 Check scores: |---------|------------------------|--------------------------------|-----------------------------------------------------------------------------------------------------------------------| | SCORE | NAME | REASON | DOCUMENTATION/REMEDIATION | |---------|------------------------|--------------------------------|-----------------------------------------------------------------------------------------------------------------------| | 10 / 10 | Binary-Artifacts | no binaries...
## Use ConcurrentHashMap for InMemoryProvider - Use `ConcurrentHashMap` for `flags` in `InMemoryProvider` to make it thread-safe ### Related Issues Fixes #1054 ### Notes ### Follow-up Tasks ### How to test
:robot: I have created a release *beep* *boop* --- ## [1.9.1](https://github.com/open-feature/java-sdk/compare/v1.9.0...v1.9.1) (2024-08-21) ### 🐛 Bug Fixes * **deps:** update dependency io.cucumber:cucumber-bom to v7.18.1 ([#1011](https://github.com/open-feature/java-sdk/issues/1011)) ([91fa8cf](https://github.com/open-feature/java-sdk/commit/91fa8cf7d63374cd67d4c02d291467da379297cf)) * **deps:** update dependency org.slf4j:slf4j-api...
Update the [in-memory provider](https://github.com/open-feature/java-sdk/blob/main/src/main/java/dev/openfeature/sdk/providers/memory/InMemoryProvider.java) to be thread safe. - Use a `ConcurrentHashMap` or other mechanisms to ensure the internal flag map is accessible/mutable from multiple threads safely. - Ensure other...
:robot: I have created a release *beep* *boop* --- ## [1.12.1](https://github.com/open-feature/java-sdk/compare/v1.12.0...v1.12.1) (2024-10-12) ### 🐛 Bug Fixes * **deps:** update dependency io.cucumber:cucumber-bom to v7.20.0 ([#1142](https://github.com/open-feature/java-sdk/issues/1142)) ([e657383](https://github.com/open-feature/java-sdk/commit/e6573838a02df1e917b27a5ae2ad7cef0c4d6b3f)) * **deps:** update dependency io.cucumber:cucumber-bom...
This PR reduces allocations of heap objects by ~70% for most use-cases. It does this by removing some usage of the streams API in some hotspots, and also being more...
Our tool is excellent, but more and more people are using it. We already received internal information, that some code paths tend to be hotspots, especially `structure` operations. Evaluating this...
Many people struggle with their code styles when contributing for the first time. With this pull request, we're adding a .editorconfig to manage those settings in a centralized place, making...