This repository was archived by the owner on Aug 23, 2022. It is now read-only.
Releases: godaddy/node-flipr
Releases · godaddy/node-flipr
v2.1.0 (February 7th, 2019)
Features & Improvements
- Added three new rules: includes, includesListAny, and includesListAll
- Updated docs and tests
Bug Fixes
- Fixed a case sensitivity bug in the rules
v2.0.0 (January 28th, 2019)
Features & Improvements
- ES6+ Rewrite
- Now supports async/await
- Lots of cleanup and prep work for more features
jestfor testingeslintfor linting
Breaking Changes
- Default export is now a
Fliprclass - async/await replaces callbacks everywhere
- Removed input validator
- Removed connect middleware
- Renamed
getDictionaryandgetDictionaryByRulestogetConfig - Renamed
getValueByRulestogetValue preloadandflushare nowasyncand required on all sourcesinitreplaced with class constructor- Removed a lot of unnecessary function parameter validation
getValueandgetConfigwill return undefined for dynamic config keys if no input is given- Removed memoization of getValue and getConfig, just relying on source caching now
- Drop support for node < v8.3
- Flipr sources must now support async/await
- Dropped support for the existing flipr-etcd source, that will need a rewrite.
v1.1.0
v1.1.0 (April 6, 2015)
Features:
- Added another shorthand notation to the flipr function.
flipr(someInput, 'someKey', cb)is now equivalent toflipr.getValueByRules(someInput, 'someKey', cb). This was done to promote usage of getValueByRules, which is much more performant for large configs.
v1.0.0
v1.0.0 (March 12, 2015)
Flipr, now with sources!
Features:
- Refactored flipr to use sources.
- Initial sources are yaml and etcd.
Initial Release
This is the initial release of flipr. This release is production ready.