---
title: "dry-logic 0.4.0 Breaking Changes on RubyGems | Since.dev"
description: "What each dry-logic release removed, renamed or changed: 11 breaking changes in 2 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/dry-logic
last_updated: 2026-12-04
---

# dry-logic breaking changes

dry-logic 0.4.0 (September 21, 2016) is its newest release with breaking changes, 9 of them. The first: Renamed Predicate. Every breaking API change we have recorded in dry-logic on RubyGems: 11 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.6.1`, released November 24, 2026. [Source repository](https://github.com/dry-rb/dry-logic)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.3.0](#v-0-3-0) to [0.4.0](#v-0-4-0): 9 breaking changes in 1 version.

## dry-logic 0.4.0 breaking changes

dry-logic 0.4.0, released September 21, 2016: 9 breaking changes.

- **Renamed** `Predicate`  

Predicate is now Rule::Predicate; update references to the new name. [github.com](https://github.com/dry-rb/dry-logic/blob/v0.4.0/CHANGELOG.md)
- **Renamed** `Rule.Conjunction`  

Use Operation::And in place of Rule::Conjunction. [github.com](https://github.com/dry-rb/dry-logic/blob/v0.4.0/CHANGELOG.md)
- **Renamed** `Rule.Disjunction`  

Use Operation::Or in place of Rule::Disjunction. [github.com](https://github.com/dry-rb/dry-logic/blob/v0.4.0/CHANGELOG.md)
- **Renamed** `Rule.Each`  

Use Operation::Each in place of Rule::Each. [github.com](https://github.com/dry-rb/dry-logic/blob/v0.4.0/CHANGELOG.md)
- **Renamed** `Rule.ExlusiveDisjunction`  

Use Operation::Xor in place of Rule::ExlusiveDisjunction. [github.com](https://github.com/dry-rb/dry-logic/blob/v0.4.0/CHANGELOG.md)
- **Renamed** `Rule.Implication`  

Use Operation::Implication in place of Rule::Implication. [github.com](https://github.com/dry-rb/dry-logic/blob/v0.4.0/CHANGELOG.md)
- **Renamed** `Rule.name`  

Use Rule#id in place of Rule#name. [github.com](https://github.com/dry-rb/dry-logic/blob/v0.4.0/CHANGELOG.md)
- **Renamed** `Rule.Set`  

Use Operation::Set in place of Rule::Set. [github.com](https://github.com/dry-rb/dry-logic/blob/v0.4.0/CHANGELOG.md)
- **Signature changed** `Rule.new`  

Rule.new accepts a predicate function as its first argument; update calls accordingly. [github.com](https://github.com/dry-rb/dry-logic/blob/v0.4.0/CHANGELOG.md)

## dry-logic 0.3.0 breaking changes

dry-logic 0.3.0, released July 1, 2016: 2 breaking changes.

- **Behavior changed**  

Predicates raise an error when called with an invalid arity. Code that calls predicates with the wrong number of arguments must be fixed to pass the correct number. [github.com](https://github.com/dry-rb/dry-logic/blob/v0.3.0/CHANGELOG.md)
- **Behavior changed**  

The predicates AST output now includes information about arguments (names and possible values). Code that inspects or depends on the exact AST structure may need to be updated. [github.com](https://github.com/dry-rb/dry-logic/blob/v0.3.0/CHANGELOG.md)

## Related packages

- [dry-auto_inject](https://since.dev/packages/gem/dry-auto%5Finject.md)
- [dry-cli](https://since.dev/packages/gem/dry-cli.md)
- [dry-configurable](https://since.dev/packages/gem/dry-configurable.md)
- [dry-container](https://since.dev/packages/gem/dry-container.md)
- [dry-core](https://since.dev/packages/gem/dry-core.md)
- [dry-initializer](https://since.dev/packages/gem/dry-initializer.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
