Releases: optimizely/ruby-sdk
Releases · optimizely/ruby-sdk
3.9.0
3.9.0
September 16, 2021
New Features:
- Add new public properties to
OptimizelyConfig. (#285)- sdkKey
- environmentKey
- attributes
- audiences
- events
- experimentRules and deliveryRules to
OptimizelyFeature - audiences to
OptimizelyExperiment
- For details, refer to our documentation page: https://docs.developers.optimizely.com/full-stack/v4.0/docs/optimizelyconfig-ruby.
Deprecated:
OptimizelyFeature.experimentsMapofOptimizelyConfigis deprecated as of this release. Please useOptimizelyFeature.experimentRulesandOptimizelyFeature.deliveryRules. (#285)
Release 3.8.1
3.8.1
August 2nd, 2021
Bug Fixes:
- Fixed duplicate experiment key issue with multiple feature flags. While trying to get variation from the
variationKeyMap, it was unable to find because the latestexperimentKeywas overriding the previous one. (#282)
Release 3.8.0
3.8.0
February 16th, 2021
New Features:
-
Introducing a new primary interface for retrieving feature flag status, configuration and associated experiment decisions for users (#274, #279). The new
OptimizelyUserContextclass is instantiated withcreate_user_contextand exposes the following APIs to getOptimizelyDecision:- set_attribute
- decide
- decide_all
- decide_for_keys
- track_event
-
For details, refer to our documentation page: https://docs.developers.optimizely.com/full-stack/v4.0/docs/ruby-sdk.
Release 3.7.0
Release 3.6.0
Release 3.5.0
3.5.0
July 9th, 2020
New Features:
- Add support for JSON feature variables (#251)
- Add support for authenticated datafiles (#255)
- Added support for authenticated datafiles.
HTTPProjectConfigManagernow acceptsdatafile_access_tokento be able to fetch authenticated datafiles. - Add support for proxy server for http config manager. (#262)
Bug Fixes:
Release 3.5.0-beta
Release 3.4.0
3.4.0
January 23rd, 2020
New Features:
- Added a new API to get project configuration static data.
- Call
get_optimizely_configto get a snapshot of project configuration static data. - It returns an
OptimizelyConfiginstance which includes a datafile revision number, all experiments, and feature flags mapped by their key values. - Added caching for
get_optimizely_config-OptimizelyConfigobject 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-ruby.
- Call
Release 3.3.2
Release 3.3.1
3.3.1
October 10th, 2019
Bug Fixes:
- Include LICENSE file in built gem (#208) as per rubygems guidelines around license files.