All Versions
30
Latest Version
Avg Release Cycle
6 days
Latest Release
2692 days ago

Changelog History
Page 3

  • v0.8.20 Changes

    November 05, 2014

    ๐Ÿ”„ Changed

    • ๐Ÿ›  fix secure random bug from 0.8.19 :-)
  • v0.8.19 Changes

    November 05, 2014

    ๐Ÿ’ฅ Breaking Changes

    • โšก๏ธ the default index page is now moved from public/index.html to config/base/index.html Please update your app's accordingly. Since the public page is essentially static at the moment, public will only be used for asset pre-compilation (and index.html will be rendered in place)
    • validations do not use underscore for the field name

    โž• Added

    • you can precompile an app with bundle exec volt precompile - still a work in process
    • โšก๏ธ update flash to handle successes, notices, warnings, errors.
    • โž• Add .keys to models (you can use .keys.each do |key| until we get .each_pair binding support)
    • โž• added cookies collection. See docs for more info
    • ๐Ÿ‘ validate :field_name, unique: true now supported (scope coming soon)
    • โž• added custom validations by passing a block to validate and returning a hash of errors like {field_name => ['...', '...']}
  • v0.8.18 Changes

    October 26, 2014

    โž• Added

    • โž• Added a default app.css.scss file

    ๐Ÿ”„ Changed

    • ๐Ÿ›  back button fixed
    • ๐Ÿ‘Œ improve security on task dispatcher
    • ๐Ÿ›  lots of minor bug fixes
  • v0.8.17 Changes

    October 20, 2014

    โž• Added

    • ๐Ÿš… Volt now has a runner task (like rails) so you can run .rb files inside of the volt project. Example: volt runner lib/import.rb
    • ๐Ÿ†• New video showing pagination: https://www.youtube.com/watch?v=1uanfzMLP9g
  • v0.8.16 Changes

    October 20, 2014

    โž• Added

    • ๐Ÿ”„ Change changelog format to match: http://keepachangelog.com/
    • โž• Added rubocop config and ran rubocop on repo, lots of changes.
    • โž• Added .limit and .skip to cursors
    • ๐Ÿ”„ Changed: attrs now return nil for attributes that weren't passed in.
  • v0.8.15 Changes

    October 18, 2014
    • MAJOR CHANGE: everything volt related now is under the Volt module. The only change apps need to think about is inheriting from Volt::ModelController and Volt::Model Also, config.ru needs to use Volt::Server instead of Server.
  • v0.8.10 Changes

    October 12, 2014
    • url.query, url.fragment, url.path all update reactively now.
    • MAJOR CHANGE: Previously all tables and fields were created with _'s as their name prefixes. The underscores have been removed from everywhere. The only place you use underscores is when you want to access fields without creating setters and getters. Now when you do: model._name = 'Something', your setting the name attribute on the model. When you do: model._name, your fetching the name attribute. If you insert a hash into a collection, you no longer use underscores:
        store._items << {name: 'Item 1'}
    
    Continue using underscores in routes.
    
  • v0.8.6 Changes

    October 05, 2014
    • Major changes to the templating system (to address common concerns and make things simpler).
      1. All binding now takes place between {{ and }} instead of { and } (double stash instead of single stash) Escaping is still with a tripple stash {{{ escap{{ed}} }}} => escap{{ed}}
      2. Bindings can now be (almost) any ruby code. No more #'s at the beginning. Blocks are now closed with {{ end }} If's are now: {{ if _something }} ... {{ elsif _other }} .. {{ else }} .. {{ end }} Each's are now: {{ _items.each do |item| }} ... {{ end }} Template bindings are now: {{ template "path" }} (along with other options) Each should use do notation not brackets. Also, .each is not actually called, the binding is parsed and converted into a EachBinding. Other Eneumerable methods do not work at this time, only each. (more coming soon)
      3. Bindings in routes now use double stashes as well get '/products/{{ _name }}/info'
      4. To help clean things up, we reccomend spaces between {{ and }}
  • v0.8.4 Changes

    October 04, 2014
    • Added configuration for databases.
  • v0.8.0 Changes

    October 03, 2014
    • Major change: After a bunch of research and effort, we have decided to change the way the reactive core works. Previously, all objects that maybe changed would be wrapped in a ReactiveValue object that could be updated using .cur= and accessed using .cur This had many advantages, but resulted in very complex framework code. It also had a few problems, mainly that reactive value's (sometimes) needed to be unwrapped when passed to code that wasn't aware of reactivity. Our goal is transparent reactivity. Taking infuence from meteor.js, we have switched to a simpler reactive model. See the Readme for details of the new reactive system. The new system has a few advantages. Mainly, you can for the most part write code that is reactive and it will just work.
    • Radio button support has been added, see README.md
    • Added docs for select box bindings
    • Previously attributes passed into controls were accessable as instance variables. Due to the way the new reactive system works, to bind data it needs to be fetched through a method or function call. To make this work, attributes passed in as an object. The object can be accessed with data, so if you have a tag like: <:nav link="/blog" text="Blog" />

      Within the template or controller you can access link and text as data.link and data.text

        <:Nav>
          <li><a href="{data.link}">{data.text}</a></li>
      
          class Nav < ModelController
            def link_url
              return data.link
            end
          end