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

Changelog History
Page 1

  • v5.2.0 Changes

    October 22, 2022

    โž• Added

    • โž• Added translation for Spanish. Thanks @matiasasis!

    ๐Ÿ›  Fixed

    • [#545][] - Arrays passed in are no longer modified. Thanks @jonkgrimes!

    โž• Added

  • v5.1.1 Changes

    September 01, 2022

    ๐Ÿ›  Fixed

    • 0๏ธโƒฃ [#539][] - Fixed a caching error in default values.
  • v5.1.0 Changes

    July 28, 2022

    โž• Added

    • Limit dependencies to the minimum requirements.

    ๐Ÿ›  Fixed

    • [#536][] - compose accepts Inputs.
    • [#537][] - Arrays with nested filters returned the wrong value.
  • v5.0.0 Changes

    June 24, 2022

    ๐Ÿ”„ Changed

    • โฌ‡๏ธ Drop support for JRuby.
    • โฌ‡๏ธ Drop support for Ruby 2.5 and 2.6, adding support for 3.1
    • โฌ‡๏ธ Drop support for Rails 5.0 and 5.1
    • ActiveInteraction::Inputs no longer inherits from Hash though it still has most of the methods provided by Hash (methods that write were removed).
    • โœ‚ Removed Filter#clean (use Filter#process and call #value on the result)
    • โฌ†๏ธ The given? method has been moved onto inputs. (how to upgrade)
    • โšก๏ธ [#503][] - The record filter now treats blank strings value as nil. This was missed in the 4.0 update.
    • ๐Ÿ‘ The type_check callback has been renamed to filter to better match the reality of what it does. (how to upgrade)
    • ActiveIneraction::FilterColumn is now ActiveInteraction::Filter::Column
    • Errors on the array filter will now be indexed if the Rails config index_nested_attribute_errors is true or the :index_errors option is set to true. The :index_errors option always overrides the Rails config.
    • Invalid nested errors (:invalid_nested) are gone. Instead the nested errors will appear as they would in Rails if they were a has_many relationship being assigned attributes through a parent. (how to upgrade)

    โž• Added

    • Filter#process which returns an Input.

    ๐Ÿ›  Fixed

    • When passing an ActiveRecord::Relation in an array filter with no inner filter, the value returned was an ActiveRecord::Relation instead of an Array.

    โฌ†๏ธ Upgrading

    given?

    The given? method can now be found on inputs. It works the same as before.

  • 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.