Rails 6.0.2.rc2 has been released!

Hi everyone,

I am happy to announce that Rails 6.0.2.rc2 has been released.

If no regressions are found, expect the final release on Friday, December 12, 2019. If you find one, please open an issue on GitHub and mention me (@rafaelfranca) on it, so that we can fix it before the final release.

CHANGES since 6.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:

6.0.2.rc2 CHANGELOG

Full listing

To see the full list of changes, check out all the commits on GitHub.

SHA-256

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 6.0.2.rc2:

$ shasum -a 256 *-6.0.2.rc2.gem
201051352bd868c379fc76d59b847766ea0af4b168af808ba1e0269d6b939583  actioncable-6.0.2.rc2.gem
a158bc7909e33fee990e41fe0c010fd2750b3ae33d71668fd2e9b8985277e6bd  actionmailbox-6.0.2.rc2.gem
35dcd9231ba61ad072d2123d6aa2cac67cce4d8393530d5d8cd4916b16e3801c  actionmailer-6.0.2.rc2.gem
23b23cbf12cb8ec1b1373276ee37f7f32691500667fd9e14c0bb4848057bd15b  actionpack-6.0.2.rc2.gem
a6246e525e110de4bea18e82da4d3b7538fdc308949dde250df986175b911d8e  actiontext-6.0.2.rc2.gem
215cf27ebe42d8991bf4151fc02e4fd043b7a486890cec7faa15387b6847d074  actionview-6.0.2.rc2.gem
47959894de499ea57043c77d06fc492b29f2b448e65c76cda779968a43b24aaa  activejob-6.0.2.rc2.gem
042f0409d8b109d96246b45f255515d0a98533bab44bc15af7c511c8f4893486  activemodel-6.0.2.rc2.gem
123a2959e6dc9f87e7b39ca436248dac7a40415e6d2b6a9266418bb24bcb02ca  activerecord-6.0.2.rc2.gem
2e652d35e7bca6ea5e72a979c6d08534cb53e9ff647bf7e05f4ba2c525a8b721  activestorage-6.0.2.rc2.gem
007f106c1419b6cfdc0a82cac72550f302821d53ca74a1ffafaf11eb93fb0ef3  activesupport-6.0.2.rc2.gem
5cb22ec58dd58fb79fa1f3da50adff4692a41cf19ff4a2fa6cde482885d9f310  rails-6.0.2.rc2.gem
c33a3986cfc1dda1f561abb92a2ef9826fa0b574db42bb2b2f51b01f0cf0517b  railties-6.0.2.rc2.gem

As always, huge thanks to the many contributors who helped with this release.

Rails 6.0.2.rc1, 5.2.4, and something different…

Hey readers! This is Kasper bringing you the latest news in Rails. I’m writing from deep winter-like Copenhagen, starting on the last month of the decade.

Speaking of progress, Rails recently crossed 75.000 commits on GitHub. Last time we marked commit progress was over 4 years ago for 50.000. I happened to write that issue too, you can read it here.

Rails 6.0.2.rc1 released

As always, this release is loaded with fixes and improvements. It’s currently set to ship Monday Dec 2 and so far no regressions have been found as far as I know. Final day to test the release candidate on your app, try it out ✌️

Rails 5.2.4 released

The final bug fix release of Rails 5.2, now it’ll only get security releases from here on out. Good time to plan a Rails 6 upgrade.

Something different this issue…

For the most part we highlight particular interesting commits in this newsletter, but there’s usually other stuff we don’t get to. Stuff that could help you make sense of Rails itself. This week I’d like to try to remedy that.

Here’s all changes since last time. Visit the link and each time you see “Merge pull request #12345”, click ‘em. Feel free to see Files Changes and on particularly interesting files, you can try “View File” and read some surrounding code. This can be overwhelming so go easy. But that’s pretty much a fine way to start reading Rails’ actual code. It’s all Ruby all the way down.

Now, some of the people in the list are on certain Rails teams. You’ll likely interact with some of them if you submit a pull request. Here’s who’s in the current change list, but not the full teams.

carlosantoniodasilva, eileencodes, georgeclaghorn, kaspth (that’s me), rafaelfranca are on Rails Core. gmcgibbon, jhawthorn, kamipo and y-yagi have commit access. Meanwhile eugeneius and vipulnsward are on the issues team, so they can triage issues and merge documentation PRs.

That’s it for now, hope it’s useful 🙌

Also 41 people contributed since last time including several first time contributors.

Hope you dig it. See ya next time! 👋🏻

Rails 5.2.4 has been released!

Hi everyone,

I am happy to announce that Rails 5.2.4 has been released.

CHANGES since 5.2.3

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:

5.2.4 CHANGELOG

Full listing

To see the full list of changes, check out all the commits on GitHub.

