Volt v0.9.1 Release Notes

  • โšก๏ธ 0.9.1 Update Blog Post

    โž• Added

    ๐Ÿ”„ Changed

    • โœ… All code in app is now automatically reloaded when any files change. This is done through a "preforking" server. Before your apps code is loaded (and after Volt's is), the server forks a child process to handle the request (in dev and test mode).
    • Corrected the name of StringTemplateRender to StringTemplateRenderer
    • ๐ŸŽ Volt now uses faye-websocket for socket connections. This means we can run on any rack-hijack server supported by faye-websocket. Currently Volt is tested with thin and puma. (Note: Thin will probably have better performance since it is evented, which means it doesn't need a thread per connection) More servers coming soon.
    • ๐Ÿ‘€ originally everything in /config would be run when an app boots (similar to rails initializers folder). The issue we didn't see is things like capistrano that store other ruby files in config. To maintain conventions, Volt now loads config/app.rb first, then everything in config/initializers/*.rb
    • ๐Ÿ›  fixed issue with the unique validation.
    • made it so <:SectionName> can be accessed by <:section_name /> tag
    • ๐Ÿ›  fixed issue with if bindings not resolving some promises.
    • ๐Ÿ›  fixed issue with require's in controllers.
    • ๐Ÿ›  fix class formatting issue with Pry.
    • Bundler.require is now called for the correct env when 'volt/boot' is included. (We weren't planning to do this, but it does make life so much easier)
    • ๐Ÿšš opal-jquery was removed as a dependency. If you want to use it again, add gem 'opal-jquery' to your Gemfile and add ``require 'opal/jquery' to your MainController.
    • ๐Ÿ’Ž Volt and new gems now use the standard ruby version.rb file.