rack-test breaking changes
rack-test 2.0.0 (June 24, 2022) is its newest release with breaking changes, 10 of them. The first: Removed Rack.Test.Methods._current_session_names. Every breaking API change we have recorded in rack-test on RubyGems: 16 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.3.0. Source repository
Its 0.8.0 release requires Ruby 2.2.2 or later. Ruby end of life dates.
- From 1.0.0 to 2.0.0: 10 breaking changes in 1 version.
- From 0.7.0 to 2.0.0: 12 breaking changes in 3 versions.
rack-test 2.0.0 breaking changes
- Removed
Rack.Test.Methods._current_session_names
Rack::Test::Methods#_current_session_names has been removed. github.com - Removed
Rack.Test.Methods.build_rack_mock_session
Rack::Test::Methods no longer defines build_rack_mock_session; override build_rack_test_session instead. github.com - Removed
Rack.Test.Methods.METHODS
Rack::Test::Methods::METHODS is no longer defined and code referencing it will fail. github.com - Renamed
Rack.MockSession
Rack::MockSession was combined into Rack::Test::Session and remains only as an alias; use Rack::Test::Session. github.com - Behavior changed
Frozen literal strings are used internally, so code that mutates static strings returned by rack-test may break. github.com - Behavior changed
Headers used or accessed by rack-test are now lowercase for Rack 3 compliance, which may affect code that checks header names. github.com - Behavior changed
Rack.Test.Cookie
Methods previously protected in Rack::Test::Cookie are now private and cannot be called from outside. github.com - Behavior changed
Rack.Test.CookieJar
Methods previously protected in Rack::Test::CookieJar are now private and cannot be called from outside. github.com - Behavior changed
Rack.Test.Utils
Only build_nested_query and build_multipart remain public on Rack::Test::Utils; other module methods are now private. github.com - Behavior changed
Rack.Test.Utils.build_primitive_part
Calling build_primitive_part with array values no longer works; pass array values through another path. github.com
rack-test 1.0.0 breaking changes
- Behavior changed
Non-GET requests now always set the CONTENT_TYPE header, which can change requests that previously omitted it. github.com
rack-test 0.8.0 breaking changes
- Behavior changed
The gem sets a required_ruby_version of >= 2.2.2, so older Ruby versions can no longer install or use it. Users on older Ruby must upgrade Ruby. github.com
rack-test 0.7.0 breaking changes
- Behavior changed
Requests with empty params no longer get a trailing ampersand in the query string. Code that parses or matches the exact query string may need updating. github.com - Behavior changed
DELETE requests no longer send a Content-Type header. Code that depends on that header being present on DELETE requests must set it explicitly. github.com - Behavior changed
Following an HTTP 307 redirect now resends the original request method and parameters. Code that expected the redirect to be followed as a GET may behave differently. github.com - Behavior changed
Setting the environment to enable SSL now also sets the request scheme. Code that relied on requests staying non-SSL under that setting will see different behavior. 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.