I am happy to announce that Rails 7.0.2 has been released. While this looks like a regular patch release there
are a few notable changes.
First, one feature that was introduced in 7.0.0 was removed, the ability to pass a
service_name param to
DirectUploadsController. This feature was causing significant issues when upgrading from Rails 6.1, so the Rails
team decided to remove it while we work in a backward compatible change. You can read more about the original
feature in the original pull request and about the problems in the
We don’t take this decision lightly, and usually don’t remove features after they are released without a proper
deprecation cycle, but at this time we decided to prioritize making it easier for people to upgrade.
Finally, with the same goal in mind, Rails 7.0.2 introduced a new feature, the ability to version the database
schema based on the Rails version. This new feature will allow existing
applications to still load their database schemas generated in Rails 6.1, with the same behavior as before, keeping
it matching the production database schema. The
rails app:update command was updated to change the database schema
to include the Rails version. As soon the first schema dump is made using Rails 7.0 the schema will be updated to use
the Rails 7.0 format. Read more about this change in the
CHANGES since 7.0.1
To view the changes for each gem, please read the changelogs on GitHub:
To see a summary of changes, please read the release on GitHub:
To see the full list of changes, check out all the commits on
If you’d like to verify that your gem is the same as the one I’ve uploaded,
please use these SHA-256 hashes.
Here are the checksums for 7.0.2:
$ shasum -a 256 *-7.0.2.gem
As always, huge thanks to the many contributors who helped with this release.