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

# hanami breaking changes

hanami 3.0.0 (July 1, 2026) is its newest release with breaking changes, 6 of them. The first: hanami 3.0.0 requires Ruby 3.3 or later. Every breaking API change we have recorded in hanami on RubyGems: 67 breaking changes in 17 versions. Below, its 17 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.0.3`, released November 24, 2026. [Source repository](https://github.com/hanami/hanami)

Its 3.0.0 release requires [Ruby 3.3](https://since.dev/calendar/ruby/3.3.md) or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [0.9.0](#v-0-9-0) to [3.0.0](#v-3-0-0): 53 breaking changes in 14 versions.
- From [0.7.0](#v-0-7-0) to [3.0.0](#v-3-0-0): 66 breaking changes in 16 versions.

## hanami 3.0.0 breaking changes

hanami 3.0.0, released July 1, 2026: 6 breaking changes.

- **Removed**  

The release requires Ruby 3.3 or newer, so apps on older Ruby versions must upgrade Ruby before upgrading. [github.com](https://github.com/hanami/hanami/releases/tag/v3.0.0)
- **Removed**  

Body parsing now lives in Hanami Action, so apps that relied on the built-in middleware must handle body parsing there. [github.com](https://github.com/hanami/hanami/releases/tag/v3.0.0)
- **Behavior changed**  

Log output in the development env is now colored by default, which changes what log output looks like. [github.com](https://github.com/hanami/hanami/releases/tag/v3.0.0)
- **Behavior changed**  

SQL query logs are emitted as structured log entries formatted like request logs, which changes their output format. [github.com](https://github.com/hanami/hanami/releases/tag/v3.0.0)
- **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](https://github.com/hanami/hanami/releases/tag/v3.0.0)
- **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](https://github.com/hanami/hanami/releases/tag/v3.0.0)

## hanami 2.0.0.rc1 breaking changes

hanami 2.0.0.rc1, released November 22, 2022: 2 breaking changes.

- **Removed** `config.session`  

Use config.actions.sessions instead. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Renamed** `Hanami.Logger`  

Hanami::Logger is replaced by Dry::Logger. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)

## hanami 2.0.0.beta4 breaking changes

hanami 2.0.0.beta4, released November 22, 2022: 2 breaking changes.

- **Renamed** `Hanami.App.configuration`  

Use App.config instead of App.configuration. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Renamed** `Hanami.Configuration`  

Use Hanami::Config instead. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)

## hanami 2.0.0.beta2 breaking changes

hanami 2.0.0.beta2, released November 22, 2022: 3 breaking changes.

- **Removed** `dry-types`  

Generated apps must add dry-types to their Gemfile themselves. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Settings.settings`  

Access settings via App\["settings"\] or Slice\["settings"\] instead. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `Hanami.Settings`  

Settings classes change how autoloaded constants are accessed; beta3 behavior was later reverted. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)

## hanami 2.0.0.beta1 breaking changes

hanami 2.0.0.beta1, released November 22, 2022: 7 breaking changes.

- **Removed** `Hanami.Application.Routes`  

Use Hanami::Routes and similar names without the Application namespace. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Configuration.Router.routes_path`  

These router configuration settings are removed. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Configuration.settings_path`  