SHA-256

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 5.2.4:

$ shasum -a 256 *-5.2.4.gem
0ba74e3b94e4712f3d754125e494f45e5240af8f4c8c8f0f167dff3b0e0a3a96  actioncable-5.2.4.gem
c85a6f665f5d6ed48104c9984a928851dd490a49e2ef866a71530c5a62dfd87c  actionmailer-5.2.4.gem
0ccecdc86c8c98adf5a16e2a5bf55379a16e845db94bc12899f052d25ad48d91  actionpack-5.2.4.gem
19b1a9c0a26bb8d0c1cfec353784e518a61dd7e218a29f5e309c4c7d7bc5beac  actionview-5.2.4.gem
8f4baa59887eafb63b7a9f0fc194101e4c996a3210815a151270d08a0d2f22d8  activejob-5.2.4.gem
f87e407f1fc3b04c3ee680278a5af5c2b3263d2d87f8e96d555249c7bbe3f479  activemodel-5.2.4.gem
cd6eca48d5cb6859c5e09dea5ec11677791af26218c269cef8936bc0b4923a18  activerecord-5.2.4.gem
1fae89ac78f965f590d6867b3bc1546fb662b5fde780f38789ac3ad61ed8e40c  activestorage-5.2.4.gem
b826f53ae52f1250edf56d254a839ca5df7c0a9d8e8c9334629d6bbd0eb61bce  activesupport-5.2.4.gem
3abc0d1c5a6a87821ed73d0f523fbb63e09610dbdfd7f8b948e14a15f7749481  rails-5.2.4.gem
5c3a7788700b99c75be9041cab79d92a89d8c76173b232753d7ea7e6e43233ee  railties-5.2.4.gem

As always, huge thanks to the many contributors who helped with this release.

Rails 6.0.2.rc1 has been released!

Hi everyone,

I am happy to announce that Rails 6.0.2.rc1 has been released.

If no regressions are found, expect the final release on Monday, December 2, 2019. If you find one, please open an issue on GitHub and mention me (@rafaelfranca) on it, so that we can fix it before the final release.

CHANGES since 6.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:

6.0.2.rc1 CHANGELOG

Full listing

To see the full list of changes, check out all the commits on GitHub.

SHA-256

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 6.0.2.rc1:

$ shasum -a 256 *-6.0.2.rc1.gem
f7f620f3042bc73f8e461deab8005f089dc58adcbcf5ab8112878245ad62db75  actioncable-6.0.2.rc1.gem
98860fedcb06a53bf0bb6367810f148bfd387fab2461aaa3511966c332ccaba7  actionmailbox-6.0.2.rc1.gem
30c442e289504fd4847341c702a2096954218107b8dd033c9e460ab6fb812e28  actionmailer-6.0.2.rc1.gem
8ef626574ee988c0d59fcf03b6e60202fda2797bc387cf85922011053bcb7951  actionpack-6.0.2.rc1.gem
4fa0062cdc66ca2fa30d28d1681b22fa245cbd4fe1cc7219573bc790131f3f95  actiontext-6.0.2.rc1.gem
5760324a0ea085391c97cd072dd39a3aa352f40935308344f2e19ac7f244b772  actionview-6.0.2.rc1.gem
48c91cf9ee11ba60519cd7daca0914c0310491b69b1c03b5ca5a0383af29f863  activejob-6.0.2.rc1.gem
694d5c84aa0cc7a8b438dc6ecb18b8b22b69773aced6d5982b00941d5f905dfe  activemodel-6.0.2.rc1.gem
399098bb60e1ee3897ee82db7ec98152d8465a08917f3e5dcccb4085fcb06904  activerecord-6.0.2.rc1.gem
c8ce7396d623e794bb2568b6c2d6f7b8b2c26b0246547b9f7e91c3c55f56be36  activestorage-6.0.2.rc1.gem
c1ba538d3ac80e1a3aaf2c8ff36db215f0a1fcd7a1908df8de5cad56f711efd0  activesupport-6.0.2.rc1.gem
64981b76140ca930e008f8e58879ec963a8ad5386fb894d58e655b491a7bd1fd  rails-6.0.2.rc1.gem
37f224e83d39408dbc240549ab866b11bb53409563cb677ee65bd58bc39cfcef  railties-6.0.2.rc1.gem

As always, huge thanks to the many contributors who helped with this release.

Rails 5.2.4.rc1 has been released!

Hi everyone,

I am happy to announce that Rails 5.2.4.rc1 has been released.

This is going to be the last bug fix release of the 5.2 series, so please test the releases candidates and report regressions so we can fix before the final release.

If no regressions are found, expect the final release on Wednesday, November 27, 2019. If you find one, please open an issue on GitHub and mention me (@rafaelfranca) on it, so that we can fix it before the final release.

