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
On this page
Latest version 2.1.3. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
- From 1.0.0 to 2.0.0: 29 breaking changes in 3 versions.
- From 0.2.0 to 2.0.0: 39 breaking changes in 5 versions.
trailblazer 2.0.0 breaking changes
- Removed
contract
Create.().contract no longer works. Get contract instances from the Result object via ["contract.default"]. github.com - Removed
Controller
Controller was removed from trailblazer and moved to the trailblazer-rails package. github.com - Removed
model
The model method no longer exists. Use self["model"] or write your own. github.com - Removed
Operation.callbacks
Calling Operation::callbacks without arguments was removed. Use Operation::["callback.<name>.class"] instead. github.com - Removed
Operation.Collection
Operation::Collection was removed. The document names Operation::present as the replacement. github.com - Removed
Operation.contract
Calling Operation::contract without arguments was removed. Use Operation::["contract.default.class"] instead. github.com - Removed
Operation.contract_class
Operation::contract_class was removed. Use Operation::["contract.default.class"] instead. github.com - Removed
Operation.contract_class=
Operation::contract_class= was removed. Use Operation::["contract.default.class"]= instead; it no longer inherits. github.com - Removed
Operation.Dispatch
Operation::Dispatch was removed and renamed to Operation::Callback. Update references. github.com - Removed
Operation.errors
Operation#errors was removed. Read result[:errors] when the operation is invalid. github.com - Removed
Operation.present
Operation::present was removed. Call Operation::new, or Operation::build_operation when using builders. github.com - Removed
Operation.representer_class
Operation::representer_class was removed. Use Operation::["representer.class"] instead. github.com - Removed
Operation.representer_class=
Operation::representer_class= was removed. Use Operation::["representer.class"]= instead. github.com - Removed
Operation.run
Operation::run was removed and no replacement is named. Stop calling it. github.com - Removed
Operation.valid?
Operation::valid? was removed. Check result.success? on the result object instead. github.com - Removed
raise_on_invalid
The private raise_on_invalid option was removed. Use Contract::Raise in tests if needed. github.com - Removed
Representer
Representer no longer infers representers from Reform 2.0 contracts. Reform 2.0 still works with the other components. github.com - Renamed
:create
The :create step is now :new. Update references to the new name. github.com - Renamed
Policy
Policy is now named Policy::Pundit. Update references to the new name. github.com - Behavior changed
:find_by
The :find_by step now diverts to the left track. Check code that relies on its previous track. github.com - Behavior changed
Builder
Builder is now included with include Builder, not extended. Update your builder declarations. github.com - Behavior changed
Policy
Policy failures no longer raise; read Operation#["policy.result"] instead. github.com - Behavior changed
Representer
Automatic representer inference from a contract is gone. Include Representer::InferFromContract to keep it. github.com - Signature changed
builds
builds now takes a single options hash. Update callers that pass other arguments. github.com - Signature changed
contract
The deprecated contract signature was removed. Use ([model, options, contract_class]). github.com - Signature changed
validate
The deprecated validate signature was removed. Use (params[, model, options, contract_class]). github.com
trailblazer 2.0.0.rc1 breaking changes
- Removed
consider
consider was removed because step now evaluates the step's result and deviates. Use step instead. github.com
trailblazer 2.0.0.beta2 breaking changes
- Removed
Operation.Controller
Operation::Controller is gone in this release. Remove its use from your code. github.com - Renamed
Persist
Persist is now Contract::Persist. Update references to the new name. github.com
trailblazer 1.0.0 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 - Renamed
Operation.CRUD
Operation::CRUD is now Operation::Model. Update references to the new name. github.com - 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 - Behavior changed
Controller.present
Controller#present no longer instantiates and assigns @form. Code reading @form after present must build it another way. github.com - 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
trailblazer 0.3.0 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 - 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 - Behavior changed
run
The return value of process is no longer returned from ::run; it always returns the operation instance instead. github.com - 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 - Configuration changed
Worker
Worker only works with Reform version 2.0.0 or later, so projects on older Reform versions must upgrade. github.com
trailblazer 0.2.0 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 - Behavior changed
Controller.respond
In Unicorn and similar environments, Controller#respond now uses request.body.read. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.