Releases: optimizely/java-sdk
Release list
Release 4.5.0
[4.5.0]
July 7, 2026
New Features
Local Holdouts: Added support for Local Holdouts, enabling holdout experiments
to be scoped to specific feature flags rather than applied globally.
Local Holdouts let you measure the true incremental impact of individual features
by holding out a subset of users from specific rollouts while still serving them other experiences.
See Holdouts docs for more information.
- Add localHoldouts to datafile for backward compatibility (#633)
Fixes
Release 4.4.2
[4.4.2]
May 29, 2026
Fixes
- Include commonIdentifiers when counting identifiers in identifyUser (#631)
Release 4.4.1
Release 4.4.0
[4.4.0]
May 4, 2026
New Features
Feature Rollout: Added support for Feature Rollouts, a new experiment type
combining Targeted Delivery simplicity with A/B test measurement capabilities.
Feature Rollouts enable progressive rollouts with full impact analytics, metric tracking,
and confidence intervals.
See Feature Rollout docs for more information.
Fixes and Improvements
- Remove legacy flag-level holdout fields (#604)
Release 4.3.1
Release 4.3.0
[4.3.0]
Dec 10th, 2025
New Features
- CMAB (Contextual Multi-Armed Bandit) Support: Added support for CMAB experiments with new configuration options and cache control (#577, #578, #579, #582, #583, #584, #585, #590, #593)
- Add Holdouts Feature: Add Holdout support for feature experimentation (#572, #576)
- Multi-Region Support for Data Hosting: Added SDK support for multi-region data hosting (#573)
API Changes
-
OptimizelyUserContext: New asynchronous decision-making methods
decideAsync(): Asynchronous method to make a decision for a single flag with CMAB supportdecideAllAsync(): Asynchronous method to make decisions for all flagsdecideForKeysAsync(): Asynchronous method to make decisions for multiple flag keys
-
Client Initialization:
CmabClientConfigcan be injected when initializing the client for custom CMAB configurationCmabServicecan be provided toOptimizelyFactoryfor custom CMAB service implementation
-
New Decide Options: Added cache control options for CMAB
IGNORE_CMAB_CACHE: Skip reading from CMAB cacheRESET_CMAB_CACHE: Clear and reset CMAB cache before decisionINVALIDATE_USER_CMAB_CACHE: Invalidate cache entries for specific user
Release 4.2.2
Release 4.2.1
Release 4.2.0
[4.2.0]
November 6th, 2024
New Features
- Batch UPS lookup and save calls in decideAll and decideForKeys methods (#549).
Release 4.1.1
[4.1.1]
May 8th, 2024
Fixes
- Fix logx events discarded for staled connections with httpclient connection pooling (#545).