Rails 7 Adds ability to handle reconnects with the connected callback
Rails 7 has enabled subscribers to handle reconnections with the connected() callback in the Action Cable in the event of a lost connection.React 18 adds onResize event to video elements
Before React 18, onResize handlers were ignored on video elements. React 18 now adds support for the onResize media event.Private fields, methods and, accessors in JavaScript
The class fields proposal provides private fields for classes and instances to JavaScript. With this proposal, any class element can be private.Rails 7 adds SSL support for postgresql in bin/rails dbconsole
Rails 7 added PGSSLMODE, PGSSLCERT, PGSSLKEY, and PGSSLROOTCERT to DBConsole class to load SSL-related environment variables from database config when running bin/rails dbconsole with postgresql.Ruby 3.1 adds try_convert method to Integer class for implicit conversions
try_convert for Integer will convert the object into an instance of the class via the implicit conversion method to_int and returns nil if no implicit conversion method is defined.Babel 7.14 enables class fields & private methods by default in @babel/preset-env
Starting from Babel 7.14 @babel/plugin-proposal-class-properties and @babel/plugin-proposal-private-methods plugins are enabled by default in @babel/preset-env.Rails 7 ensures has_one autosave association callbacks get called once
In Rails 7, the autosave association callbacks for the has_one are non-cyclic.Ruby 3.1 evaluates multiple assignments from left to right
Ruby changes the evaluation order for multiple assignments from left to right making it consistent with single assignment evaluation order.