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

# rails breaking changes

rails 8.1.4.1 (November 4, 2026) is its newest release with breaking changes, 14 of them. The first: GCS direct uploads now require a content-length-range header in rails 8.1.4.1. Every breaking API change we have recorded in rails on RubyGems: 426 breaking changes in 41 versions. Below, its 41 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `8.1.4.1`, released November 4, 2026. [Source repository](https://github.com/rails/rails)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [7.2.3.2](#v-7-2-3-2) to [8.1.4.1](#v-8-1-4-1): 178 breaking changes in 22 versions.
- From [7.0.0](#v-7-0-0) to [8.1.4.1](#v-8-1-4-1): 277 breaking changes in 38 versions.

## rails 8.1.4.1 breaking changes

rails 8.1.4.1, released November 4, 2026: 14 breaking changes.

- **Behavior changed**  

Signed URLs require a header matching byte_size. Bucket CORS configs must list x-goog-content-length-range or browser uploads fail. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4.1)
- **Behavior changed**  

Emails whose timestamp is more than 2 minutes ahead of local time are now rejected. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4.1)
- **Behavior changed**  

Direct-upload URLs with cache_control now use V2 signing, are no longer limited to 7 days, and the client sends Cache-Control unsigned. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4.1)
- **Behavior changed** `ActionController.Parameters.each_key`  

The return value is now the Parameters object instead of the internal HashWithIndifferentAccess. Code using the returned value changes. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4.1)
- **Behavior changed** `ActionDispatch.RemoteIp`  

With ip_spoofing_check enabled, requests with conflicting client addresses raise IpSpoofAttackError. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4.1)
- **Behavior changed** `ActiveStorage.Blob.open`  

The tempfile keeps the extension only when it matches the recorded media type. Tools relying on the uploaded extension may change behavior. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4.1)
- **Behavior changed** `ActiveStorage.ImageMagick.POLICY_DIRECTORY`  

Shipped policy denies several coders and the gs delegate. Apps rendering PDF or PostScript must re-allow them, and mini_magick 5.1 or later is required. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4.1)
- **Behavior changed** `ActiveSupport.MessagePack`  

Unsafe SafeBuffers are now stored with an unsafe marker and load as String. Earlier Rails versions cannot read those values. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4.1)
- **Behavior changed** `config.action_dispatch.cookies_same_site_protection`  

Session cookies from CacheStore, MemCacheStore and custom stores now get the configured SameSite value instead of none. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4.1)
- **Behavior changed** `config.action_dispatch.ignore_accept_header`  

Rendered responses now set or extend the Vary header based on format negotiation headers. Shared caches may behave differently. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4.1)
- **Behavior changed** `config.active_storage.ffmpeg_allowed_formats`  

Other formats now fail to preview with PreviewError and store no media metadata. Add their demuxers to the list to keep them. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4.1)
- **Behavior changed** `highlight`  

Quotes in matched phrases are now rendered as &quot; and &#39; in the highlighter output. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4.1)
- **Behavior changed** `request.session_options`  

Applications that skip the session on every request no longer upgrade their signed or encrypted cookies. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4.1)
- **Behavior changed** `strip_tags`  

Double and single quotes in the output are now written as &quot; and &#39;. Code using that output outside HTML must decode it. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4.1)

## rails 8.1.4 breaking changes

rails 8.1.4, released September 24, 2026: 12 breaking changes.

- **Renamed** `Asia.Rangoon`  

ActiveSupport::TimeZone now uses the current IANA identifier Asia/Yangon. Code that refers to Asia/Rangoon should switch to Asia/Yangon. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4)
- **Renamed** `Europe.Kiev`  

ActiveSupport::TimeZone now uses the current IANA identifier Europe/Kyiv. Code that refers to Europe/Kiev should switch to Europe/Kyiv. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4)
- **Behavior changed**  

