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

# trailblazer breaking changes

trailblazer 2.0.0 (December 15, 2016) is its newest release with breaking changes, 26 of them. The first: Removed contract. Every breaking API change we have recorded in trailblazer on RubyGems: 41 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.1.3`. [Source repository](https://github.com/trailblazer/trailblazer)

Packages on RubyGems run on Ruby. [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): 29 breaking changes in 3 versions.
- From [0.2.0](#v-0-2-0) to [2.0.0](#v-2-0-0): 39 breaking changes in 5 versions.

## trailblazer 2.0.0 breaking changes

trailblazer 2.0.0, released December 15, 2016: 26 breaking changes.

- **Removed** `contract`  

Create.().contract no longer works. Get contract instances from the Result object via \["contract.default"\]. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Removed** `Controller`  

Controller was removed from trailblazer and moved to the trailblazer-rails package. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Removed** `model`  

The model method no longer exists. Use self\["model"\] or write your own. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Removed** `Operation.callbacks`  

Calling Operation::callbacks without arguments was removed. Use Operation::\["callback.\<name>.class"\] instead. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Removed** `Operation.Collection`  

Operation::Collection was removed. The document names Operation::present as the replacement. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Removed** `Operation.contract`  

Calling Operation::contract without arguments was removed. Use Operation::\["contract.default.class"\] instead. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Removed** `Operation.contract_class`  

Operation::contract_class was removed. Use Operation::\["contract.default.class"\] instead. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Removed** `Operation.contract_class=`  

Operation::contract_class= was removed. Use Operation::\["contract.default.class"\]= instead; it no longer inherits. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Removed** `Operation.Dispatch`  

Operation::Dispatch was removed and renamed to Operation::Callback. Update references. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Removed** `Operation.errors`  

Operation#errors was removed. Read result\[:errors\] when the operation is invalid. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Removed** `Operation.present`  

Operation::present was removed. Call Operation::new, or Operation::build_operation when using builders. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Removed** `Operation.representer_class`  

Operation::representer_class was removed. Use Operation::\["representer.class"\] instead. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Removed** `Operation.representer_class=`  

Operation::representer_class= was removed. Use Operation::\["representer.class"\]= instead. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Removed** `Operation.run`  

Operation::run was removed and no replacement is named. Stop calling it. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Removed** `Operation.valid?`  

Operation::valid? was removed. Check result.success? on the result object instead. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Removed** `raise_on_invalid`  

The private raise_on_invalid option was removed. Use Contract::Raise in tests if needed. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Removed** `Representer`  

Representer no longer infers representers from Reform 2.0 contracts. Reform 2.0 still works with the other components. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Renamed** `:create`  

The :create step is now :new. Update references to the new name. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Renamed** `Policy`  

Policy is now named Policy::Pundit. Update references to the new name. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Behavior changed** `:find_by`  

The :find_by step now diverts to the left track. Check code that relies on its previous track. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Behavior changed** `Builder`  

Builder is now included with include Builder, not extended. Update your builder declarations. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Behavior changed** `Policy`  

Policy failures no longer raise; read Operation#\["policy.result"\] instead. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Behavior changed** `Representer`  

Automatic representer inference from a contract is gone. Include Representer::InferFromContract to keep it. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Signature changed** `builds`  

builds now takes a single options hash. Update callers that pass other arguments. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Signature changed** `contract`  

The deprecated contract signature was removed. Use (\[model, options, contract_class\]). [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Signature changed** `validate`  

The deprecated validate signature was removed. Use (params\[, model, options, contract_class\]). [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)

## trailblazer 2.0.0.rc1 breaking changes

trailblazer 2.0.0.rc1, released December 15, 2016: 1 breaking change.

- **Removed** `consider`  

consider was removed because step now evaluates the step's result and deviates. Use step instead. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)

## trailblazer 2.0.0.beta2 breaking changes

trailblazer 2.0.0.beta2, released December 15, 2016: 2 breaking changes.

- **Removed** `Operation.Controller`  

Operation::Controller is gone in this release. Remove its use from your code. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)
- **Renamed** `Persist`  

Persist is now Contract::Persist. Update references to the new name. [github.com](https://github.com/trailblazer/trailblazer/blob/v2.0.0/CHANGES.md)

## trailblazer 1.0.0 breaking changes

trailblazer 1.0.0, released September 25, 2015: 5 breaking changes.

- **Removed**  

Rails support files are no longer in the trailblazer gem. Apps in a Rails environment must add the trailblazer-rails gem. [github.com](https://github.com/trailblazer/trailblazer/blob/v1.0.0/CHANGES.md)
- **Renamed** `Operation.CRUD`  

Operation::CRUD is now Operation::Model. Update references to the new name. [github.com](https://github.com/trailblazer/trailblazer/blob/v1.0.0/CHANGES.md)
- **Behavior changed** `Controller.form`  

Controller#form now invokes #prepopulate! before rendering the view. Code relying on the previous rendering flow may behave differently. [github.com](https://github.com/trailblazer/trailblazer/blob/v1.0.0/CHANGES.md)
- **Behavior changed** `Controller.present`  

Controller#present no longer instantiates and assigns @form. Code reading @form after present must build it another way. [github.com](https://github.com/trailblazer/trailblazer/blob/v1.0.0/CHANGES.md)
- **Signature changed** `Operation.initialize`  

Operation#initialize now takes params and #run takes none, instead of initialize() and run(params). Custom operation subclasses must follow the new signatures. [github.com](https://github.com/trailblazer/trailblazer/blob/v1.0.0/CHANGES.md)

## trailblazer 0.3.0 breaking changes

trailblazer 0.3.0, released June 30, 2015: 5 breaking changes.

- **Behavior changed** `call`  

The return value of process is no longer returned from ::call; it always returns the operation instance instead. [github.com](https://github.com/trailblazer/trailblazer/blob/v0.3.0/CHANGES.md)
- **Behavior changed** `Operation.Dispatch`  

Operation::Dispatch was changed to provide imperative callbacks. Code relying on its previous behavior may need to be updated. [github.com](https://github.com/trailblazer/trailblazer/blob/v0.3.0/CHANGES.md)
- **Behavior changed** `run`  

The return value of process is no longer returned from ::run; it always returns the operation instance instead. [github.com](https://github.com/trailblazer/trailblazer/blob/v0.3.0/CHANGES.md)
- **Behavior changed** `validate`  

The return value of validate is now true or false, so code that relied on its previous return value may need to change. [github.com](https://github.com/trailblazer/trailblazer/blob/v0.3.0/CHANGES.md)
- **Configuration changed** `Worker`  

Worker only works with Reform version 2.0.0 or later, so projects on older Reform versions must upgrade. [github.com](https://github.com/trailblazer/trailblazer/blob/v0.3.0/CHANGES.md)

## trailblazer 0.2.0 breaking changes

trailblazer 0.2.0, released January 14, 2015: 2 breaking changes.

- **Behavior changed** `Controller.present`  

Controller#present no longer calls respond_to but lets you do the rendering yourself. Respond-style presentation will be re-introduced later using respond(present: true). [github.com](https://github.com/trailblazer/trailblazer/blob/v0.2.0/CHANGES.md)
- **Behavior changed** `Controller.respond`  

In Unicorn and similar environments, Controller#respond now uses request.body.read. [github.com](https://github.com/trailblazer/trailblazer/blob/v0.2.0/CHANGES.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.
