Shipped · APIs and backends

What ruby-grape/grape shipped

The public repository of Ruby-grape · github.com/ruby-grape/grape

Written by FoxPlug from the repository's own releases; not affiliated with Ruby-grape. Paste your own repository in the box below and FoxPlug writes the same weekly update for your product. This page is an automatic summary of the releases, pull requests and commits in github.com/ruby-grape/grape; Ruby-grape did not write it and does not use or endorse FoxPlug. Every line links to the change it describes.

Get a weekly update like this for your product, free

Or Use it as a GitHub Action

See the update FoxPlug writes for grape, free

Week of November 2, 2026

What shipped

Why it matters

This week adds a way to reject undeclared params and an RFC 9457 problem details error formatter, and fixes routing under namespaces, helper visibility and the x-cascade header. It also raises the minimum Rack at 3.1 and ActiveSupport at 8.0, and adds eager loading of mounted APIs at Rails boot.

Changelog entry

Example posts FoxPlug drafted from these changes. Not written or posted by the project.

Post for X

This week in Grape: Grape.config.allow_undeclared_params, an RFC 9457 problem details formatter, fixes for optional segments under namespaces and helper visibility, eager loading of mounted Rails APIs at boot, and new minimums of Rack 3.1 and ActiveSupport 8.0.

Post for LinkedIn

This week in Grape: Grape.config.allow_undeclared_params lets an endpoint answer 400 to params it did not declare, defaulting to true with false as the 5.0 default. A new error formatter answers as RFC 9457 problem details. Fixes land for a route opening with an optional segment under a namespace, for helpers reached from routes declared above them in the same scope, and for cascading past a mounted Rack app declining with lowercase x-cascade. Rails apps with eager_load on now compile mounted APIs when routes load, and API.eager_load! compiles an API and loads its translations. Grape now requires Rack 3.1 and ActiveSupport 8.0.

Week of October 26, 2026

What shipped

Why it matters

This release addresses routing edge cases where requests should return 404 instead of 406, fixes a critical bug affecting file uploads in validators, and improves code quality by clearing all RuboCop violations. The refactoring makes the router logic clearer for future maintenance.

Changelog entry

Example posts FoxPlug drafted from these changes. Not written or posted by the project.

Post for X

Grape 4.1.0 is out. Fixes cascade routing to return 404 when all routes decline, resolves file upload issues in oneof validators, and clears all RuboCop violations.

Post for LinkedIn

Grape 4.1.0 is now available. This release includes a fix for cascade routing to properly return 404 responses when all routes on a path decline requests, resolves file upload issues in oneof validators, refactors router methods for clearer logic, and completes RuboCop violations cleanup across the codebase.

Week of October 19, 2026

What shipped

Why it matters

This week covers behavior that directly affects how requests and responses are handled: HEAD responses from mounted apps, exceptions raised in rescue_from blocks, and content type negotiation for browsers that end their Accept header in */*. It also adds two new formats, markdown and JSON Lines, and tightens the internals of InheritableSetting. Together these are fixes and opt-ins that change edge-case behavior rather than a new headline feature.

Changelog entry

Example posts FoxPlug drafted from these changes. Not written or posted by the project.

Post for X

This week: Rack::Head now wraps the whole router so HEAD responses from mounted apps lose their bodies. New setting to let rescue_from exceptions propagate to middleware. Added:md and:jsonl formats. */* negotiation keeps your content type order.

Post for LinkedIn

