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

# draper breaking changes

draper 4.0.0 (February 5, 2020) is its newest release with breaking changes, 2 of them. The first: draper 4.0.0 requires Ruby 2.4 or later. Every breaking API change we have recorded in draper on RubyGems: 21 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.6`. [Source repository](https://github.com/drapergem/draper)

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

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 2 breaking changes in 1 version.
- From [1.0.0](#v-1-0-0) to [4.0.0](#v-4-0-0): 16 breaking changes in 4 versions.

## draper 4.0.0 breaking changes

draper 4.0.0, released February 5, 2020: 2 breaking changes.

- **Removed**  

Ruby versions older than 2.4 are no longer supported, so code running on them must upgrade Ruby before using this release. [github.com](https://github.com/drapergem/draper/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed**  

A public model method that the decorator overrides with a private method is no longer delegated to the model, so callers relying on that delegation will see different behavior. [github.com](https://github.com/drapergem/draper/blob/v4.0.0/CHANGELOG.md)

## draper 3.0.0 breaking changes

draper 3.0.0, released May 8, 2017: 9 breaking changes.

- **Removed**  

Functionality that was previously deprecated has been removed. Code still using it will stop working. [github.com](https://github.com/drapergem/draper/blob/v3.0.0/CHANGELOG.md)
- **Removed** `source`  

The conflicting source aliases were removed. Stop calling them and use the remaining API instead. [github.com](https://github.com/drapergem/draper/blob/v3.0.0/CHANGELOG.md)
- **Removed** `source_class`  

The conflicting source aliases were removed. Stop calling them and use the remaining API instead. [github.com](https://github.com/drapergem/draper/blob/v3.0.0/CHANGELOG.md)
- **Removed** `source_class?`  

The conflicting source aliases were removed. Stop calling them and use the remaining API instead. [github.com](https://github.com/drapergem/draper/blob/v3.0.0/CHANGELOG.md)
- **Removed** `to_source`  

The conflicting source aliases were removed. Stop calling them and use the remaining API instead. [github.com](https://github.com/drapergem/draper/blob/v3.0.0/CHANGELOG.md)
- **Renamed** `UninferrableSourceError`  

The error class was renamed. Update any code that rescues or references UninferrableSourceError. [github.com](https://github.com/drapergem/draper/blob/v3.0.0/CHANGELOG.md)
- **Behavior changed**  

When a NameError is raised, decoration now always defaults to CollectionDecorator. [github.com](https://github.com/drapergem/draper/blob/v3.0.0/CHANGELOG.md)
- **Behavior changed**  

The view context is now cleared when the controller changes. Code relying on the old view context may behave differently. [github.com](https://github.com/drapergem/draper/blob/v3.0.0/CHANGELOG.md)
- **Behavior changed** `===`  

The === method is only delegated when the other object inherits from Decorator. Check code that compares decorators with other objects. [github.com](https://github.com/drapergem/draper/blob/v3.0.0/CHANGELOG.md)

## draper 3.0.0.pre1 breaking changes

draper 3.0.0.pre1, released May 8, 2017: 3 breaking changes.

- **Removed**  

Rails 5 is now supported, and Rails 4.0 through 4.2 are no longer supported. Upgrade Rails before upgrading draper. [github.com](https://github.com/drapergem/draper/blob/v3.0.0/CHANGELOG.md)
- **Removed**  

Draper no longer supports ActiveModelSerializers 0.8. Upgrade ActiveModelSerializers before upgrading draper. [github.com](https://github.com/drapergem/draper/blob/v3.0.0/CHANGELOG.md)
- **Removed**  

Ruby 2.2 or newer is now required. Older Ruby versions are no longer supported. [github.com](https://github.com/drapergem/draper/blob/v3.0.0/CHANGELOG.md)

## draper 2.0.0 breaking changes

draper 2.0.0, released March 27, 2015: 2 breaking changes.

- **Removed**  

Ruby 1.9.3 and 2.0 are no longer supported in this release. Apps on those Ruby versions must stay on draper 1.x or upgrade Ruby. [github.com](https://github.com/drapergem/draper/blob/v2.0.0/CHANGELOG.md)
- **Removed**  

Rails 3.2 is no longer supported in this release. Apps still on Rails 3.2 must stay on draper 1.x or upgrade Rails. [github.com](https://github.com/drapergem/draper/blob/v2.0.0/CHANGELOG.md)

## draper 1.0.0 breaking changes

draper 1.0.0, released January 14, 2013: 1 breaking change.

- **Behavior changed** `Decorator`  

Security was removed from Decorator; delegation must be done manually with delegate. [github.com](https://github.com/drapergem/draper/blob/v1.0.0/CHANGELOG.md)

## draper 1.0.0.beta2 breaking changes

draper 1.0.0.beta2, released January 14, 2013: 1 breaking change.

- **Renamed** `has_finders`  

The has_finders method is renamed to decorates_finders. [github.com](https://github.com/drapergem/draper/blob/v1.0.0/CHANGELOG.md)

## Older versions

1 older version, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### draper 1.0.0.beta1 breaking changes

draper 1.0.0.beta1, released January 14, 2013: 3 breaking changes.

- **Removed** `decorates`  

Decorators infer the class they decorate, so the decorates call inside models should be removed. [github.com](https://github.com/drapergem/draper/blob/v1.0.0/CHANGELOG.md)
- **Renamed** `Draper.Base`  

Draper::Base is renamed to Draper::Decorator. Update your decorators to inherit from Draper::Decorator. [github.com](https://github.com/drapergem/draper/blob/v1.0.0/CHANGELOG.md)

And 1 more in this version.

## 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.
