Skip to content

Bump active_interaction from 3.6.2 to 5.1.1 - #359

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/active_interaction-5.1.1
Closed

Bump active_interaction from 3.6.2 to 5.1.1#359
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/active_interaction-5.1.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 1, 2022

Copy link
Copy Markdown
Contributor

Bumps active_interaction from 3.6.2 to 5.1.1.

Release notes

Sourced from active_interaction's releases.

v5.1.1

Fixed

  • #539 - Fixed a caching error in default values.

v5.1.0

Added

  • Limit dependencies to the minimum requirements.

Fixed

  • #536 - compose accepts Inputs.
  • #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)

Added

  • Filter#process which returns an Input.

Fixed

  • When passing an ActiveRecord::Relation in an array filter with no inner filter, the value returned was an ActiveRecord::Relation instead of an Array.

Upgrading

given?

... (truncated)

Changelog

Sourced from active_interaction's changelog.

[5.1.1][] (2022-09-01)

Fixed

  • #539[] - Fixed a caching error in default values.

[5.1.0][] (2022-07-28)

Added

  • Limit dependencies to the minimum requirements.

Fixed

  • #536[] - compose accepts Inputs.
  • #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)

Added

  • Filter#process which returns an Input.

Fixed

  • When passing an ActiveRecord::Relation in an array filter with no inner filter, the value returned was an ActiveRecord::Relation instead of an Array.

Upgrading

... (truncated)

Commits

Dependabot compatibility score

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](https://github.com/AaronLasseigne/active_interaction) from 3.6.2 to 5.1.1.
- [Release notes](https://github.com/AaronLasseigne/active_interaction/releases)
- [Changelog](https://github.com/AaronLasseigne/active_interaction/blob/main/CHANGELOG.md)
- [Commits](AaronLasseigne/active_interaction@v3.6.2...v5.1.1)

---
updated-dependencies:
- dependency-name: active_interaction
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

@hound hound Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some files could not be reviewed due to errors:

.rubocop.yml: Style/DotPosition has the wrong namespace - should be Layout
.rubocop.yml: Style/DotPosition has the wrong namespace - should be Layout
.rubocop.yml: Style/FileName has the wrong namespace - should be Naming
.rubocop.yml: Style/PredicateName has the wrong namespace - should be Naming
.rubocop.yml: Style/SpaceInsideHashLiteralBraces has the wrong namespace - should be Layout
Error: obsolete parameter MaxLineLength (for Style/IfUnlessModifier) found in .rubocop.yml
`Style/IfUnlessModifier: MaxLineLength` has been removed. Use `Metrics/LineLength: Max` instead

@dependabot @github

dependabot Bot commented on behalf of github Oct 24, 2022

Copy link
Copy Markdown
Contributor Author

Superseded by #370.

@dependabot dependabot Bot closed this Oct 24, 2022
@dependabot
dependabot Bot deleted the dependabot/bundler/active_interaction-5.1.1 branch October 24, 2022 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants