#537 - Arrays with nested filters returned the wrong value.
v5.0.0
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. (see Upgrade section below)
#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.
(see Upgrade section below)
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.
(see Upgrade section below)
#537[] - Arrays with nested filters returned the wrong value.
[5.0.0][] (2022-06-24)
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)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps active_interaction from 3.6.2 to 5.2.0.
Release notes
Sourced from active_interaction's releases.
... (truncated)
Changelog
Sourced from active_interaction's changelog.
... (truncated)
Commits
70da431
bump version to 5.2.020fbbeb
adding a changelog entry for the prior bug fix94850dc
Merge pull request #546 from jonkgrimes/non-destructive-array-filter719c435
Modified the call tomap!
inside the ArrayFilter#process method to use44b7b63
update changelog with Spanish translation3e6f6b4
Merge pull request #544 from matiasasis/add-spanish-i18nc8ec4ac
adds spanish locale99f714f
fix #539 by not caching defaultsf50806d
bump to 5.1.029d077b
fix #537 by correcting nested array valuesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)