These configuration settings are removed. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Configuration.source_dirs`  

The source_dirs setting is removed due to new autoloading. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Renamed** `config.application.rb`  

The app file is now config/app.rb. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Renamed** `Hanami.application`  

Use Hanami.app instead. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Renamed** `Hanami.Application`  

Use Hanami::App as the base class for the app. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)

## hanami 2.0.0.alpha8 breaking changes

hanami 2.0.0.alpha8, released November 22, 2022: 3 breaking changes.

- **Removed** `Hanami.Application.namespace_name`  

Use application_name for these values. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Removed** `Hanami.Slice.namespace_path`  

Access the path via slice_name instead. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `Hanami.Slice.slice_name`  

Slice.slice_name now returns an Hanami::SliceName instance rather than a Symbol. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)

## Older versions

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

### hanami 2.0.0.alpha7 breaking changes

hanami 2.0.0.alpha7, released November 22, 2022: 2 breaking changes.

- **Removed** `config.slice`  

Configure slices inside their concrete slice classes instead. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `Hanami.Slice`  

Slices are now concrete classes inheriting from Hanami::Slice instead of instances. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)

### hanami 2.0.0.alpha6 breaking changes

hanami 2.0.0.alpha6, released November 22, 2022: 7 breaking changes.

- **Removed**  

Ruby 2.6 and 2.7 are no longer supported. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Renamed** `Hanami.init`  

Use Hanami.prepare and require hanami/prepare. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)

And 5 more in this version.

### hanami 2.0.0.alpha5 breaking changes

hanami 2.0.0.alpha5, released November 22, 2022: 2 breaking changes.

- **Removed** `config.source_dirs`  

component_dir_paths is replaced by the nested source_dirs setting. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Renamed** `Hanami.app`  

Use Hanami.rack_app instead of Hanami.app for the router. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)

### hanami 2.0.0.alpha3 breaking changes

hanami 2.0.0.alpha3, released November 22, 2022: 1 breaking change.

- **Removed** `settings_loader`  

Use settings_store instead of settings_loader and settings_loader_options. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)

### hanami 2.0.0.alpha2 breaking changes

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

- **Removed**  

Ruby 2.5 is no longer supported. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Removed** `config.cookies`  

Use config.actions.cookies instead. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)

And 2 more in this version.

### hanami 2.0.0.alpha1 breaking changes

hanami 2.0.0.alpha1, released November 22, 2022: 8 breaking changes.

- **Removed**  

Ruby 2.3 and 2.4 are no longer supported. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)
- **Removed** `apps.web.config.routes.rb`  

Routes must be defined in config/routes.rb. [github.com](https://github.com/hanami/hanami/blob/v2.0.0/CHANGELOG.md)

And 6 more in this version.

### hanami 1.0.0.beta3 breaking changes

hanami 1.0.0.beta3, released April 6, 2017: 1 breaking change.

- **Removed** `ApplicationConfiguration.default_format`  

The deprecated default_format method was removed. Use default_request_format instead. [github.com](https://github.com/hanami/hanami/blob/v1.0.0/CHANGELOG.md)

### hanami 1.0.0.beta1 breaking changes

hanami 1.0.0.beta1, released April 6, 2017: 5 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](https://github.com/hanami/hanami/blob/v1.0.0/CHANGELOG.md)
- **Removed** `Web.logger`  

The per-application logger was removed. Use Hanami.logger as the project logger. [github.com](https://github.com/hanami/hanami/blob/v1.0.0/CHANGELOG.md)

And 3 more in this version.

### hanami 0.9.0 breaking changes

hanami 0.9.0, released November 15, 2016: 9 breaking changes.

- **Removed**  

Experimental code reloading support for entr(1) is removed. [github.com](https://github.com/hanami/hanami/blob/v0.9.0/CHANGELOG.md)
- **Removed**  

The application architecture is no longer supported, so apps using it must move to another supported architecture. [github.com](https://github.com/hanami/hanami/blob/v0.9.0/CHANGELOG.md)

And 7 more in this version.

### hanami 0.8.0 breaking changes

hanami 0.8.0, released July 22, 2016: 4 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](https://github.com/hanami/hanami/blob/v0.8.0/CHANGELOG.md)
- **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](https://github.com/hanami/hanami/blob/v0.8.0/CHANGELOG.md)

And 2 more in this version.

### hanami 0.7.0 breaking changes

hanami 0.7.0, released January 22, 2016: 1 breaking change.

- **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](https://github.com/hanami/hanami/blob/v0.7.0/CHANGELOG.md)

## Related packages

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