flippant v0.4.0 Release Notes
Release Date: 2017-10-20 // over 6 years ago-
โจ Enhancements
- [Flippant] - Add a new Postgres adatper, backed by Postgrex.
- [Flippant] - Add
exists?/1
for checking whether a feature exists at all, andexists?/2
for checking whether a feature exists for a particular group. - [Flippant] - Add
rename/2
for renaming existing features. - ๐ [Flippant] - Merge additional values when enabling features. This prevents clobbering existing values in "last write wins" situations.
- ๐ [Flippant] - Support enabling or disabling of individual values. This makes it possible to remove a single value from a group's rules.
- [Flippant] - Add
setup/0
to facilitate adapter setup (i.e. Postgres). - ๐ง [Flippant.Adapters.Redis] - Accept options to configure the adapter's set key.
๐ Changes
- [Flippant.Adapter] - Values are no longer guaranteed to be sorted. Some adapters guarantee sorting, but race conditions prevent it in the Postgres adapter, so it is no longer guaranteed.
- [Flippant.Registry] - Use a named ETS table for rule storage rather than an Agent. This is slightly faster, and it prepares us for crash recovery.
๐ Bug Fixes
- [Flippant] - Correct guard logic for multiple
when
clauses.