All Versions
Latest Version
Avg Release Cycle
159 days
Latest Release
1068 days ago

Changelog History
Page 2

  • v1.0.0 Changes

    June 23, 2016

    Backwards incompatible changes

    • code_change/4 default implementation will now result in an error if it is invoked. This is because this callback is only related to hot code updates, and thus actually calling the default implementation of this callback is dangerous.

    Users of this library can implement a callback like:

      def code_change(_old_vsn, state, data, _extra) do
        {:ok, state, data}

    if they wish to keep the old behaviour.

    • init/1 allowed callback modes as the first element of the return tuple. This is no longer allowed, and users of this library should return :ok instead.

    ✨ Enhancements

    • Added OTP error translator.

    🐛 Bug fixes

    • init/1 and code_change/4 did not actually allow you to throw a result previously. They now permit throwing results.