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::SplitIointerface by adding#treatment_valueand#treatment_configmethods, which uses SplitIO'sget_treatment_with_configmethod and returns itsconfigor treatment name asvalue ThisFeature::Flag#treatment_valuemethod that wraps the adapter's calling of the same method#treatment_valueequivalent inThisFeature::Adapters::Memoryso 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