fun_with_flags v1.5.0 Release Notes

Release Date: 2020-04-26 // almost 4 years ago
    • ⬇️ Drop support for Elixir 1.6. Elixir >= 1.7 is now required.
    • ⬇️ Drop support for Erlang/OTP 20, and Erlang/OTP >= 21 is now required. An older Erlang/OTP might still work with older versions of Elixir, but Elixir 1.10 requires Erlang/OTP >= 21. Dropping support for older versions of Erlang/OTP simply means that this package is not tested with them in CI, and that no compatibility issues are considered bugs.
    • ⬆️ Upgrade Phoenix.PubSub dependency to 2.0. This provides compatibility with Phoenix 1.5.
    • Typespec improvements. (Thanks skylerparr, pull/57)
    • 🚀 Internal changes to how flag data is cached in the ETS table. This has no effect on the functionality of the package, with two exceptions. First, the cache: [ttl: seconds] config value is not memoized anymore and it can be changed without recompiling. Second, since the TTL is now stored with the ETS entries, old and new ETS data is not compatible; this is not an issue if you restart/rotate your application nodes/instances when deploying, but it will be an issue if you perform hot code upgrades. In that case, you have to first empty the ETS table, for example with FunWithFlags.Store.Cache.flush/0.
    • New config option to set a custom name for the DB table when using the Ecto persistence adapter. (Thanks BobbyMcWho, pull/64 and pull/77)