Java-SDK - 4.3.0
2 min
[4.3.0]
#430
Dec 10th, 2025
New Features
- 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 support
- decideAllAsync(): Asynchronous method to make decisions for all flags
- decideForKeysAsync(): Asynchronous method to make decisions for multiple flag keys
- Client Initialization:
- CmabClientConfig can be injected when initializing the client for custom CMAB configuration
- CmabService can be provided to OptimizelyFactory for custom CMAB service implementation
- New Decide Options: Added cache control options for CMAB
- IGNORE_CMAB_CACHE: Skip reading from CMAB cache
- RESET_CMAB_CACHE: Clear and reset CMAB cache before decision
- INVALIDATE_USER_CMAB_CACHE: Invalidate cache entries for specific user