hanami-controller breaking changes
Updated December 4, 2026
On this page
Latest version 2.3.3, released December 1, 2026. Source repository
Its 0.7.0 release drops Ruby 2.0 and 2.1. Ruby end of life dates.
- From 0.8.0 to 2.0.0: 55 breaking changes in 7 versions.
- From 0.6.0 to 2.0.0: 62 breaking changes in 9 versions.
hanami-controller 2.0.0 breaking changes
- Removed
Hanami.Action.Config.accept
Use #format to configure accepted formats. github.com - Removed
Hanami.Action.Config.default_request_format
Use #format for both request and response formats. github.com - Removed
Hanami.Action.Config.default_response_format
Use #format for both request and response formats. github.com - 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
hanami-controller 2.0.0.beta4 breaking changes
- Behavior changed
Action.accept
Requests with an unacceptable Accept header get 406, and an unacceptable Content-Type gets 415. github.com
hanami-controller 2.0.0.alpha8 breaking changes
- Behavior changed
Hanami.Action
Action base classes inside Hanami apps should inherit from Hanami::Application::Action. github.com
hanami-controller 2.0.0.alpha6 breaking changes
- Removed
Code running on Ruby MRI 2.6 or 2.7 must upgrade the Ruby version. github.com - Removed
Status codes 418, 420, 444, 449, 450, 451, 499, 598 and 599 are no longer supported. github.com
hanami-controller 2.0.0.alpha2 breaking changes
- Removed
Code running on Ruby MRI 2.5 must upgrade the Ruby version. github.com - Removed
Hanami.Action.handle_exception
Use Hanami::Action.config.handle_exception instead. github.com - Behavior changed
Hanami.Action.Flash
Hanami::Action::Flash is now based on Roda's FlashHash and may behave differently. github.com
hanami-controller 2.0.0.alpha1 breaking changes
- Removed
Code running on Ruby MRI 2.3 or 2.4 must upgrade the Ruby version before using this release. github.com - Removed
Hanami.Action.accept?
Use accept? on the request object. github.com - Removed
Hanami.Action.body=
Set the body on the response object. github.com - Removed
Hanami.Action.cache_control
Removes Action#cache_control in hanami-controller 2.0.0.alpha1 github.com - Removed
Hanami.Action.configuration
Removes Action.configuration in hanami-controller 2.0.0.alpha1 github.com - Removed
Hanami.Action.configuration.default_charset
Use #default_charset on the configuration instead. github.com - Removed
Hanami.Action.configuration.default_request_format
Use #default_request_format on the configuration instead. github.com - Removed
Hanami.Action.configuration.format
Register MIME types through the configuration instead. github.com - Removed
Hanami.Action.configuration.handle_exceptions
Removes handle_exceptions configuration option in hanami-controller 2.0.0.alpha1 github.com - Removed
Hanami.Action.cookies
Use cookies on the response object. github.com
And 33 more in this version. Sign up to see every change
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
hanami-controller 1.0.0.beta1 breaking changes
- 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
hanami-controller 0.8.0 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 - 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
hanami-controller 0.7.0 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 - Behavior changed
Hanami.Action.Params
Params only accept symbol keys now, so string-keyed access no longer works. github.com
And 3 more in this version.
hanami-controller 0.6.0 breaking changes
- Renamed
The project was renamed in this release. Code and references that use the old project name may need to be updated. github.com
Related packages
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.