zooniverse / education-api

Backend for Zooniverse Classrooms
1 stars 1 forks source link

Bump active_interaction from 3.6.2 to 5.1.1 #359

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 2 years ago

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)
dependabot[bot] commented 1 year ago

Superseded by #370.