- Update Opal to 1.7
- Loosen requirement of version of thor gem (allow 1.x)
- Update Opal to 1.2
- feat: Ovto::Middleware (#18)
- Experimental. API may change during 0.6.x
- feat(State): default_proc (#17)
- feat(o):
o SubComp do ...end
now passes the block toSubComp#render
(#16)
- new: Ovto::PureComponent
- new: Support Opal 1.0
- fix: ovto command raises
cannot load such file -- rack (LoadError)
New features
-
ovto new
command -
You can now omit
state:
inrender
method or actions -
Support embedding VDom directly (eg. which is compiled form markdown)
Example:
o 'div', `{nodeName: ....}`
Breaking change
View
is renamed toMainComponent
. Please renameMyApp::View
toMyApp::MainComponent
.
New features
Ovto.debug_trace
- fix:
o "div" do ... end
raises error when ... is[]
- fix: error on calling actions before DOMContentLoaded
- security: Update rack
- fix: gem install error on Windows (due to symlink)
New features
- First gem release!
Ovto.fetch
- Calling another action from actions
- Allow
o "div#id.class"
oro "div.class#id"
- Sub component can access the app state by adding
state:
keyword torender
App#actions
,App#setup
State#==
console.log
Fixes
- Skip rendering if app state is not changed by an action
o "div.main", class: 'hovered'
should yield<div class='main hovered'>
- Cannot pass falsy value when rendering a child component
- Initial release