Skip to content

build(deps): bump dry-operation from 1.1.0 to 1.2.0 - #1188

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/dry-operation-1.2.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/dry-operation-1.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 24, 2026

Copy link
Copy Markdown
Contributor

Bumps dry-operation from 1.1.0 to 1.2.0.

Release notes

Sourced from dry-operation's releases.

v1.2.0

Added

  • Add a Validation extension, for validating operation input with Dry Validation. (@​aaronmallen and @​timriley in #34, #47)

    Define a contract with params, schema, or contract. The operation's keyword arguments are validated before the method runs, and the method receives the contract's output. If validation fails, the operation returns Failure[:invalid, result].

    class CreateUser < Dry::Operation
      include Dry::Operation::Extensions::Validation
    params do
    required(:name).filled(:string)
    end
    def call(name:)
    # ...
    end
    end

    By default, all keyword arguments are validated. Use for: to validate only one keyword argument, or keys: to validate a subset of them. All other keyword arguments are passed through untouched. Positional arguments are never validated.

    params(for: :attrs) do
      required(:name).filled(:string)
    end
    params(keys: %i[account_id scope]) do
    required(:account_id).filled(:string)
    optional(:scope).array(:string)
    end

  • #step now accepts any object that responds to #to_result, such as Try, Maybe, or Validated from Dry Monads. The object is converted to a result before it is processed. (@​timriley in #38)

Changed

  • Require dry-monads 1.10 or later. This makes sure that dry-monads' RSpec extension is available for testing your operations. (@​timriley in #45)
  • Require Ruby 3.3 or later. (@​timriley)

Compare v1.1.0 ... v1.2.0

Changelog

Sourced from dry-operation's changelog.

1.2.0 - 2026-11-20

Added

  • Add a Validation extension, for validating operation input with Dry Validation. (@​aaronmallen and @​timriley in #34, #47)

    Define a contract with params, schema, or contract. The operation's keyword arguments are validated before the method runs, and the method receives the contract's output. If validation fails, the operation returns Failure[:invalid, result].

    class CreateUser < Dry::Operation
      include Dry::Operation::Extensions::Validation
    params do
    required(:name).filled(:string)
    end
    def call(name:)
    # ...
    end
    end

    By default, all keyword arguments are validated. Use for: to validate only one keyword argument, or keys: to validate a subset of them. All other keyword arguments are passed through untouched. Positional arguments are never validated.

    params(for: :attrs) do
      required(:name).filled(:string)
    end
    params(keys: %i[account_id scope]) do
    required(:account_id).filled(:string)
    optional(:scope).array(:string)
    end

  • #step now accepts any object that responds to #to_result, such as Try, Maybe, or Validated from Dry Monads. The object is converted to a result before it is processed. (@​timriley in #38)

Changed

  • Require dry-monads 1.10 or later. This makes sure that dry-monads' RSpec extension is available for testing your operations. (@​timriley in #45)
  • Require Ruby 3.3 or later. (@​timriley)
Commits
  • 8d09489 Prepare for v1.2.0
  • bed6f1e File sync from hanakai-rb/repo-sync
  • 9a5c592 Simplify handling of validation input args (#47)
  • abc5b0d File sync from hanakai-rb/repo-sync
  • a64269e Use (pre)released activerecord-jdbcsqlite3-adapter (#48)
  • dfaa4d3 File sync from hanakai-rb/repo-sync
  • 0e57fb8 File sync from hanakai-rb/repo-sync
  • 83f0a3a Require dry-monads 1.10.0 or later (#45)
  • 6d96932 Pin activerecord-jdbc-adapter to dodge broken AR 8.1 support (#43)
  • 6659467 File sync from hanakai-rb/repo-sync
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [dry-operation](https://github.com/dry-rb/dry-operation) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/dry-rb/dry-operation/releases)
- [Changelog](https://github.com/dry-rb/dry-operation/blob/main/CHANGELOG.md)
- [Commits](dry-rb/dry-operation@v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: dry-operation
  dependency-version: 1.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Nov 24, 2026
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d49bfcb2-35a8-4241-a717-9210faba44e3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants