Releases: hoverinc/this_feature
Releases · hoverinc/this_feature
v0.10.0
Context
As the Split Adapter is written currently, it's only capable of reading from Split flags the value of being on
, off
, or in the control
group. But Split features can have many options for treatments. We need to update the Adapters to be able to just retrieve the treatment value, if we want a fuller use of SplitIO's capabilities.
Changes
- expanding the
ThisFeature::Adapters::SplitIo
interface by adding#treatment_value
and#treatment_config
methods, which uses SplitIO'sget_treatment_with_config
method and returns itsconfig
or treatment name asvalue
ThisFeature::Flag#treatment_value
method that wraps the adapter's calling of the same method#treatment_value
equivalent inThisFeature::Adapters::Memory
so this can be used in all environments- for treatment values to be configured, there is also a
#enable_treatment!()
method, which is similar to#on!
which adds to the local storage of flag configurations and their required contexts (for which User id, etc)
- for treatment values to be configured, there is also a
- updates to README for Memory
v0.8.0
First named release