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

# hanami-controller breaking changes

hanami-controller 2.0.0 (November 22, 2022) is its newest release with breaking changes, 4 of them. The first: Removed Hanami.Action.Config.accept. Every breaking API change we have recorded in hanami-controller on RubyGems: 63 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.3.3`, released December 1, 2026. [Source repository](https://github.com/hanami/hanami-controller)

Its 0.7.0 release drops Ruby 2.0 and 2.1. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.8.0](#v-0-8-0) to [2.0.0](#v-2-0-0): 55 breaking changes in 7 versions.
- From [0.6.0](#v-0-6-0) to [2.0.0](#v-2-0-0): 62 breaking changes in 9 versions.

## hanami-controller 2.0.0 breaking changes

hanami-controller 2.0.0, released November 22, 2022: 4 breaking changes.

- **Removed** `Hanami.Action.Config.accept`  

Use #format to configure accepted formats. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Action.Config.default_request_format`  

Use #format for both request and response formats. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Action.Config.default_response_format`  

Use #format for both request and response formats. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `Hanami.Action.Config.format`  

Use config.actions.formats.add to register custom MIME types; format now only sets the wanted format. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)

## hanami-controller 2.0.0.beta4 breaking changes

hanami-controller 2.0.0.beta4, released November 22, 2022: 1 breaking change.

- **Behavior changed** `Action.accept`  

Requests with an unacceptable Accept header get 406, and an unacceptable Content-Type gets 415. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)

## hanami-controller 2.0.0.alpha8 breaking changes

hanami-controller 2.0.0.alpha8, released November 22, 2022: 1 breaking change.

- **Behavior changed** `Hanami.Action`  

Action base classes inside Hanami apps should inherit from Hanami::Application::Action. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)

## hanami-controller 2.0.0.alpha6 breaking changes

hanami-controller 2.0.0.alpha6, released November 22, 2022: 2 breaking changes.

- **Removed**  

Code running on Ruby MRI 2.6 or 2.7 must upgrade the Ruby version. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)
- **Removed**  

Status codes 418, 420, 444, 449, 450, 451, 499, 598 and 599 are no longer supported. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)

## hanami-controller 2.0.0.alpha2 breaking changes

hanami-controller 2.0.0.alpha2, released November 22, 2022: 3 breaking changes.

- **Removed**  

Code running on Ruby MRI 2.5 must upgrade the Ruby version. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Action.handle_exception`  

Use Hanami::Action.config.handle_exception instead. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `Hanami.Action.Flash`  

Hanami::Action::Flash is now based on Roda's FlashHash and may behave differently. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)

## hanami-controller 2.0.0.alpha1 breaking changes

hanami-controller 2.0.0.alpha1, released November 22, 2022: 43 breaking changes.

- **Removed**  

Code running on Ruby MRI 2.3 or 2.4 must upgrade the Ruby version before using this release. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Action.accept?`  

Use accept? on the request object. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Action.body=`  

Set the body on the response object. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Action.cache_control`  

Removes Action#cache_control in hanami-controller 2.0.0.alpha1 [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Action.configuration`  

Removes Action.configuration in hanami-controller 2.0.0.alpha1 [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Action.configuration.default_charset`  

Use #default_charset on the configuration instead. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Action.configuration.default_request_format`  

Use #default_request_format on the configuration instead. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Action.configuration.format`  

Register MIME types through the configuration instead. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Action.configuration.handle_exceptions`  

Removes handle_exceptions configuration option in hanami-controller 2.0.0.alpha1 [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Action.cookies`  

Use cookies on the response object. [github.com](https://github.com/hanami/hanami-controller/blob/v2.0.0/CHANGELOG.md)

And 33 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

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

### hanami-controller 1.0.0.beta1 breaking changes

hanami-controller 1.0.0.beta1, released April 6, 2017: 1 breaking change.

- **Configuration changed**  

The gem now works only with Rack 2.0. Apps still on Rack 1 must upgrade Rack before using this version. [github.com](https://github.com/hanami/hanami-controller/blob/v1.0.0/CHANGELOG.md)

### hanami-controller 0.8.0 breaking changes

hanami-controller 0.8.0, released November 15, 2016: 2 breaking changes.

- **Behavior changed** `BaseParams`  

Raw params are no longer converted to symbol keys, so code relying on symbolized raw params may need to adjust. [github.com](https://github.com/hanami/hanami-controller/blob/v0.8.0/CHANGELOG.md)
- **Signature changed** `BaseParams.get`  

Calling get with a single dot-notation string no longer works; pass each key as a separate symbol argument instead. [github.com](https://github.com/hanami/hanami-controller/blob/v0.8.0/CHANGELOG.md)

### hanami-controller 0.7.0 breaking changes

hanami-controller 0.7.0, released July 22, 2016: 5 breaking changes.

- **Removed**  

Ruby 2.0 and 2.1 are no longer supported. JRuby 9.0.5.0 or later is the official JRuby support. [github.com](https://github.com/hanami/hanami-controller/blob/v0.7.0/CHANGELOG.md)
- **Behavior changed** `Hanami.Action.Params`  

Params only accept symbol keys now, so string-keyed access no longer works. [github.com](https://github.com/hanami/hanami-controller/blob/v0.7.0/CHANGELOG.md)

And 3 more in this version.

### hanami-controller 0.6.0 breaking changes

hanami-controller 0.6.0, released January 22, 2016: 1 breaking change.

- **Renamed**  

The project was renamed in this release. Code and references that use the old project name may need to be updated. [github.com](https://github.com/hanami/hanami-controller/blob/v0.6.0/CHANGELOG.md)

## Related packages

- [hanami-cli](https://since.dev/packages/gem/hanami-cli.md)
- [hanami-router](https://since.dev/packages/gem/hanami-router.md)
- [hanami-utils](https://since.dev/packages/gem/hanami-utils.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.