CHANGES since 5.2.3

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:

5.2.4.rc1 CHANGELOG

Full listing

To see the full list of changes, check out all the commits on GitHub.

SHA-256

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 5.2.4.rc1:

$ shasum -a 256 *-5.2.4.rc1.gem
71c875fc798edf11372e801319dc0f85b22a6c3b15ee269f7e354bbd0b525df3  actioncable-5.2.4.rc1.gem
c623597a1ca76930cb28e5d07085b0ce5e89d465fbc5784753344633898d5118  actionmailer-5.2.4.rc1.gem
45393dfd757daa4e375846199fde5fce6713eb85793e441cc7b2cd091f543a14  actionpack-5.2.4.rc1.gem
74a0508940d34bad7c3f84668c20d0277f9cbdffc13c3cf55ee754c33afa1612  actionview-5.2.4.rc1.gem
12baf95010f778044d70ae2b3fae5755dc89113576082dbfc76f88b2a32ee70b  activejob-5.2.4.rc1.gem
7cd8ac1e7739181c83ad63e164a4e92d058f5b57dc040e2f03a724243dc6cb2a  activemodel-5.2.4.rc1.gem
088d6ebe600b8147ca0764c688ea5c184c3127dd8dfc4c41d36778335c8e4d85  activerecord-5.2.4.rc1.gem
0cc29d1439c4302f7515a9f703a4672b7a1764b67650074cd00c83914106daab  activestorage-5.2.4.rc1.gem
138926da539471bb91fd8270ded2f44aeafafcf45ede8ee68dee63873b1d0b4e  activesupport-5.2.4.rc1.gem
c9f9a2381a465888619736d6dd5108c795bbffabf0f1cd7cf49fbac26e4e88c8  rails-5.2.4.rc1.gem
e455f200dd872c710684db8e45b982a5d9de6c7e481c397715d1a232918a95db  railties-5.2.4.rc1.gem

As always, huge thanks to the many contributors who helped with this release.

Rails 6.0.1, database connection improvements, and more

Hey there! This is Daniel bringing you the latest news in Rails. I am writing from RubyConf in Nashville, so come find me and say hello if you are here too!

Rails 6.0.1 released

As always, this release is loaded with fixes and improvements. Today seems like a good day to upgrade, don’t you think?

Introduce role manager to manage connections

I am a big fan of detailed commit messages, and this commit has an impressive one. This change will help to eventually support sharding in Rails.

Disable logging for jobs with sensitive arguments

Do you have any jobs that include sensitive arguments like passwords? You probably don’t want to see those arguments showing up in your logs. Now you can disable argument logging for any job by setting the log_arguments configuration option.

Use both implicit order column and primary key for ordering

To ensure deterministic results, records are now ordered by both implicit_order_column and the primary key, when available. This commit is from a first-time contributor. Nice work!

Remove duplicated database configuration logic

The Rails codebase is fairly complex. It is always nice to see a commit that simplifies it, reduces duplication, and improves behavior while removing lines.

36 people contributed since last time, including several first-time contributors. Check out the full list of changes.

Bye for now! 👋🏻

Rails 6.0.1 released

Hi everyone,

I am happy to announce that Rails 6.0.1 has been released.

CHANGES since 6.0.0

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:

6.0.1 CHANGELOG

Full listing

To see the full list of changes, check out all the commits on GitHub.

SHA-256

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 6.0.1:

$ shasum -a 256 *-6.0.1.gem
e905a3e13e62cca763bde6c7ada869db335aec5736c306855b55953b26ec7acc  actioncable-6.0.1.gem
9723a51f65261a46746ed1ebb1044884619daa8c016ac42e4a010d22a34d10f0  actionmailbox-6.0.1.gem
9912e82fa14a56b1cec70ab3a3a3a7051ba0bb35f41834d7b5cf4f996509f4ef  actionmailer-6.0.1.gem
e5b94c53514f56bdb9273145392611ba1e3483fbd4d6a4c3fa5b8dfe2bab0632  actionpack-6.0.1.gem
7ea35140009b63907daad9818e5ae08f84b7ce5f4674a3826ca1dd8544003a67  actiontext-6.0.1.gem
cac8225dcd12a047e13b9f78646c55350679587a59262ca982eb535f0584b16d  actionview-6.0.1.gem
0cabdae0c2839637d70a527b7d5640e7012904ffdd844dda87a6d97b0774ae6a  activejob-6.0.1.gem
c0e0e20886e0b5e695af57cbd7d52b9f46b4939e6227bd536eaadadbe115f091  activemodel-6.0.1.gem
d5cd3b3fb74ce292366b17fdb2e48dcd10a015f791eee1669231ae0633be016b  activerecord-6.0.1.gem
4300352bb8f108ea08d33071166b25cb4a4cbdb9996c7a9af5c43e4bd0b53d79  activestorage-6.0.1.gem
3af069dbd4b0181fbfb209453e7fc9321594e329c553472dfa7f80ef83d81da4  activesupport-6.0.1.gem
87c242b5dbac85026ef3fe1278a51bee6d81913fb631465c4bfee2e8e8759ec8  rails-6.0.1.gem
05d4ccdbd8dc4232ed779c85a15795ecc47df5fca017f6dd483d10f2a14040f7  railties-6.0.1.gem

