hanami-router breaking changes
hanami-router 3.0.0 (July 1, 2026) is its newest release with breaking changes, 3 of them. The first: Removes mustermann-contrib dependency in hanami-router 3.0.0. Every breaking API change we have recorded in hanami-router on RubyGems: 19 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.0.1, released November 24, 2026. Source repository
Its 3.0.0 release requires Ruby 3.3 or later. Ruby end of life dates.
- From 0.7.0 to 3.0.0: 17 breaking changes in 6 versions.
- From 0.6.0 to 3.0.0: 18 breaking changes in 7 versions.
hanami-router 3.0.0 breaking changes
- Removed
The mustermann-contrib dependency was removed, so code that relied on it through this gem must add it directly. github.com - Configuration changed
The gem no longer supports older Ruby versions, so users must run Ruby 3.3 or newer. github.com - Signature changed
redirect
Calling #redirect without code: now fails, so pass code: explicitly or use #permanent_redirect or #temporary_redirect for the common cases. github.com
hanami-router 2.0.0.rc1 breaking changes
- Behavior changed
Hanami.Middleware.BodyParser.Parser.parse
The abstract parse method now raises NoMethodError instead of NotImplementedError, so code rescuing NotImplementedError must change. github.com
hanami-router 2.0.0.alpha6 breaking changes
- Removed
Ruby MRI 2.6 and 2.7 are no longer supported. Upgrade Ruby before using this version. github.com
hanami-router 2.0.0.alpha2 breaking changes
- Removed
Route endpoints are no longer loaded automatically; provide them explicitly, for example via resolver:. github.com - Removed
Hanami.Router.initialize
The inflector: option of Hanami::Router#initialize is gone; remove it from calls. github.com - Removed
Hanami.Router.resource
Hanami::Router#resource is gone; define routes another way. github.com - Removed
Hanami.Router.resources
Hanami::Router#resources is gone; define routes another way. github.com
hanami-router 2.0.0.alpha1 breaking changes
- Removed
Ruby MRI 2.3 and 2.4 are no longer supported. Upgrade Ruby before using this version. github.com - Removed
Hanami.Router.initialize
The force_ssl: option of Hanami::Router#initialize is gone; remove it from calls. github.com - Renamed
Hanami.Router.namespace
Calls to Hanami::Router#namespace must be changed to Hanami::Router#prefix. github.com - Behavior changed
Globbed routes must use a named capture, such as "/files/*names", instead of a bare "*". github.com - Behavior changed
HEAD responses are no longer body-cleaned by the router, so code relying on that cleanup must change. github.com - Behavior changed
Hanami.Router
The router can no longer be modified once initialized, so code that changes it afterwards will fail. github.com - Signature changed
Hanami.Router.initialize
Passing Hanami::Action subclasses as endpoints now requires the configuration: option on initialize. github.com
hanami-router 1.0.0.beta1 breaking changes
- Removed
The gem is now compatible with Rack 2.0 only. Apps still on Rack 1.x must upgrade Rack to 2.0 before using this version. github.com
Older versions
2 older versions.
Show 2 older versions
hanami-router 0.7.0 breaking changes
- Removed
Ruby 2.0 and 2.1 are no longer supported, so code running on them must move to a newer Ruby. JRuby 9.0.5.0+ is the officially supported JRuby. github.com
hanami-router 0.6.0 breaking changes
- Renamed
The project was renamed in this release. The changelog does not say what the new name is, so code depending on the old name may need updating. 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.