All Versions
82
Latest Version
Avg Release Cycle
83 days
Latest Release
21 days ago

Changelog History
Page 1

  • v4.0.4 Changes

    July 03, 2021

    ๐Ÿ›  Fix

    • ๐Ÿš… [#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

    ๐Ÿ›  Fix

    • [#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

    ๐Ÿ›  Fix

    • [#505][] - Nested Interface filters using the :methods option threw an error.
  • v4.0.1 Changes

    May 26, 2021

    ๐Ÿ›  Fix

    • ๐Ÿ›  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.