Rails 6.0.0 Beta1 Released! What’s New?
The first beta of Rails 6.0.0. has just landed! Let’s take a quick peek into this release – what can we expect?
Webpacker – New Default Bundler For Rails
This update got the warmest welcome among our dev team. Starting from version 6.0,
Two New Frameworks
Rails 6.0.0 Beta1 comes with two new frameworks – Action Text and Action Mailbox.
Action Text may take your code writing to take your code writing to the next level as it will make creating, editing, and displaying rich text content in your applications far more easier. It includes the Trix editor that handles everything: formating, quotes, adding links and lists to embedded images and galleries.
Rails creators promise that Action Text is in quite good shape (for beta) although this is only an alpha preview for now and they haven’t merged it into rails yet. Having said that you can check it in action here.
A second new framework is Action Mailbox. It will allow routing incoming emails to controller-like mailboxes for processing in Rails and it will work with ingresses for Amazon SES, Mailgun, Mandrill, and SendGrid.
New Features For Scaling
Ruby 6.0.0 beta1 introduces two new major features for scaling – new multiple database support and Parallel testing. The first one allows to connect one application to multiple databases at the same time. A new, easy to use API was added to make it simpler.
The second one, parallel testing support, will speed up your testing suite in multicores environment. No more warming up your CPU to the dangerous extends – each testing worker gets its own database and runs in its own thread. This will be especially useful for running heavy tests!
Rails 6.0 – when?
So when is the official release? That’s a good question 🙂
Rails 6 is still a long ways off, as the Rails Team writes on their blog. Current planned date is 30th of April 2019, during RailsConf 2019. Will they make it? They promise nothing but they seem to still be on schedule. For sure we can expect another beta next month followed by two Candidate releases, 1st of March and 1st of April.
Until then – Fingers crossed! It’s gonna be a major release so there’s plenty to wait for!
IMPORTANT NOTE: Rails 6.0 will require Ruby 2.5+! If you want to be ready for the release make sure you’re already running this version of Ruby.
If you are looking for more information regarding Ruby on Rails please check our Ruby on Rails Development Guide.