Releases: optimizely/android-sdk
Release 3.10.0
3.10.0
February 24th, 2021
PR : #360
- Deprecate and remove job scheduler in favor of the androidx work manager. Issue #350
- Deprecate Intent and Intent service in favor of workers. Issue #350
- Remove deprecated API SUPPLICANT ACTION. Issue #347
- Remove AsyncTask in favor of straight executor. Issue #351
- DatafileClient download timeout can be set.
Release 3.9.0
3.9.0
February 9th, 2021
-
Upgrade the androidx and get all tests passing #356
-
Add a new set of decide apis #352
The newOptimizelyUserContext
class is instantiated withcreateUserContext
and exposes the following APIs to getOptimizelyDecision
:- setAttribute
- decide
- decideAll
- decideForKeys
- trackEvent
Also related to java sdk release here.
- For details, refer to our documentation page: https://docs.developers.optimizely.com/full-stack/v4.0/docs/android-sdk.
- Remove erroneous error if project id and sdk key are null. #358
Release 3.8.0
3.8.0
November 20th, 2020
- Add support for upcoming application-controlled introduction of tracking for non-experiment Flag decisions.
For a complete list see the release notes for java sdk 3.7.0
Using Java SDK 3.7.0
Release 3.7.0
3.7.0
September 30th, 2020
- This build has support for audience evaluation by version. It also supports number 'greater than or equal to' and 'less than or equal to'.
- This build also supports getting the current config string.
For a complete list see the release notes for java sdk 3.6.0
Using Java SDK 3.6.0
Release 3.6.0
3.6.0
July 13th, 2020
This build has support for Feature JSON. It also includes an update to the test application
with feature flag example and package level log setting.
Using Java SDK 3.5.0
New Features
- Add support for JSON feature variables (#337)
Release 3.5.2
Release 3.5.1
3.5.1
April 29th, 2020
Bug Fixes
- Change FeatureVariable type from enum to string for forward compatibility (upgrade the core java-sdk to 3.4.3).
Release 3.5.0
3.5.0
March 13th, 2020
This release includes an enhancement of SDK initialization API to enable SDK updated on cached datafile change. It also fixes known bugs.
New Features
-
Add an option for synchronous initialization to enable SDK immediately updated when a new datafile is cached. Unless this feature is enabled, by default, the cached datafile will be used only when the SDK re-starts in the next session. Note that this option is for synchronous initialization only. (#318)
// enable SDK update when a new datafile is cached optimizelyManager.initialize(context, R.raw.datafile, true, true) // by default, this feature is disabled optimizelyManager.initialize(context, R.raw.datafile)
Bug Fixes
- When datafile download fails or receives 304, the SDK loads a datafile from cache. This loading process is moved to a background thread. (#321)
Release 3.4.0
3.4.0
January 31st, 2020
This release includes a new API to access project configuration data.
New Features
- Added a new API to get project configuration static data.
- Call
getOptimizelyConfig()
to get a snapshot of project configuration static data. - It returns an
OptimizelyConfig
instance which includes a datafile revision number, all experiments, and feature flags mapped by their key values. - Added caching for
getOptimizelyConfig
-OptimizelyConfig
object will be cached and reused for the lifetime of the datafile. - For details, refer to our documentation page: https://docs.developers.optimizely.com/full-stack/docs/optimizelyconfig-android.
- Call
Release 3.1.2
3.1.2
January 7th, 2020
Bug Fixes:
- Add keep for log4j to proguard rules.