All Versions
Latest Version
Avg Release Cycle
85 days
Latest Release
140 days ago

Changelog History
Page 1

  • v4.1.0 Changes

    December 30, 2021

    โž• Added

    • ๐Ÿš… [#518][] - Add Rails 7 support
  • v4.0.6 Changes

    October 13, 2021

    ๐Ÿ›  Fixed

    • ๐Ÿ“š [#515][] - Filters nested in arrays should accept default values as indicated in the documentation.
  • v4.0.5 Changes

    July 11, 2021

    ๐Ÿ›  Fixed

    • [#480][] - Interfaces used inside hashes failed to recognize nil as a non-value.
  • v4.0.4 Changes

    July 03, 2021

    ๐Ÿ›  Fixed

    • ๐Ÿš… [#510][] - Hash parameters failed when working outside of Rails.
    • [#511][] - Nested filters with options but no :class failed to have :class automatically added.
  • v4.0.3 Changes

    June 24, 2021

    ๐Ÿ›  Fixed

    • [#499][] - given? now recognizes multi-part date inputs by their primary key name
    • [#493][] - compose now properly accepts Inputs
  • v4.0.2 Changes

    June 22, 2021

    ๐Ÿ›  Fixed

    • [#505][] - Nested Interface filters using the :methods option threw an error.
  • 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.