hanami breaking changes
Updated December 4, 2026
On this page
Latest version 3.0.3, released November 24, 2026. Source repository
Its 3.0.0 release requires Ruby 3.3 or later. Ruby end of life dates.
- From 0.9.0 to 3.0.0: 53 breaking changes in 14 versions.
- From 0.7.0 to 3.0.0: 66 breaking changes in 16 versions.
hanami 3.0.0 breaking changes
- Removed
The release requires Ruby 3.3 or newer, so apps on older Ruby versions must upgrade Ruby before upgrading. github.com - Removed
Body parsing now lives in Hanami Action, so apps that relied on the built-in middleware must handle body parsing there. github.com - Behavior changed
Log output in the development env is now colored by default, which changes what log output looks like. github.com - Behavior changed
SQL query logs are emitted as structured log entries formatted like request logs, which changes their output format. github.com - Default changed
All components are memoized by default except in the test env; apps that need the old behavior must opt out via config.no_memoize. github.com - Default changed
The default log level for SQL and other database statements changed from info to debug, so these logs no longer appear at info level by default. github.com
hanami 2.0.0.rc1 breaking changes
- Removed
config.session
Use config.actions.sessions instead. github.com - Renamed
Hanami.Logger
Hanami::Logger is replaced by Dry::Logger. github.com
hanami 2.0.0.beta4 breaking changes
- Renamed
Hanami.App.configuration
Use App.config instead of App.configuration. github.com - Renamed
Hanami.Configuration
Use Hanami::Config instead. github.com
hanami 2.0.0.beta2 breaking changes
- Removed
dry-types
Generated apps must add dry-types to their Gemfile themselves. github.com - Removed
Hanami.Settings.settings
Access settings via App["settings"] or Slice["settings"] instead. github.com - Behavior changed
Hanami.Settings
Settings classes change how autoloaded constants are accessed; beta3 behavior was later reverted. github.com
hanami 2.0.0.beta1 breaking changes
- Removed
Hanami.Application.Routes
Use Hanami::Routes and similar names without the Application namespace. github.com - Removed
Hanami.Configuration.Router.routes_path
These router configuration settings are removed. github.com - Removed
Hanami.Configuration.settings_path
These configuration settings are removed. github.com - Removed
Hanami.Configuration.source_dirs
The source_dirs setting is removed due to new autoloading. github.com - Renamed
config.application.rb
The app file is now config/app.rb. github.com - Renamed
Hanami.application
Use Hanami.app instead. github.com - Renamed
Hanami.Application
Use Hanami::App as the base class for the app. github.com
hanami 2.0.0.alpha8 breaking changes
- Removed
Hanami.Application.namespace_name
Use application_name for these values. github.com - Removed
Hanami.Slice.namespace_path
Access the path via slice_name instead. github.com - Behavior changed
Hanami.Slice.slice_name
Slice.slice_name now returns an Hanami::SliceName instance rather than a Symbol. github.com
Older versions
11 older versions, each with its first changes. Sign up to see every change
Show 11 older versions
hanami 2.0.0.alpha7 breaking changes
- Removed
config.slice
Configure slices inside their concrete slice classes instead. github.com - Behavior changed
Hanami.Slice
Slices are now concrete classes inheriting from Hanami::Slice instead of instances. github.com
hanami 2.0.0.alpha6 breaking changes
- Removed
Ruby 2.6 and 2.7 are no longer supported. github.com - Renamed
Hanami.init
Use Hanami.prepare and require hanami/prepare. github.com
And 5 more in this version.
hanami 2.0.0.alpha5 breaking changes
- Removed
config.source_dirs
component_dir_paths is replaced by the nested source_dirs setting. github.com - Renamed
Hanami.app
Use Hanami.rack_app instead of Hanami.app for the router. github.com
hanami 2.0.0.alpha3 breaking changes
- Removed
settings_loader
Use settings_store instead of settings_loader and settings_loader_options. github.com
hanami 2.0.0.alpha2 breaking changes
- Removed
Ruby 2.5 is no longer supported. github.com - Removed
config.cookies
Use config.actions.cookies instead. github.com
And 2 more in this version.
hanami 2.0.0.alpha1 breaking changes
- Removed
Ruby 2.3 and 2.4 are no longer supported. github.com - Removed
apps.web.config.routes.rb
Routes must be defined in config/routes.rb. github.com
And 6 more in this version.
hanami 1.0.0.beta3 breaking changes
- Removed
ApplicationConfiguration.default_format
The deprecated default_format method was removed. Use default_request_format instead. github.com
hanami 1.0.0.beta1 breaking changes
- Removed
logger
The logger setting was removed from Hanami applications. Remove logger settings from config/environment.rb and use Hanami.logger instead. github.com - Removed
Web.logger
The per-application logger was removed. Use Hanami.logger as the project logger. github.com
And 3 more in this version.
hanami 0.9.0 breaking changes
- Removed
Experimental code reloading support for entr(1) is removed. github.com - Removed
The application architecture is no longer supported, so apps using it must move to another supported architecture. github.com
And 7 more in this version.
hanami 0.8.0 breaking changes
- Removed
The release no longer supports Ruby 2.0 and 2.1. Projects on those Ruby versions must upgrade Ruby before using this version. github.com - Removed
lib.config.mapping.rb
New projects no longer get lib/config/mapping.rb, and it is no longer loaded. Move any mapping code that lives there. github.com
And 2 more in this version.
hanami 0.7.0 breaking changes
- Renamed
The project was renamed in this release. Code that depends on the old project name may need to be updated; the document does not name the new name. 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.