All Versions
89
Latest Version
Avg Release Cycle
87 days
Latest Release
544 days ago

Changelog History
Page 2

  • v4.0.1 Changes

    May 26, 2021

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix regression of filter name relaxing.
    • [#495][] - Fix time filter ignoring time zones
  • v4.0.0 Changes

    January 10, 2021

    ๐Ÿ”„ Changed

    • โฌ‡๏ธ drop support for Ruby < 2.5, added support for Ruby 3.0
    • โฌ‡๏ธ drop support for Rails < 5.0, added support for Rails 6.1
    • ๐Ÿšš [#398][] - Predicate methods have been removed. (how to upgrade)
    • [#412][] - Filters will now treat blank string values as nil (except string and symbol). (how to upgrade)
    • 0๏ธโƒฃ [#392][] - Integer parsing now defaults the base to 10. (how to upgrade)
    • The inputs method now returns an ActiveInteraction::Input instead of a hash. The ActiveInteraction::Input class still responds to all hash methods.
    • The object and record filters now only accept an instance of the correct class type or a subclass of the correct class. They no longer allow you to check for included modules. (how to upgrade)
    • The interface filter will now look for an ancestor of the value passed based on the name of the interface or the value passed in the from option.
    • The InvalidClassError has been replaced by InvalidNameError.
    • When introspecting an array filter, the inner filter is referenced by :'0' instead of the singularized version of the array filter name.

    โž• Added

    • Implicit coercion of types are now supported in filters (e.g. to_str, to_int, etc).
    • The interface and record filters, when used as an inner filter for an array, will have their from/class option set to a singularized version of the array filter name.

    โฌ†๏ธ Upgrading

    Predicate Methods

    ๐Ÿšš We've removed the predicate methods that were automatically generated for each input. They would return true if an input was not nil. They can be manually replaced with that same check.

  • v3.8.3 Changes

    August 23, 2020

    ๐Ÿ›  Fixed

    • #486 valid? returns true if block not called and error added in execute around callback.
  • v3.8.2 Changes

    April 22, 2020

    ๐Ÿ›  Fixed

    • [#479][] Composed interactions that throw errors now show a complete backtrace instead of ending at the run! of the outermost interaction.
  • v3.8.1 Changes

    April 04, 2020

    ๐Ÿ›  Fixed

    • The implementation for providing a failing interaction on InvalidInteractionError was a breaking API change. It now works without breaking the API.
  • v3.8.0 Changes

    February 28, 2020
    • #477 InvalidInteractionError now provides access to the failing interaction by calling interaction.
    • โšก๏ธ #476 Update given? to check for items in an array by passing an index.
  • v3.7.1 Changes

    March 20, 2019

    ๐Ÿ›  Fixed

    • โš  #455 Switch to BigDecimal() to avoid warnings in Ruby 2.6.
    • ๐Ÿ‘€ #457 When using an after callback on execute the :if option does not see composed errors.
  • v3.7.0 Changes

    February 10, 2019

    โž• Added

    • ๐Ÿš… #454 Support for Rails 6.

    ๐Ÿ›  Fixed

    • ๐Ÿ”€ #435 Errors using the :message option were not properly merged.
  • v3.6.2 Changes

    August 21, 2018

    ๐Ÿ›  Fixed

    • #411 Cache the result of outcome validations. This also resolves duplicate callbacks on composed interactions.
  • v3.6.1 Changes

    November 12, 2017

    ๐Ÿ›  Fixed

    • #429 Pass details on translated detailed errors.