


At-Work Encryption With Active RecordĮxtracted from HEY, we’ve added encrypted attributes to Active Record, so your application can offer at-work encryption in addition to the traditional at-rest and in-transit coverage.Īs an immediate practical benefit, encrypting sensitive attributes adds an additional security layer. Through two new companion gems that can be triggered via rails new –javascript and –css, you get easy access to starting a new application or changing one that starts with import maps to use esbuild, rollup.js, Webpack, Tailwind CSS, PostCSS, Dart Sass, and Bootstrap. Without needing thousands of node dependencies in node_modules, fighting with bundler configurations, or any of the other challenges common with JavaScript development.Īt the same time, we’ve also dramatically improved the integration between Rails and JavaScript + CSS bundlers for those who need that. Together with the replacement of Turbolinks and Rails UJS by the Hotwire combination of Stimulus and Turbo, we now have the most complete in-the-box front-end setup for writing great Rails applications ever. Advancements in browser support for ES6/ESM, widespread adoption of HTTP/2, and the exciting new standard for import maps has paved the way for a no-Node approach to JavaScript in Rails 7 – without giving up on npm packages. Please help us test all this new stuff so we can ensure a solid final release of Rails 7 this year! All New Answers On The Front-EndĪfter almost five years with Webpacker as our default answer to writing modern JavaScript in Rails, it’s time to move on. We usually don’t do alpha releases for Rails, but given the fact that the new front-end approach is such a substantial change, we thought it best to validate that a little further before jumping straight on the beta -> release candidate -> final train. It brings some very exciting new answers to how we do JavaScript, an awesome approach to at-work encryption with Active Record, SQL query origin logging, asynchronous query loading, exclusive autoloading through Zeitwerk, and much more. Welcome to the first alpha release of Rails 7. Rails 7.0 Alpha 1: New JavaScript Answers, At-Work Encryption, Query Origin Logging, Zeitwerk Exclusively
