Releases: AaronLasseigne/active_interaction
Releases · AaronLasseigne/active_interaction
v3.6.2
Fixed
- #411 Cache the result of outcome validations. This also resolves duplicate callbacks on composed interactions.
v3.6.1
Fixed
- #429 Pass details on translated detailed errors.
v3.6.0
Added
- #422 A new
record
filter that accepts an object or calls a finder (e.g. find
) for the value passed. This is particularly useful for ActiveRecord objects.
- #420 A
converter
option on the object
filter that allows the value passed to be manually converted into an object of the correct type.
v3.5.3
Fixed
- #425 where
given?
did not properly handle string keys for hashes with nested content
v3.5.2
Fixed
- #417 - detailed errors added to
:base
are now properly merged
v3.5.1
Fixed
- #415: Reserved input names no longer error. Instead they are ignored. This fixes an issue with Rails 5.1 where
:format
was part of the params input sent to the interaction.
v3.5.0
Added
- #408:
given?
can now check for values in nested hashes within the input
v3.4.0
Added
- #387: Added an option to the
integer
filter to allow specification of a base when converting strings.
Fixed
- #384: Fixed wrapping
compose
call in an ActiveRecord transaction.
v3.3.0
Added
- #383: Allowed
ActionController::Parameters
as the input to ActiveInteraction::Base.run
. Previously only Hash
was allowed.
v3.2.1
- #377: Fixed a bug that allowed interactions to define inputs the conflicted with
ActiveInteraction::Base
's methods.
- #370: Improved the French translation. Thanks, @voondo!