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

Changelog History
Page 4

  • v2.1.2 Changes

    September 03, 2015

    ๐Ÿ›  Fixed

    • ๐Ÿ›  [#298][]: Fixed a bug that raised exceptions when passing invalid nested values.
  • v2.1.1 Changes

    August 04, 2015

    ๐Ÿ›  Fixed

    • 0๏ธโƒฃ [#296][]: Fixed a bug that silently converted invalid lazy default values to nil instead of raising an InvalidDefaultError.
  • v2.1.0 Changes

    July 30, 2015

    โž• Added

    • ๐Ÿ‘€ [#295][]: Added given? predicate method to see if an input was passed to run.
  • v2.0.1 Changes

    May 27, 2015

    ๐Ÿ›  Fixed

    • [#286][]: Change file filter to check for rewind instead of eof?.
    • ๐Ÿšš [#289][]: Actually removed model filter, which was deprecated in v1.6.0.
  • v2.0.0 Changes

    May 06, 2015

    ๐Ÿ”„ Changed

    • ๐Ÿ’… [#250][]: Replaced symbolic errors with Rails 5-style detailed errors.
    • 0๏ธโƒฃ [#269][]: Prevented proc defaults from being eagerly evaluated.
    • [#264][]: Renamed model filter to object.
    • ๐Ÿšš [#213][]: Remove transaction support. Database transactions will need to be handled manually now.
    • [#214][]: Results are returned from invalid outcomes.
    • [#164][]: Changed the hash filter to use hashes with indifferent access.
    • [#236][]: Changed the file filter to accept anything that responds to eof?.

    ๐Ÿ”’ Security

    • [#215][]: Rather than symbolizing keys all hashes now use indifferent access. This takes care of potential but unlikely DoS attacks noted in [#163][].

    โฌ†๏ธ Upgrading

    Please read through the Changed section for a full list of changes.

    The contents of the execute method are no longer wrapped in a transaction. You can manually add a transaction if you need it by using ๐Ÿšš ActiveRecord::Base.transaction. We've also removed the transaction method since it no longer has a use.

  • v1.6.1 Changes

    October 02, 2015

    ๐Ÿ›  Fixed

    • [#303][]: Allowed ActiveRecord associations as inputs to array filters.
  • v1.6 Changes

    class Example < ActiveInteraction::Base def execute errors.add_sym :base, :invalid errors.add_sym :base, :custom, '...' end end Example.run.errors.symbolic

  • v1.5.1 Changes

    April 28, 2015

    ๐Ÿ›  Fixed

    • [#265][]: Allow nil inputs for interface and model filters.
    • [#256][]: Improve error messages for nested invalid values.
  • v1.5.0 Changes

    February 05, 2015

    โž• Added

    • ๐Ÿ‘ [#248][]: Add has_attribute? support to an instance of an interaction.

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ [#248][]: Fix support for simple_form gem.
  • v1.4.1 Changes

    December 12, 2014

    ๐Ÿ›  Fixed

    • [#244][]: Fix improperly adding load paths to I18n.