fun_with_flags v1.4.0 Release Notes

Release Date: 2019-05-15 // almost 5 years ago
  • ๐Ÿš€ This release focuses on making it easier to extend the package, for example with custom persistence adapters.

    • Define a behaviour in the FunWithFlags.Store.Persistence module that can be implemented by custom persistence adapters. The builtin Redis and Ecto adapters now formally implement this new behaviour.
    • ๐Ÿ”จ Refactor how cache-busting change notifications are published: move the logic out of the two builtin persistence adapters and into the level above them. While this is just an internal change, it narrows the responsibilities of the persistence adapters and simplifies implementing custom ones.
    • ๐Ÿ’… Update the supervision tree to use Elixir v1.5 style child specs.
    • ๐Ÿ”ง Print a helpful error if a project is configured to use a persistence adapter without including its dependency packages. This mirrors what happens when the dependencies for a notifications adapter are missing.
    • Document the Flag and Gate types, previously private.
    • ๐Ÿš€ Redis persistence: relax Redix version lock to ~> 0.9, which allows to use Redix 0.10. It was previously locked to ~> 0.9.1 because of breaking changes in the last few Redix minor version releases, but going forward if it happens again it can be handled with a patch level release on FunWithFlags.