This week in Grape: Rack::Head now wraps the router rather than each endpoint's stack, so HEAD requests through mounted Rack apps also have their bodies stripped. A new setting lets an exception raised in a rescue_from block propagate to Rack middleware above Grape. Two formats were added::md/:markdown, which renders an object's to_markdown, and:jsonl for JSON Lines. Content type negotiation for */* now keeps each API's declared order. InheritableSetting's scalar settings and scope flags are now defined by key.

Week of October 12, 2026

What shipped

Why it matters

This week touches two things users feel directly: per-API logging now stays per-API instead of being overwritten process-wide, and request handling allocates less when presenting entities, reading path params and copying endpoints. The remaining changes are internal cleanups that drop raised RuboCop overrides for module length, ABC size and complexity, with behaviour reported unchanged.

Changelog entry

Example posts FoxPlug drafted from these changes. Not written or posted by the project.

Post for X

This week: a logger set on one API no longer overrides every other API's logger. Requests also allocate less when presenting entities and reading path params. Internally, the raised RuboCop overrides for module length, ABC size and complexity are gone, with behaviour unchanged.

Post for LinkedIn

This week's changes in grape: A logger set on one API no longer replaces the logger for every other API. Previously the logger lived in a hash shared by the whole process, so the last API to set one decided where all APIs logged. Requests allocate less when presenting an entity or reading path params. Four per-request allocations that only existed to feed another one were removed, and each request's endpoint is copied from a prototype without route-building state. requires and optional now share one definition instead of duplicating their signature and deprecated positional-options check. Internally, the raised RuboCop overrides for module length, ABC size, cyclomatic complexity and perceived complexity are removed, with methods split to meet the defaults. Behaviour is unchanged.

Week of September 28, 2026

What shipped

Why it matters

This week addresses correctness issues in parameter validation, content negotiation, and database transaction handling. Performance improvements reduce per-request overhead by eliminating unnecessary middleware copies. These fixes prevent silent data loss and validation bypass in common API patterns.

Changelog entry

Example posts FoxPlug drafted from these changes. Not written or posted by the project.

Post for X

Grape 2.2 fixes error handling in transactions, validates params correctly in nested scopes, rejects malformed numbers, and eliminates unnecessary per-request middleware copying.

Post for LinkedIn

This week's Grape releases address critical correctness issues: error! now properly raises exceptions for database transaction safety, required params reject nil in nested scopes, Integer params reject fractional numbers, and header versioning handles hyphens. We also eliminated per-request middleware copying to reduce overhead on the happy path.

Week of September 21, 2026

What shipped

Why it matters

This week focused on correctness and performance: mounted Rack apps work as ANY routes, request overhead dropped by eliminating unnecessary middleware copying, and validation now handles edge cases like invalid UTF-8 bytes and nested array error naming. Several subtle routing and formatting bugs were fixed where capital letters in vendors and custom coerce messages were ignored.

Changelog entry

Example posts FoxPlug drafted from these changes. Not written or posted by the project.

Post for X

Grape 4.0 improvements shipping this week: mounted Rack apps now route correctly, request overhead cut by removing middleware copying, and validation handles invalid UTF-8 bytes gracefully.

Post for LinkedIn

This week in Grape: mounted Rack apps now route as ANY methods in declaration order, request performance improved by eliminating formatter copying and empty filter phases, Rails initialization fixed in CI, header versioning matches capital letters correctly, custom coerce messages are honored, and nested array validation errors now report accurate indices. Several edge cases in validation and routing are now handled properly.

Week of September 14, 2026

What shipped

Why it matters

This release focused on performance optimizations reducing unnecessary allocations and lookups on every request, correctness fixes for edge cases in params handling and error responses, and documentation improvements ensuring the README accurately reflects how Grape works.

Changelog entry

Example posts FoxPlug drafted from these changes. Not written or posted by the project.

Post for X

Grape v4.0.1 ships with significant performance improvements: fewer allocations per request, smarter registry handling, and optimized path matching. Plus comprehensive README corrections ensuring examples match actual behavior.

Post for LinkedIn

Grape v4.0.1 is out with meaningful performance work: shared Rack lambda per endpoint, optimized registry writes, removed unused match caches, and faster path-versioned requests. We also corrected roughly 40 README passages to match actual behavior, improving the experience for developers discovering and using the framework.

Weeks with too little public activity are left out rather than filled in. Last updated 2026-11-10.

Is this your repo? Ask us to remove this page.