Skip to content

Latest commit

 

History

History
85 lines (51 loc) · 1.75 KB

CHANGELOG.md

File metadata and controls

85 lines (51 loc) · 1.75 KB

v0.7.0 (2023-04-22)

  • Update Opal to 1.7

v0.6.2 (2021-10-22)

  • Loosen requirement of version of thor gem (allow 1.x)

v0.6.1 (2021-10-22)

  • Update Opal to 1.2

v0.6.0 (2020-02-29)

  • 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 to SubComp#render (#16)

v0.5.0 (2019-12-22)

  • new: Ovto::PureComponent
  • new: Support Opal 1.0

v0.4.1 (2019-04-19)

  • fix: ovto command raises cannot load such file -- rack (LoadError)

v0.4.0 (2019-04-19)

New features

  • ovto new command

  • You can now omit state: in render method or actions

  • Support embedding VDom directly (eg. which is compiled form markdown)

    Example:

    o 'div', `{nodeName: ....}`
    

v0.3.0 (2018-12-24)

Breaking change

  • View is renamed to MainComponent. Please rename MyApp::View to MyApp::MainComponent.

New features

  • Ovto.debug_trace

v0.2.3 (2018-11-13)

  • fix: o "div" do ... end raises error when ... is []
  • fix: error on calling actions before DOMContentLoaded

v0.2.2 (2018-11-07)

  • security: Update rack

v0.2.1 (2018-11-02)

  • fix: gem install error on Windows (due to symlink)

v0.2.0 (2018-11-01)

New features

  • First gem release!
  • Ovto.fetch
  • Calling another action from actions
  • Allow o "div#id.class" or o "div.class#id"
  • Sub component can access the app state by adding state: keyword to render
  • 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

v0.1.0 (2018-06-01)

  • Initial release