All Versions
89
Latest Version
Avg Release Cycle
87 days
Latest Release
545 days ago
Changelog History
Page 1
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
acceptsInputs
. - [#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 fromHash
though it still has most of the methods provided byHash
(methods that write were removed).- โ Removed
Filter#clean
(useFilter#process
and call#value
on the result) - โฌ๏ธ The
given?
method has been moved ontoinputs
. (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 tofilter
to better match the reality of what it does. (how to upgrade) ActiveIneraction::FilterColumn
is nowActiveInteraction::Filter::Column
- Errors on the array filter will now be indexed if the Rails config
index_nested_attribute_errors
istrue
or the:index_errors
option is set totrue
. 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 ahas_many
relationship being assigned attributes through a parent. (how to upgrade)
โ Added
Filter#process
which returns anInput
.
๐ Fixed
- When passing an
ActiveRecord::Relation
in an array filter with no inner filter, the value returned was anActiveRecord::Relation
instead of an Array.
โฌ๏ธ Upgrading
given?
The
given?
method can now be found oninputs
. 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.
- [#480][] - Interfaces used inside hashes failed to recognize
-
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 acceptsInputs
- [#499][] -
-
v4.0.2 Changes
June 22, 2021๐ Fixed
- [#505][] - Nested Interface filters using the
:methods
option threw an error.
- [#505][] - Nested Interface filters using the