The store accessor \_change and saved_change_to\_ methods now return nil for keys that did not change instead of a pair of equal values. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4)
- **Behavior changed**  

Time, DateTime and TimeWithZone hash keys now serialize in a different format than before. Code that depends on the old key strings must be updated. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4)
- **Behavior changed**  

The alphabetical column sorting added in 8.1 is reverted, so generated schema.rb files change order. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4)
- **Behavior changed** `ActionDispatch.HostAuthorization`  

A Host header with an additional port is no longer accepted when the allowed host has an explicit port. Clients sending such headers will be blocked. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4)
- **Behavior changed** `ActiveModel.Type.Integer`  

Integer casting now considers only the first few bytes of a string, so long strings may cast to different values. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4)
- **Behavior changed** `async_ids`  

Calling async_ids on a contradictory relation now returns an ActiveRecord::Promise instead of a plain ActiveRecord::Result. Code must await or call value on it. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4)
- **Behavior changed** `remove_column`  

Migrations calling remove_column with options but no type now raise IrreversibleMigration when rolled back. Such migrations must pass a column type. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4)
- **Behavior changed** `SchemaCache.encode_with`  

Serialized schema caches keep the pre-8.1 column and index order. Code that depends on the 8.1 sorted order must change. [github.com](https://github.com/rails/rails/releases/tag/v8.1.4)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## rails 8.1.3.1 breaking changes

rails 8.1.3.1, released July 29, 2026: 2 breaking changes.

- **Behavior changed**  

Active Storage now disables libvips untrusted loaders and savers while booting, so variant transformation of BMP, ICO and PSD attachments raises Vips::Error. Apps that need these types can remove them from... [github.com](https://github.com/rails/rails/releases/tag/v8.1.3.1)
- **Configuration changed**  

The minimum libvips is now 8.13 and the minimum ruby-vips is now 2.2.1. When ruby-vips is installed and either minimum is not met, Active Storage raises RuntimeError while booting, so upgrade both. [github.com](https://github.com/rails/rails/releases/tag/v8.1.3.1)

## rails 8.1.3 breaking changes

rails 8.1.3, released March 24, 2026: 2 breaking changes.

- **Removed**  

Support for PostgreSQL versions below 9.5 was dropped because Active Record now uses the array_position function. Upgrade PostgreSQL to 9.5 or later before upgrading Rails. [github.com](https://github.com/rails/rails/releases/tag/v8.1.3)
- **Behavior changed** `JSONGemCoderEncoder`  

Hash keys that are custom objects with an as_json returning a Hash are now converted with to_s on the original key, so the JSON output changes. Check any code that depends on the previous key format. [github.com](https://github.com/rails/rails/releases/tag/v8.1.3)

## rails 8.1.2.1 breaking changes

rails 8.1.2.1, released March 23, 2026: 8 breaking changes.

- **Behavior changed**  

Active Storage range requests are now restricted to a single range, so requests with multiple ranges no longer work as before. [github.com](https://github.com/rails/rails/releases/tag/v8.1.2.1)
- **Behavior changed**  

Tag helpers now omit attributes with blank names from the generated HTML, so markup that relied on them changes. [github.com](https://github.com/rails/rails/releases/tag/v8.1.2.1)
- **Behavior changed** `DirectUploadController`  

User supplied metadata is now filtered in direct uploads, so metadata passed through this controller may no longer be stored as before. [github.com](https://github.com/rails/rails/releases/tag/v8.1.2.1)
- **Behavior changed** `DiskService.delete_prefixed`  

Glob metacharacters in keys are now escaped, so code relying on delete_prefixed to expand them will break. [github.com](https://github.com/rails/rails/releases/tag/v8.1.2.1)
- **Behavior changed** `DiskService.path_for`  

Invalid keys now raise InvalidKeyError instead of ArgumentError or Encoding::CompatibilityError. Code rescuing the old exceptions must rescue InvalidKeyError. [github.com](https://github.com/rails/rails/releases/tag/v8.1.2.1)
- **Behavior changed** `NumberConverter`  

Inputs written in scientific notation are no longer accepted by NumberConverter. Code that passes such values must send plain numbers instead. [github.com](https://github.com/rails/rails/releases/tag/v8.1.2.1)
- **Behavior changed** `SafeBuffer.%`  

Formatting with SafeBuffer#% keeps the unsafe status, so output that was previously treated as safe may now be escaped. [github.com](https://github.com/rails/rails/releases/tag/v8.1.2.1)
- **Default changed**  

Byte ranges for Active Storage blobs are now limited to 100mb by default. Larger range requests need the configurable maximum streaming chunk size raised. [github.com](https://github.com/rails/rails/releases/tag/v8.1.2.1)

## rails 8.1.2 breaking changes

rails 8.1.2, released January 8, 2026: 2 breaking changes.

- **Behavior changed** `ActiveJob.perform_all_later`  

Jobs with enqueue_after_transaction_commit set are no longer enqueued immediately by perform_all_later; they wait for the transaction to commit, matching perform_later. [github.com](https://github.com/rails/rails/releases/tag/v8.1.2)
- **Behavior changed** `ActiveRecord.SoleRecordExceeded.record`  

Since 8.0, record returned the model class; it now returns the relation, as it did before Rails 8.0. Code that relied on the class must be updated. [github.com](https://github.com/rails/rails/releases/tag/v8.1.2)

## Older versions

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

### rails 8.1.1 breaking changes

rails 8.1.1, released October 28, 2025: 3 breaking changes.

- **Behavior changed**  

Controller methods whose names start with an underscore are once more treated as action methods, so they may become reachable through routes. [github.com](https://github.com/rails/rails/releases/tag/v8.1.1)
- **Behavior changed** `hidden_field`  

The remove_hidden_field_autocomplete config is now applied by the form builder hidden_field, so apps that set it will see different output. [github.com](https://github.com/rails/rails/releases/tag/v8.1.1)

And 1 more in this version.

### rails 8.1.0.rc1 breaking changes

rails 8.1.0.rc1, released October 22, 2025: 14 breaking changes.

- **Removed** `Benchmark.ms`  

Benchmark.ms is removed from Active Support; it is now defined in the benchmark gem. [github.com](https://github.com/rails/rails/releases/tag/v8.1.0.rc1)
- **Removed** `bin.rake stats`  

The deprecated bin/rake stats command is removed. [github.com](https://github.com/rails/rails/releases/tag/v8.1.0.rc1)

And 12 more in this version.

### rails 8.1.0.beta1 breaking changes

rails 8.1.0.beta1, released October 22, 2025: 19 breaking changes.

- **Removed** `:class_name`  

Polymorphic belongs_to associations no longer accept :class_name. Delete the option from those associations. [github.com](https://github.com/rails/rails/releases/tag/v8.1.0.beta1)
- **Removed** `:retries`  

The deprecated :retries option for the SQLite3 adapter is removed. Remove it from your configuration. [github.com](https://github.com/rails/rails/releases/tag/v8.1.0.beta1)

And 17 more in this version.

### rails 8.0.5.2 breaking changes

rails 8.0.5.2, released November 4, 2026: 12 breaking changes.

- **Behavior changed**  

Action Mailbox now rejects Mailgun inbound emails whose timestamp is more than 2 minutes ahead of local time. [github.com](https://github.com/rails/rails/releases/tag/v8.0.5.2)
- **Behavior changed**  

Signed URLs now require a content length range header matching byte_size. Bucket CORS configuration must list x-goog-content-length-range in responseHeader or browser direct uploads fail. [github.com](https://github.com/rails/rails/releases/tag/v8.0.5.2)

And 10 more in this version.

### rails 8.0.5.1 breaking changes

rails 8.0.5.1, released July 29, 2026: 3 breaking changes.

- **Behavior changed**  

Active Storage now calls Vips.block_untrusted(true) while booting, disabling unfuzzed loaders and savers. Applications that need one of them must re-enable it in an initializer. [github.com](https://github.com/rails/rails/releases/tag/v8.0.5.1)
- **Behavior changed** `config.active_storage.variable_content_types`  

Transforming BMP, ICO and PSD attachments raises Vips::Error, and some formats no longer record width and height. Applications can remove affected content types from config.active_storage.variable_content_types in an initializer. [github.com](https://github.com/rails/rails/releases/tag/v8.0.5.1)

And 1 more in this version.

### rails 8.0.5 breaking changes

rails 8.0.5, released March 24, 2026: 1 breaking change.

- **Behavior changed** `ActiveRecord.SoleRecordExceeded.record`  

Since Rails 8.0, SoleRecordExceeded#record returned the model class. This release restores the Rails 7.2 behavior of returning the relation, so code that relied on the class must be updated. [github.com](https://github.com/rails/rails/releases/tag/v8.0.5)

### rails 8.0.4.1 breaking changes

rails 8.0.4.1, released March 23, 2026: 7 breaking changes.

- **Behavior changed**  

Requests with multiple byte ranges are no longer served as multiple ranges. Clients relying on multipart range responses will be affected. [github.com](https://github.com/rails/rails/releases/tag/v8.0.4.1)
- **Behavior changed**  

Tag helpers now skip attributes with blank names instead of generating them in the HTML. Code expecting those attributes in output will see them missing. [github.com](https://github.com/rails/rails/releases/tag/v8.0.4.1)

And 5 more in this version.

### rails 8.0.4 breaking changes

rails 8.0.4, released October 28, 2025: 2 breaking changes.

- **Behavior changed**  

Test requests submitted with as: :html are now sent with a x-www-form-urlencoded Content-Type, so tests that depended on the previous encoding may need updating. [github.com](https://github.com/rails/rails/releases/tag/v8.0.4)
- **Behavior changed** `Enumerable.sole`  

Code that relied on sole returning only the first element of a tuple will now receive the whole tuple and must be updated. [github.com](https://github.com/rails/rails/releases/tag/v8.0.4)

### rails 8.0.3 breaking changes

rails 8.0.3, released September 22, 2025: 1 breaking change.

- **Behavior changed**  

Serialized jobs now store the Active Job locale rather than the I18n locale, so code that reads the serialized locale may see different values. [github.com](https://github.com/rails/rails/releases/tag/v8.0.3)

### rails 8.0.2.1 breaking changes

rails 8.0.2.1, released August 13, 2025: 2 breaking changes.

- **Removed**  

Transformations deemed dangerous are removed from Active Storage, so code relying on them will no longer produce the same result and must use safe alternatives. [github.com](https://github.com/rails/rails/releases/tag/v8.0.2.1)
- **Behavior changed**  

The RecordNotFound error message now calls inspect on the ids, so code that matches or parses the message text may see different output. [github.com](https://github.com/rails/rails/releases/tag/v8.0.2.1)

### rails 8.0.2 breaking changes

rails 8.0.2, released March 12, 2025: 5 breaking changes.

- **Behavior changed**  

Associated records that were not created or modified in the transaction are no longer validated on save, so invalid ones can now be saved. [github.com](https://github.com/rails/rails/releases/tag/v8.0.2)
- **Behavior changed**  

Active Record now prevents saving invalid records, so code that saved invalid records must validate its data first. [github.com](https://github.com/rails/rails/releases/tag/v8.0.2)

And 3 more in this version.

### rails 8.0.0.1 breaking changes

rails 8.0.0.1, released December 10, 2024: 1 breaking change.

- **Behavior changed**  

Content security policies now validate their values and disallow spaces and semicolons. Code that passes those characters must use multiple arguments and different directive methods instead. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.1)

### rails 8.0.0 breaking changes

rails 8.0.0, released November 7, 2024: 32 breaking changes.

- **Removed**  

MySQL 5.5 is no longer supported. Use MySQL 5.6.4 or later. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)
- **Removed** `ActiveRecord.ConnectionAdapters.ConnectionPool.connection`  

ConnectionPool#connection has been removed. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0)

And 30 more in this version.

### rails 8.0.0.rc2 breaking changes

rails 8.0.0.rc2, released November 7, 2024: 2 breaking changes.

- **Behavior changed** `db:prepare`  

Seeds now load during db:prepare only when the new seeds database config is true, which defaults to false for non-primary databases. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.rc2)
- **Default changed** `Regexp.timeout`  

Regular expression matching now times out after 1 second by default, so slow patterns may raise errors. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.rc2)

### rails 8.0.0.rc1 breaking changes

rails 8.0.0.rc1, released November 7, 2024: 24 breaking changes.

- **Removed**  

Removes finding database adapters not registered to Active Record in rails 8.0.0.rc1 [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.rc1)
- **Removed** `ActiveRecord.ConnectionAdapters.ConnectionPool.connection`  

Removes the deprecated ConnectionPool#connection method in rails 8.0.0.rc1 [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.rc1)

And 22 more in this version.

### rails 8.0.0.beta1 breaking changes

rails 8.0.0.beta1, released November 7, 2024: 10 breaking changes.

- **Removed** `ActiveRecord.ImmutableRelation`  

The deprecated constant ActiveRecord::ImmutableRelation is removed. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.beta1)
- **Removed** `MySQL 5.5 support`  

MySQL 5.5 is no longer supported; use MySQL 5.6.4 or later. [github.com](https://github.com/rails/rails/releases/tag/v8.0.0.beta1)

And 8 more in this version.

### rails 7.2.3.2 breaking changes

rails 7.2.3.2, released July 29, 2026: 2 breaking changes.

- **Behavior changed**  

Active Storage now calls Vips.block_untrusted(true) at boot, so BMP, ICO and PSD variant transformations raise Vips::Error and analysis of SVG, JPEG XL, JPEG 2000 and Netpbm no longer records width and height. Applications that need those... [github.com](https://github.com/rails/rails/releases/tag/v7.2.3.2)
- **Configuration changed**  

The minimum supported libvips is now 8.13 and ruby-vips is now 2.2.1. When ruby-vips is installed and either minimum is not met, Active Storage raises a RuntimeError while booting. Upgrade libvips and ruby-vips to meet these minimums. [github.com](https://github.com/rails/rails/releases/tag/v7.2.3.2)

### rails 7.2.3.1 breaking changes

rails 7.2.3.1, released March 23, 2026: 7 breaking changes.

- **Behavior changed**  

Range requests are now limited to a single range. Clients sending multiple ranges will no longer get multipart responses. [github.com](https://github.com/rails/rails/releases/tag/v7.2.3.1)
- **Behavior changed**  

Tag helpers now omit attributes with blank names to avoid generating invalid HTML. Code that relied on blank attribute names appearing in output must change. [github.com](https://github.com/rails/rails/releases/tag/v7.2.3.1)

And 5 more in this version.

### rails 7.2.3 breaking changes

rails 7.2.3, released October 28, 2025: 2 breaking changes.

- **Behavior changed**  

Strict local errors now raise ActionView::StrictLocalsError, and other ArgumentErrors are reraised unchanged. Code that rescues ArgumentError keeps working. [github.com](https://github.com/rails/rails/releases/tag/v7.2.3)
- **Behavior changed** `Rails.config.secret_key_base`  

In test and development, secret_key_base now comes from ENV or credentials when set, instead of a generated tmp/local_secret.txt file. [github.com](https://github.com/rails/rails/releases/tag/v7.2.3)

### rails 7.2.2.2 breaking changes

rails 7.2.2.2, released August 13, 2025: 2 breaking changes.

- **Removed**  

Certain transformations were removed from Active Storage for security reasons. Code that relies on them will no longer work and must be changed. [github.com](https://github.com/rails/rails/releases/tag/v7.2.2.2)
- **Behavior changed**  

The RecordNotFound error now shows ids passed through inspect, so its message text changes. Code that matches on the old message text must be updated. [github.com](https://github.com/rails/rails/releases/tag/v7.2.2.2)

### rails 7.2.2.1 breaking changes

rails 7.2.2.1, released December 10, 2024: 1 breaking change.

- **Behavior changed**  

Content security policy values containing spaces or semicolons now fail validation. Pass multiple arguments and use the separate directive methods instead. [github.com](https://github.com/rails/rails/releases/tag/v7.2.2.1)

### rails 7.2.2 breaking changes

rails 7.2.2, released October 31, 2024: 1 breaking change.

- **Default changed** `attributes_for_inspect`  

Records now show all attributes in inspect output by default. New applications set \[:id\] in config/environment/production.rb, so check any code or logs that depend on the inspect output. [github.com](https://github.com/rails/rails/releases/tag/v7.2.2)

### rails 7.2.1 breaking changes

rails 7.2.1, released August 22, 2024: 1 breaking change.

- **Behavior changed** `enum`  

Enum options that use a leading underscore from the old syntax are now flagged as invalid when using the new enum syntax, so code relying on them must be updated. [github.com](https://github.com/rails/rails/releases/tag/v7.2.1)

### rails 7.2.0.beta2 breaking changes

rails 7.2.0.beta2, released August 9, 2024: 1 breaking change.

- **Behavior changed** `ActionCable.Connection.TestCookieJar`  

Setting a cookie value in the Action Cable test cookie jar now reads back as the plain value, matching the regular cookie jar. Tests that expected the hash form must be updated. [github.com](https://github.com/rails/rails/releases/tag/v7.2.0.beta2)

### rails 7.2.0.beta1 breaking changes

rails 7.2.0.beta1, released August 9, 2024: 66 breaking changes.

- **Removed**  

Referring to a singular association by its plural name no longer works. [github.com](https://github.com/rails/rails/releases/tag/v7.2.0.beta1)
- **Removed** `ActiveRecord.ActiveJobRequiredError`  

The deprecated ActiveJobRequiredError class is removed. [github.com](https://github.com/rails/rails/releases/tag/v7.2.0.beta1)

And 64 more in this version.

### rails 7.1.5.2 breaking changes

rails 7.1.5.2, released August 13, 2025: 2 breaking changes.

- **Removed**  

Active Storage no longer supports certain transformations considered dangerous, as a security fix. Code relying on them must change. [github.com](https://github.com/rails/rails/releases/tag/v7.1.5.2)
- **Behavior changed**  

The RecordNotFound error message now calls inspect on the ids, so its text changes. Code that matches on the old message must be updated. [github.com](https://github.com/rails/rails/releases/tag/v7.1.5.2)

### rails 7.1.5.1 breaking changes

rails 7.1.5.1, released December 10, 2024: 1 breaking change.

- **Behavior changed**  

Content security policy directives now validate their values and disallow spaces and semicolons. Code that passes such values must use multiple arguments and the separate directive methods instead. [github.com](https://github.com/rails/rails/releases/tag/v7.1.5.1)

### rails 7.1.4 breaking changes

rails 7.1.4, released August 22, 2024: 4 breaking changes.

- **Behavior changed** `ActiveSupport.Notifications.publish_event`  

Durations passed to subscribers of publish_event are now in the correct units. Code that scales or reads these durations, such as async Active Record query timings, will see values that differ by a factor of 1000. [github.com](https://github.com/rails/rails/releases/tag/v7.1.4)
- **Behavior changed** `BacktraceCleaner`  

Core internal methods are filtered out of backtraces by default, so code that inspects or depends on those backtrace lines will see different output. [github.com](https://github.com/rails/rails/releases/tag/v7.1.4)

And 2 more in this version.

### rails 7.1.3.4 breaking changes

rails 7.1.3.4, released June 4, 2024: 2 breaking changes.

- **Behavior changed**  

Responses with non-HTML Content-Types now include the HTTP Permissions-Policy header. Check any code that depends on which headers non-HTML responses carry. [github.com](https://github.com/rails/rails/releases/tag/v7.1.3.4)
- **Behavior changed**  

ActionText HTML content attachments are now sanitized in the Trix edit view, which can change the markup that reaches the editor. Review code that depends on the unsanitized attachment HTML. [github.com](https://github.com/rails/rails/releases/tag/v7.1.3.4)

### rails 7.1.3.1 breaking changes

rails 7.1.3.1, released February 21, 2024: 1 breaking change.

- **Behavior changed** `translate`  

The translate method in controllers now handles HTML in its output differently to close a possible XSS hole. Code that relied on the previous raw output may need to change. [github.com](https://github.com/rails/rails/releases/tag/v7.1.3.1)

### rails 7.1.3 breaking changes

rails 7.1.3, released January 16, 2024: 5 breaking changes.

- **Renamed** `ActionView.TestCase.Behavior.Content`  

ActionView::TestCase::Behavior::Content was renamed to ActionView::TestCase::Behavior::RenderedViewContent, which now inherits from String. Code referencing the old name must use the new one. [github.com](https://github.com/rails/rails/releases/tag/v7.1.3)
- **Behavior changed** `ActiveStorage.Preview.processed`  

Calling processed on a preview now generates the full-sized preview and the requested variant right away, rather than when the variant URL is later requested. [github.com](https://github.com/rails/rails/releases/tag/v7.1.3)

And 3 more in this version.

### rails 7.1.2 breaking changes

rails 7.1.2, released November 10, 2023: 1 breaking change.

- **Behavior changed** `foreign_key`  

Passing an array as the foreign_key option in associations now raises an error. Use a single column name for foreign_key. [github.com](https://github.com/rails/rails/releases/tag/v7.1.2)

### rails 7.0.0 breaking changes

rails 7.0.0, released December 15, 2021: 61 breaking changes.

- **Removed**  

Quoting ActiveRecord::Base objects is no longer supported. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0)
- **Removed**  

Loading the Rails 5.x error format from Marshal and YAML is removed. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0)

And 59 more in this version.

### rails 7.0.0.rc1 breaking changes

rails 7.0.0.rc1, released December 15, 2021: 53 breaking changes.

- **Removed** `:return_false_on_aborted_enqueue`  

This deprecated option has been removed. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0.rc1)
- **Removed** `ActionDispatch.Response.return_only_media_type_on_content_type`  

This deprecated setting has been removed. [github.com](https://github.com/rails/rails/releases/tag/v7.0.0.rc1)

And 51 more in this version.

### rails 6.0.0.beta1 breaking changes

rails 6.0.0.beta1, released August 16, 2019: 35 breaking changes.

- **Removed** `ActionDispatch.TestResponse.success?`  

success?, missing? and error? are removed in favor of successful?, not_found? and server_error?. [github.com](https://github.com/rails/rails/releases/tag/v6.0.0.beta1)
- **Removed** `ActionView.Helpers.RecordTagHelper`  

ActionView::Helpers::RecordTagHelper is removed. [github.com](https://github.com/rails/rails/releases/tag/v6.0.0.beta1)

And 33 more in this version.

## Related packages

- [railties](https://since.dev/packages/gem/railties.md)
- [actiontext](https://since.dev/packages/gem/actiontext.md)
- [actioncable](https://since.dev/packages/gem/actioncable.md)
- [activejob](https://since.dev/packages/gem/activejob.md)
- [actionpack](https://since.dev/packages/gem/actionpack.md)
- [actionview](https://since.dev/packages/gem/actionview.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.
