#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
You can trigger a rebase of this PR 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)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps active_interaction from 3.6.2 to 5.3.0.
Release notes
Sourced from active_interaction's releases.
... (truncated)
Changelog
Sourced from active_interaction's changelog.
... (truncated)
Commits
1c50ad9
bump version to 5.3.01a03f38
fix #553 by implementing a better error and updating the READMEd880915
add changelog and readme updates for boolean predicate methods1ec6da2
Merge pull request #559 from heka1024/fluent-boolean-filter97ad195
Lintfaa9eb0
update changelog0fb505b
non-detailed errors should still pass on any options given when mergingb63537f
Provide more fluent interface to handle boolean filter620b5f7
fix shieldb036939
test for Ruby 3.2You can trigger a rebase of this PR 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)