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

# grape breaking changes

grape 4.0.0 (September 7, 2026) is its newest release with breaking changes, 15 of them. The first: Removed forward_match. Every breaking API change we have recorded in grape on RubyGems: 64 breaking changes in 19 versions. Below, its 19 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.1.0`. [Source repository](https://github.com/ruby-grape/grape)

Its 3.0.0 release drops [Ruby 2.7](https://since.dev/calendar/ruby/2.7.md). [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 15 breaking changes in 1 version.
- From [0.3.0](#v-0-3-0) to [4.0.0](#v-4-0-0): 60 breaking changes in 18 versions.

## grape 4.0.0 breaking changes

grape 4.0.0, released September 7, 2026: 15 breaking changes.

- **Removed** `forward_match`  

forward_match is now an internal keyword rather than a route option. [github.com](https://github.com/ruby-grape/grape/blob/v4.0.0/CHANGELOG.md)
- **Removed** `Grape.Router.normalize_path`  

Previously deprecated method has been removed. [github.com](https://github.com/ruby-grape/grape/blob/v4.0.0/CHANGELOG.md)
- **Removed** `http_digest`  

The http_digest option is gone and no longer works; existing code using it must be removed or replaced. [github.com](https://github.com/ruby-grape/grape/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed**  

Bare Ruby exception messages are now lowercase and unpunctuated, which can break code matching the old text. [github.com](https://github.com/ruby-grape/grape/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed**  

If an error response cannot be rendered, the middleware answers 500 rather than letting the exception escape; Grape.config.raise_rendering_errors opts out. [github.com](https://github.com/ruby-grape/grape/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed**  

Path params are now UTF-8 instead of ASCII-8BIT, which can change equality checks against literals. [github.com](https://github.com/ruby-grape/grape/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed**  

Endpoint helpers are now included once when the endpoint is compiled instead of on every request. [github.com](https://github.com/ruby-grape/grape/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed** `default_error_formatter`  

Setting default_error_formatter to an unregistered format now raises instead of silently storing Txt. [github.com](https://github.com/ruby-grape/grape/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed** `error_formatter`  

Passing error_formatter without a formatter now raises instead of registering nil. [github.com](https://github.com/ruby-grape/grape/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed** `Grape.ErrorFormatter.formatter_for`  

formatter_for now answers nil for an unregistered format instead of falling back. [github.com](https://github.com/ruby-grape/grape/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed** `grape.testing`  

grape/testing is opt-in and must be required explicitly. [github.com](https://github.com/ruby-grape/grape/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed** `optional`  

A type supplied by an enclosing with block now applies to optional, as it already did to requires. [github.com](https://github.com/ruby-grape/grape/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed** `redirect`  

The default redirect message is rendered as plain text instead of being re-encoded by the formatter. [github.com](https://github.com/ruby-grape/grape/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed** `rescue_from :grape_exceptions`  

rescue_from :grape_exceptions now wins over a catch-all registered as a class, so Grape errors may get different responses. [github.com](https://github.com/ruby-grape/grape/blob/v4.0.0/CHANGELOG.md)
- **Signature changed** `requires`  

The as option is now a keyword argument of requires and optional rather than part of the options Hash. [github.com](https://github.com/ruby-grape/grape/blob/v4.0.0/CHANGELOG.md)

## grape 3.0.0 breaking changes

grape 3.0.0, released November 15, 2025: 7 breaking changes.

- **Removed**  

Grape 3.0.0 no longer supports Ruby 2.7. Upgrade Ruby to a supported version before updating. [github.com](https://github.com/ruby-grape/grape/blob/v3.0.0/CHANGELOG.md)
- **Removed** `namespace_inheritable`  

namespace_inheritable is no longer part of the public API. Stop calling it directly. [github.com](https://github.com/ruby-grape/grape/blob/v3.0.0/CHANGELOG.md)
- **Removed** `namespace_reverse_stackable`  

namespace_reverse_stackable is removed from the public DSL. Use direct inheritable_setting access instead. [github.com](https://github.com/ruby-grape/grape/blob/v3.0.0/CHANGELOG.md)
- **Removed** `namespace_reverse_stackable_with_hash`  

namespace_reverse_stackable_with_hash is no longer available in the public scope. [github.com](https://github.com/ruby-grape/grape/blob/v3.0.0/CHANGELOG.md)
- **Removed** `namespace_stackable`  

namespace_stackable is no longer part of the public API. Stop calling it directly. [github.com](https://github.com/ruby-grape/grape/blob/v3.0.0/CHANGELOG.md)
- **Removed** `namespace_stackable_with_hash`  

namespace_stackable_with_hash is no longer public and moved to an internal class. [github.com](https://github.com/ruby-grape/grape/blob/v3.0.0/CHANGELOG.md)
- **Configuration changed**  

Grape configuration now uses Dry::Configurable instead of ActiveSupport::Configurable. Review code that relies on the old configuration API. [github.com](https://github.com/ruby-grape/grape/blob/v3.0.0/CHANGELOG.md)

## grape 2.0.0 breaking changes

grape 2.0.0, released November 11, 2023: 1 breaking change.

- **Removed** `Rack.Auth.Digest`  

Grape 2.0.0 removes Rack::Auth::Digest. Code that uses it must switch to another authentication method. [github.com](https://github.com/ruby-grape/grape/blob/v2.0.0/CHANGELOG.md)

## grape 1.0.0 breaking changes

grape 1.0.0, released July 3, 2017: 3 breaking changes.

- **Removed** `multi_json`  

Grape no longer depends on multi_json, so code that relied on it being loaded through Grape must add it directly. [github.com](https://github.com/ruby-grape/grape/blob/v1.0.0/CHANGELOG.md)
- **Removed** `multi_xml`  

Grape no longer depends on multi_xml, so code that relied on it being loaded through Grape must add it directly. [github.com](https://github.com/ruby-grape/grape/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed**  

Parameters are no longer Hashie::Mash objects. Code that relies on Hashie::Mash behavior must be updated to use HashWithIndifferentAccess. [github.com](https://github.com/ruby-grape/grape/blob/v1.0.0/CHANGELOG.md)

## grape 0.19.0 breaking changes

grape 0.19.0, released December 19, 2016: 1 breaking change.

- **Default changed** `delete`  

Endpoints defined with delete now return 204 No Content by default instead of 200. Set an explicit status if clients expect 200. [github.com](https://github.com/ruby-grape/grape/blob/v0.19.0/CHANGELOG.md)

## grape 0.18.0 breaking changes

grape 0.18.0, released October 6, 2016: 1 breaking change.

- **Removed**  

Ruby 2.0 is no longer supported in this release. Users on Ruby 2.0 must upgrade their Ruby version before using grape 0.18.0. [github.com](https://github.com/ruby-grape/grape/blob/v0.18.0/CHANGELOG.md)

## Older versions

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

### grape 0.17.0 breaking changes

grape 0.17.0, released July 29, 2016: 1 breaking change.

- **Behavior changed** `declared`  

Fixes declared(params) inside route_param and with include_parent_namespaces: false; behavior may differ for code relying on the previous output. [github.com](https://github.com/ruby-grape/grape/blob/v0.17.0/CHANGELOG.md)

### grape 0.16.1 breaking changes

grape 0.16.1, released April 2, 2016: 1 breaking change.

- **Behavior changed** `error!`  

Calls to error! with a Hash no longer change that Hash in place. Code that relied on the mutated Hash afterwards must be updated. [github.com](https://github.com/ruby-grape/grape/blob/v0.16.1/CHANGELOG.md)

### grape 0.14.0 breaking changes

grape 0.14.0, released December 7, 2015: 2 breaking changes.

- **Behavior changed** `declared`  

Calling declared from before filters no longer works, so move that logic into the endpoint. [github.com](https://github.com/ruby-grape/grape/blob/v0.14.0/CHANGELOG.md)
- **Behavior changed** `strict`  

With strict: true, an incorrect media-type Accept header now gets a 406 response instead of being accepted. [github.com](https://github.com/ruby-grape/grape/blob/v0.14.0/CHANGELOG.md)

### grape 0.12.0 breaking changes

grape 0.12.0, released June 18, 2015: 2 breaking changes.

- **Behavior changed** `Regexp validator`  

The Regexp validator now supports allow_blank, and its behavior for nil values changed. Check validations that rely on nil values. [github.com](https://github.com/ruby-grape/grape/blob/v0.12.0/CHANGELOG.md)
- **Behavior changed** `status`  

Calling the status method with an invalid status code now raises an error. Code that passes invalid codes must be corrected. [github.com](https://github.com/ruby-grape/grape/blob/v0.12.0/CHANGELOG.md)

### grape 0.11.0 breaking changes

grape 0.11.0, released February 23, 2015: 4 breaking changes.

- **Behavior changed**  

Version-block callbacks no longer apply to routes defined outside that block. [github.com](https://github.com/ruby-grape/grape/blob/v0.11.0/CHANGELOG.md)
- **Behavior changed**  

Parameter groups without an explicit Hash or Array type are no longer accepted; declare the type explicitly. [github.com](https://github.com/ruby-grape/grape/blob/v0.11.0/CHANGELOG.md)

And 2 more in this version.

### grape 0.10.0 breaking changes

grape 0.10.0, released December 19, 2014: 8 breaking changes.

- **Removed** `atom+xml`  

The atom+xml content-type is no longer supported. Code that relies on it must be changed to use another content-type. [github.com](https://github.com/ruby-grape/grape/blob/v0.10.0/CHANGELOG.md)
- **Removed** `jsonapi`  

The jsonapi content-type is no longer supported. Code that relies on it must be changed to use another content-type. [github.com](https://github.com/ruby-grape/grape/blob/v0.10.0/CHANGELOG.md)

And 6 more in this version.

### grape 0.9.0 breaking changes

grape 0.9.0, released August 27, 2014: 3 breaking changes.

- **Removed** `Grape.Middleware.Auth.Basic`  

Grape::Middleware::Auth::Basic was removed in this release. Code that references it must be changed, and the Auth-Middleware extension is the new route for authentication middleware. [github.com](https://github.com/ruby-grape/grape/blob/v0.9.0/CHANGELOG.md)
- **Removed** `Grape.Middleware.Auth.Digest`  

Grape::Middleware::Auth::Digest was removed in this release. Code that references it must be changed. [github.com](https://github.com/ruby-grape/grape/blob/v0.9.0/CHANGELOG.md)

And 1 more in this version.

### grape 0.8.0 breaking changes

grape 0.8.0, released July 10, 2014: 2 breaking changes.

- **Behavior changed** `RegexpValidator`  

Params with a nil value are now refused by RegexpValidator. Code that passed nil values through this validator will see them rejected. [github.com](https://github.com/ruby-grape/grape/blob/v0.8.0/CHANGELOG.md)
- **Behavior changed** `rescue_from`  

The rescue_from keyword now defaults to rescuing subclasses of the given exceptions. Code that relied on subclasses not being rescued may need to be checked. [github.com](https://github.com/ruby-grape/grape/blob/v0.8.0/CHANGELOG.md)

### grape 0.7.0 breaking changes

grape 0.7.0, released April 2, 2014: 3 breaking changes.

- **Behavior changed** `before_validation`  

The before_validation callback is now separate from other callbacks, so code that depended on the earlier shared behavior may need review. [github.com](https://github.com/ruby-grape/grape/blob/v0.7.0/CHANGELOG.md)
- **Behavior changed** `rescue_from`  

rescue_from now also catches subclasses of the listed exceptions by default, so handlers may run for errors they did not previously catch. [github.com](https://github.com/ruby-grape/grape/blob/v0.7.0/CHANGELOG.md)

And 1 more in this version.

### grape 0.6.0 breaking changes

grape 0.6.0, released September 16, 2013: 2 breaking changes.

- **Removed**  

Grape is no longer tested on Ruby 1.8.7, so users on that Ruby version should upgrade their Ruby. [github.com](https://github.com/ruby-grape/grape/blob/v0.6.0/CHANGELOG.md)
- **Behavior changed** `Grape.Exceptions.ValidationErrors`  

Validation errors are collected and Grape::Exceptions::ValidationErrors is raised, so code that rescued individual validation errors must be updated. [github.com](https://github.com/ruby-grape/grape/blob/v0.6.0/CHANGELOG.md)

### grape 0.5.0 breaking changes

grape 0.5.0, released June 14, 2013: 1 breaking change.

- **Behavior changed** `default_format`  

Specifying default_format now also changes the default parser for POST and PUT request bodies to that format. Code relying on the previous parser for those bodies may need to set a parser explicitly. [github.com](https://github.com/ruby-grape/grape/blob/v0.5.0/CHANGELOG.md)

### grape 0.4.0 breaking changes

grape 0.4.0, released March 17, 2013: 3 breaking changes.

- **Behavior changed**  

Applications using an older Rack version must upgrade Rack to 1.3.0 or later. [github.com](https://github.com/ruby-grape/grape/blob/v0.4.0/CHANGELOG.md)
- **Behavior changed**  

The logger uses the standard Ruby formatter again; code relying on the old ActiveSupport-style output must require active_support/all to restore it. [github.com](https://github.com/ruby-grape/grape/blob/v0.4.0/CHANGELOG.md)

And 1 more in this version.

### grape 0.3.0 breaking changes

grape 0.3.0, released February 21, 2013: 4 breaking changes.

- **Removed** `Grape.Entity`  

Grape::Entity was extracted into the grape-entity gem, so code that uses it must add that gem and use its entity class instead. [github.com](https://github.com/ruby-grape/grape/blob/v0.3.0/CHANGELOG.md)
- **Behavior changed**  

Adding a GET route for a resource now also adds a HEAD route automatically, which can conflict with existing HEAD handling. Call do_not_route_head! to disable this. [github.com](https://github.com/ruby-grape/grape/blob/v0.3.0/CHANGELOG.md)

And 2 more in this version.

## Related packages

- [grape-entity](https://since.dev/packages/gem/grape-entity.md)
- [grape-swagger](https://since.dev/packages/gem/grape-swagger.md)
- [grape-swagger-entity](https://since.dev/packages/gem/grape-swagger-entity.md)
- [grape-swagger-rails](https://since.dev/packages/gem/grape-swagger-rails.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.
