Releases: RY-Cafemedia/feature
Releases · RY-Cafemedia/feature
V3.0 Scheduling feature functionality
New Features
- Added flexible scheduling feature variants with following options:
- 'start' : Optional: Format: e.g., "20180207 00:00:00"
- 'end' : Optional. Format: e.g., "20180207 00:00:00"
- 'enabled' : Required. a list of variants with percentage.
e.g.,
'bid_caching'=> array( // feature flag name
// default variants block wich wil be overriden by scheduled variants when scheduling is active
'enabled' => array(
'empty_only'=>90
),
// scheduling config will override the above default enabled variants
'scheduled' => array(
'start' => 20180206, // schedule start date
'end' => 20180207, // schedule end date; Optional;
'enabled' =>array( // a list of variants to override
'test' => 100
)
)
)
2.0 Backward Compatability Breaks!!!
Remove all things static.
added support for 'excluded_from' and 'start', 'end' feature configurations.
remove 'on', 'off' magic that complicates code and replace it with standard [enabled => 100], [enabled => 0]
v1.0.1
First Stable Release
PSR-4 Auto-loading standard.
PSR-3 Logger interface implementation for logger class.
"Implementation here" code are now values injectable through the class constructor.