All Versions
30
Latest Version
Avg Release Cycle
6 days
Latest Release
2692 days ago
Changelog History
Page 3
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
toconfig/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 => ['...', '...']}
- โก๏ธ the default index page is now moved from
-
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
- ๐
Volt now has a runner task (like rails) so you can run .rb files inside of the volt project. Example:
-
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
andVolt::Model
Also, config.ru needs to useVolt::Server
instead ofServer
.
- MAJOR CHANGE: everything volt related now is under the Volt module. The only change apps need to think about is inheriting from
-
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 thename
attribute on the model. When you do:model._name
, your fetching thename
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).
- 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}} - 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) - Bindings in routes now use double stashes as well get '/products/{{ _name }}/info'
- To help clean things up, we reccomend spaces between
{{
and}}
- All binding now takes place between
- Major changes to the templating system (to address common concerns and make things simpler).
-
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
anddata.text
<:Nav> <li><a href="{data.link}">{data.text}</a></li>
class Nav < ModelController def link_url return data.link end end
- 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