All Versions
89
Latest Version
Avg Release Cycle
87 days
Latest Release
549 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