---
title: Java-SDK - 3.8.0
slug: feature-experimentation/release-notes/java-sdk-3-8-0
docTags: 
createdAt: 2026-08-06T15:30:21.384Z
---

## \[3.8.0]

February 3rd, 2021

### New Features

Introducing a new primary interface for retrieving feature flag status, configuration and associated experiment decisions for users ([#406](https://github.com/optimizely/java-sdk/pull/406), [#415](https://github.com/optimizely/java-sdk/pull/415), [#417](https://github.com/optimizely/java-sdk/pull/417)). The new `OptimizelyUserContext` class is instantiated with `createUserContext` and exposes the following APIs to get `OptimizelyDecision`:

- setAttribute
- decide
- decideAll
- decideForKeys
- trackEvent

For details, refer to our documentation page: [Java SDK](docId:1tjzc1xaB7zD8OSxx3nvQ).

### Fixes

Close the closable response from apache httpclient ([#419](https://github.com/optimizely/java-sdk/pull/419))

[https://github.com/optimizely/java-sdk/releases/tag/3.8.0](https://github.com/optimizely/java-sdk/releases/tag/3.8.0)
