exop v1.2.4 Release Notes

  • ๐Ÿ”„ Changes

    • use Exop.Chain now accepts :name_in_error option: when it is set to true a failed operation in a chain returns the operation's module name as the first elements of output tuple {YourOperation, {:error, _}}
    • ๐Ÿ†• new type: :uuid check which supports both UUID1 and UUID4
    • ๐Ÿ†• new aliases for :numericality check (to make your code slim): :eq, :gt, :gte, :lt, :lte
    • :inner check now accepts opts as both map and keyword (earlier only map has been allowed)
    • a few macros (like parameter, operation etc.) locals_without_parens formatter rule has been exported. Place import_deps: [:exop] into your project's .formatter.exs file in order to use it.
    • step/2 has been added as an alias for Exop.Chain's operation/2 macro