actionpack breaking changes
Updated December 4, 2026
On this page
Latest version 8.1.4.1. Source repository
Its 6.0.0.beta1 release requires Ruby 2.5.0 or later. Ruby end of life dates.
actionpack 8.0.0 breaking changes
- Removed
ActiveSupport.Deprecation.warn
Passing an array of strings to ActiveSupport::Deprecation#warn is no longer supported. Pass a single string instead. github.com - Removed
ActiveSupport.ProxyObject
ActiveSupport::ProxyObject has been removed. github.com - Removed
attr_internal_naming_format
Setting attr_internal_naming_format with a @ prefix is no longer supported. github.com - Removed
config.action_controller.allow_deprecated_parameters_hash_equality
The config.action_controller.allow_deprecated_parameters_hash_equality option is removed. github.com - Removed
config.read_encrypted_secrets
The config.read_encrypted_secrets option is removed. github.com - Removed
form_with
Passing nil to the model: argument of form_with is no longer supported. github.com - Removed
Rails.ConsoleMethods
Extending the Rails console through Rails::ConsoleMethods is no longer supported. github.com - Removed
tag
Passing content to void tag elements on the tag builder is no longer supported. github.com - Renamed
check_box
The check_box methods are renamed to checkbox. Old names remain as aliases for now. github.com - Renamed
rich_text_area
The rich_text_area methods are renamed to rich_textarea. Old names remain as aliases for now. github.com - Renamed
text_area
The text_area methods are renamed to textarea. Old names remain as aliases for now. github.com - Behavior changed
ActionController.TestCase
request.body in ActionController::TestCase is binary (ASCII-8BIT) encoded, which can change tests that compare body encodings. github.com - Behavior changed
ActiveSupport.HashWithIndifferentAccess.stringify_keys
Non-symbol keys such as integers are now converted to strings, so lookups by the original key may change. github.com - Behavior changed
ActiveSupport.TimeWithZone.inspect
The inspect output format of TimeWithZone changed to match Time#inspect. github.com - Behavior changed
resources
Invalid :only or :except options passed to resource and resources now raise ArgumentError. github.com - Default changed
ActiveSupport.to_time_preserves_timezone
The new default is :zone, and the previous true value was renamed to :offset. Set :offset to keep the old behavior. github.com - Default changed
config.active_job.use_big_decimal_serializer
The config.active_job.use_big_decimal_serializer option is removed. github.com - Default changed
Regexp.timeout
Regexp matching in Rails now times out after 1 second by default, which can break very slow regular expressions. github.com
actionpack 8.0.0.rc1 breaking changes
- Removed
Rails.application.config.action_controller.allow_deprecated_parameters_hash_equality
The deprecated config option is removed in this release, so apps that set it will no longer work. Stop setting it and use the current parameters behavior. github.com - Behavior changed
ActionController.TestCase
In controller tests, request.body now exposes a binary encoded body, matching production. Tests that assumed a UTF-8 encoded body may need adjusting. github.com - Behavior changed
resource
Passing invalid :only or :except options to resource now raises an ArgumentError. Check route definitions for invalid option values. github.com - Behavior changed
resources
Passing invalid :only or :except options to resources now raises an ArgumentError. Check route definitions for invalid option values. github.com
actionpack 8.0.0.beta1 breaking changes
- Behavior changed
http_cache_forever
http_cache_forever now uses immutable: true, so cached responses are marked immutable. Check any code that relies on the previous cache header behavior. github.com
actionpack 7.0.0 breaking changes
- Removed
The SERVER_ADDR header is no longer used. github.com - Removed
ActionDispatch.Response.return_only_media_type_on_content_type
The deprecated setting is removed. github.com - Removed
ActionDispatch.SystemTestCase.host!
The deprecated method is removed. github.com - Removed
fixture_file_upload
The deprecated support for paths relative to fixture_path is removed. github.com - Removed
Rails.config.action_dispatch.hosts_response_app
The deprecated option is removed. github.com - Removed
Rails.config.action_view.raise_on_missing_translations
The deprecated option is removed. github.com - Behavior changed
Writes to the session with no session store set now raise instead of failing silently. github.com - Behavior changed
ActionController.Base.action_methods
Flash types added with add_flash_types are excluded from action_methods. github.com - Behavior changed
ActionController.TestCase
Instance variables set in one request in a controller test are cleared before the next request. Tests that relied on them carrying over must change. github.com - Behavior changed
ActionDispatch.HostAuthorization
Debug info is rendered only when config.consider_all_requests_local is true. github.com
And 5 more in this version. Sign up to see every change
actionpack 7.0.0.rc1 breaking changes
- Removed
ActionDispatch.Response.return_only_media_type_on_content_type
The deprecated class option is removed. github.com - Removed
ActionDispatch.SystemTestCase.host!
The deprecated method is removed. github.com - Removed
ActiveJob.Base.DeliveryJob
ActionMailer::DeliveryJob and ActionMailer::Parameterized::DeliveryJob are removed in favor of ActionMailer::MailDeliveryJob. github.com - Removed
ActiveModel.Errors.keys
The deprecated method is removed. github.com - Removed
ActiveModel.Errors.messages
Using []=, delete, clear and concat on errors messages is no longer supported. github.com - Removed
ActiveModel.Errors.slice!
The deprecated method is removed. github.com - Removed
ActiveModel.Errors.to_h
The deprecated method is removed. github.com - Removed
ActiveModel.Errors.to_xml
The deprecated method is removed. github.com - Removed
ActiveModel.Errors.values
The deprecated method is removed. github.com - Removed
ActiveRecord.Base.allow_unsafe_raw_sql
The deprecated method is removed. github.com
And 43 more in this version. Sign up to see every change
actionpack 7.0.0.alpha1 breaking changes
- Removed
SERVER_ADDR
The SERVER_ADDR header is no longer supported. Code that reads it must change. github.com - Behavior changed
Writing into a session with no session store now raises an error instead of silently failing. Code that writes to a disabled session must be changed. github.com - Behavior changed
ActionController.Base.action_methods
Flash types added with add_flash_types are no longer listed as actions in action_methods. github.com - Behavior changed
ActionDispatch.Request.content_type
content_type now returns the Content-Type header as it is, including parameters such as charset. Use media_type to get only the MIME type. github.com - Behavior changed
ActionDispatch.Request.media_type
media_type now returns nil when the request has no Content-Type header instead of a previous value. Check for nil in code that relies on it. github.com - Behavior changed
config.exceptions_app
The request method is changed to GET when failed requests are passed down to config.exceptions_app. github.com
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
actionpack 6.0.0.rc2 breaking changes
- Behavior changed
ActionController.Parameters.transform_keys
Calling transform_keys or transform_keys! without a block returns an enumerator over the parameters instead of the underlying hash. github.com - Configuration changed
action_dispatch.return_only_media_type_on_content_type
Enable action_dispatch.return_only_media_type_on_content_type to make content_type return the Content-Type header as-is, including charset. github.com
actionpack 6.0.0.rc1 breaking changes
- Behavior changed
Failed-assertion screenshots in system tests are taken in a before_teardown hook instead of after_teardown, so the captured page may differ from before. github.com - Behavior changed
resources
Routes that define a resource param with a colon, such as param: 'name/:sneaky', now raise an ArgumentError and must be changed. github.com
actionpack 6.0.0.beta1 breaking changes
- Removed
acronym_regex
Removes deprecated Inflections#acronym_regex in actionpack 6.0.0.beta1 github.com - Removed
ActionDispatch.TestResponse.error?
Removes deprecated TestResponse#error? in actionpack 6.0.0.beta1 github.com
And 16 more in this version.
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.