As always, huge thanks to the many contributors who helped with this release.

Reestablish previous connection, duplicate cached values and run inline jobs

Hello! This is Roque bringing the latest news from the Rails community.

Reestablish connection to previous database after migrating

The migrate task iterates and establish a connection over each database. That resulted in the last connection being used by subsequent rake tasks. This fix will restore the previous connection before the migrate task had started.

Duplicate the cached value before writing to the local cache

This fixed the following issue:

my_string = "foo"
cache.write('key', my_string)
my_string << "bar"
cache.read('key') # => "foobar"

Run inline jobs in separate threads

Run inline jobs in separate threads so that thread locals (e.g. current attributes) are properly scoped and reset when running jobs inline.

17 people contributed to Rails since last time. Check out the detailed list of all changes.
Until next time.

Rails 6.0.1 RC1 released

Hi everyone,

I am happy to announce that Rails 6.0.1.rc1 has been released.

If no regressions are found, expect the final release on Tuesday, November 5, 2019. If you find one, please open an issue on GitHub so that we can fix it before the final release.

CHANGES since 6.0.0

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:

6.0.1.rc1 CHANGELOG

Full listing

To see the full list of changes, check out all the commits on GitHub.

SHA-256

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 6.0.1.rc1:

$ shasum -a 256 *-6.0.1.rc1.gem
23adccc8bade5c3bdc8d76b69a1e9988052358aad406a6ca81eb642749088e4f  actioncable-6.0.1.rc1.gem
c7f2aa9fa3767f82479ad9fd714ca97d0586c5e957d149bc4ef7ca02d8617180  actionmailbox-6.0.1.rc1.gem
58df98a5aa58bf827262dcfa1b12b45bb161a59bf2bbe50dccb2bb639b65da8d  actionmailer-6.0.1.rc1.gem
6a5ffbcc23e298f58d7e0bb3f17bfa3f95c4ada1f90b523be2757e7de029b132  actionpack-6.0.1.rc1.gem
3e410969cad6acc26604e59fe2857ed8b251418f8446e4fafcecad6306f526b0  actiontext-6.0.1.rc1.gem
9402970f158d28b74373a8c400418f42bfcc50f2ad96b4771d66d06e68eb62a3  actionview-6.0.1.rc1.gem
6e896a34c717462b4e34c8f67a707daedec83f45760b0fcedf373b4a1c536675  activejob-6.0.1.rc1.gem
1f69c1a337eaa0a0b0a76fe95a26fa0bad1d29f0bb365b35a20ebdda4eb6f56b  activemodel-6.0.1.rc1.gem
1b2471d934650cf6484e7d110c3da9fed64252a0de8f449dcd3e4df9d066283d  activerecord-6.0.1.rc1.gem
e48d836948164471e91ca8a9ef495b8c6d6976b845a13836f9572119118d74c9  activestorage-6.0.1.rc1.gem
fe62486cd9665a725304db287bc942829f9faaf6c6e243155d706351a4590439  activesupport-6.0.1.rc1.gem
eee594a0a944fc2d182a29a440c2bca62b8e55ec63ada2a77cfe003d6447e4ed  rails-6.0.1.rc1.gem
3052fa0d642aca19e1a7f44e9ad8de75576726053859a98477ceb796edb1bbd7  railties-6.0.1.rc1.gem

As always, huge thanks to the many contributors who helped with this release.

Permanent public URLs for storage blobs and more

Hello Ruby folks. Wojtek from this side reporting on latest additions to Rails codebase.

Add permanent URLs for public storage blobs

It is now possible to configure Active Storage to hold public/private blobs. Public services will always return a permanent URL.

Improve inversing associations

Adds support for inversing belongs_to -> has_many Active Record associations through a config option.

Support for overrides in “zeitwerk” mode inflectors

Helps to define custom autoload inflections independently from Active Support.

Support errors translation lookup on indexed attributes

When using indexed errors option, translated messages for them will be looked up by the standardized key.

Allow “OPTIONS” HTTP verb in routing mapper

Handy shortcut for defining routes.

45 people contributed to Rails since last time. Check out the detailed list of all changes.
Until next time.