Each holiday season, one of the most highly-anticipated gifts for us here at The Gnar is a new Rails version. This year, Rails 7 was released on Dec. 15. The release is described by David Heinemeier Hansson (DHH), the creator of the Rails framework, as "the fulfillment of a vision to present a truly full-stack approach to web development that tackles both the front- and back-end challenges with equal vigor".
- Turbolinks and Rails UJS are swapped out for Turbo and Stimulus, respectively, making room for speedy DOM updates by sending HTML over the wire.
These changes are primarily in response to to industry changes such as increased browser support for ES6/ESM, the adoption of HTTP/2, import maps, and an increasing affinity for single-page applications (SPAs). We can't wait to get started upgrading and building our applications with Rails 7 in the New Year!
Read the full article at https://rubyonrails.org.