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

# virtus breaking changes

virtus 2.0.0 (June 7, 2021) is its newest release with breaking changes, 4 of them. The first: virtus 2.0.0 requires Ruby 2.0 or later. Every breaking API change we have recorded in virtus on RubyGems: 16 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.0.0`, released June 7, 2021. [Source repository](https://github.com/solnic/virtus)

Its 2.0.0 release requires Ruby 2.0 or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [1.0.0](#v-1-0-0) to [2.0.0](#v-2-0-0): 4 breaking changes in 1 version.
- From [0.1.0](#v-0-1-0) to [2.0.0](#v-2-0-0): 15 breaking changes in 4 versions.

## virtus 2.0.0 breaking changes

virtus 2.0.0, released June 7, 2021: 4 breaking changes.

- **Removed**  

The minimum Ruby version is now 2.0, so older Ruby runtimes can no longer run this release. [github.com](https://github.com/solnic/virtus/releases/tag/v2.0.0)
- **Behavior changed** `Virtus.Attribute.==`  

The == behavior of Virtus::Attribute changed, so code comparing attributes may get different results. [github.com](https://github.com/solnic/virtus/releases/tag/v2.0.0)
- **Configuration changed**  

The inflecto dependency was swapped for dry-inflector, so code relying on inflecto through this package may need to change. [github.com](https://github.com/solnic/virtus/releases/tag/v2.0.0)
- **Configuration changed**  

The external equalizer dependency was replaced by the internal virtus/equalizer implementation. [github.com](https://github.com/solnic/virtus/releases/tag/v2.0.0)

## virtus 1.0.0 breaking changes

virtus 1.0.0, released October 16, 2013: 5 breaking changes.

- **Removed** `Virtus.Attribute`  

Most attribute sub-classes are gone after the switch to axiom-types; code that depends on them must be updated. [github.com](https://github.com/solnic/virtus/blob/v1.0.0/Changelog.md)
- **Behavior changed**  

Non-lazy attribute defaults are assigned during construction, which may change when defaults are observed. [github.com](https://github.com/solnic/virtus/blob/v1.0.0/Changelog.md)
- **Behavior changed**  

Value object definitions use a new syntax; existing value object code may need updating. [github.com](https://github.com/solnic/virtus/blob/v1.0.0/Changelog.md)
- **Behavior changed**  

This release no longer works with Ruby 1.8.7. [github.com](https://github.com/solnic/virtus/blob/v1.0.0/Changelog.md)
- **Behavior changed**  

Using a reserved name as an attribute name now raises a clearer error. [github.com](https://github.com/solnic/virtus/blob/v1.0.0/Changelog.md)

## virtus 0.5.0 breaking changes

virtus 0.5.0, released June 8, 2012: 1 breaking change.

- **Behavior changed** `ValueObject`  

Duping or cloning a ValueObject instance is no longer allowed in this release. Code that calls dup or clone on these objects must be changed. [github.com](https://github.com/solnic/virtus/blob/v0.5.0/Changelog.md)

## virtus 0.3.0 breaking changes

virtus 0.3.0, released February 25, 2012: 5 breaking changes.

- **Removed** `Attribute.instance_variable_name`  

Attribute#instance_variable_name is removed; it was a private detail and should no longer be called. [github.com](https://github.com/solnic/virtus/blob/v0.3.0/Changelog.md)
- **Removed** `Attribute.reader_visibility`  

Attribute#reader_visibility is gone; call Attribute#public_reader? instead. [github.com](https://github.com/solnic/virtus/blob/v0.3.0/Changelog.md)
- **Removed** `Attribute.writer_visibility`  

Attribute#writer_visibility is gone; call Attribute#public_writer? instead. [github.com](https://github.com/solnic/virtus/blob/v0.3.0/Changelog.md)
- **Removed** `Equalizer.host_name`  

Equalizer#host_name is removed and no replacement is named. [github.com](https://github.com/solnic/virtus/blob/v0.3.0/Changelog.md)
- **Removed** `Equalizer.keys`  

Equalizer#keys is removed and no replacement is named. [github.com](https://github.com/solnic/virtus/blob/v0.3.0/Changelog.md)

## virtus 0.1.0 breaking changes

virtus 0.1.0, released February 5, 2012: 1 breaking change.

- **Behavior changed**  

Strings such as "on", "off", "y", "n", "yes" and "no" are now coerced to booleans, so code relying on them staying uncoerced will see different values. [github.com](https://github.com/solnic/virtus/blob/v0.1.0/Changelog.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.
