Skip to content

Releases: odoo/owl

v0.12.0

29 May 09:27
Compare
Choose a tag to compare

v0.12.0

Owl

  • move metadata into __info__ (date, version, hash, ...)
  • add a mode key (for dev or prod
  • small local optimizations

QWeb

  • add modifiers for events with t-on. For ex, t-on-click.stop=...
  • add global component registry
  • breaking change: t-ref uses now string interpolation

Component

  • allow t-transition on components
  • add props validation system
  • add defaultProps system
  • t-widget uses now string interpolation

Utils

  • remove patch/unpatch

Misc

  • playground: remove benchmarks app
  • playground: improve code samples

v0.11.0

17 May 21:37
Compare
Choose a tag to compare

v0.11.0

QWeb

  • add t-mounted directive
  • make t-widget work with t-elif
  • add default template (empty div)
  • rename loadTemplates into addTemplates
  • fix: scoping issue with list of widgets
  • support #{} syntax as well as {{}}

Component

  • deduce template name from component name (if not explicitely set)
  • remove support for inlineTemplate
  • better error if Owl cannot find a widget class
  • massive simplification of generated code by t-widget
  • remove isStarted metadata

Utils

  • remove memoize, parseXML functions
  • remove patch/unpatch

Observer

  • fix: newly observed object/arrays have higher rev number

Misc

  • add extras:watch task
  • playground: keep separate session for each tab
  • playground: debounce some handlers

v0.10.0

10 May 10:27
Compare
Choose a tag to compare

Improvements

  • playground: display async error in right pane
  • store: add support for getters
  • component: add support for css/style
  • playground: improve examples

Fixes

  • qweb: make t-transition code more robust
  • component: capture ref key in closure
  • component: call patch between willPatch and patched
  • store: properly call patch on connected components
  • store: correct update order for child/parents
  • component: fix issue with crash caused by async rendering
  • component: prevent rendering if not mounted

Doc

  • update qweb doc
  • add Semantics section in component doc
  • add documentation in all headers
  • add store basic documentation

v0.9.0

03 May 10:16
Compare
Choose a tag to compare

Improvements/Changes

  • component: result from willPatch is given to patched
  • utils: remove id generator function
  • utils: add loadJS function
  • utils: add whenReady function
  • utils: remove findInTree and htmlTrim
  • qweb: add t-debug and t-log directives
  • component: remove updateProps public method
  • qweb: add preliminary support for animations

Project

  • observer: add observer to exported objects
  • extras: move benchmarks app into master branch
  • extras: move playground app into master branch

Bug fixes

  • component: t-refs are bound/unbound at proper time
  • component: do not call willPatch/patched if not in DOM
  • component: hooks mounted/willUnmount are called in correct order
  • component: hooks willPatch/patched are called in correct order

Documentation

  • fix some links
  • rewrite component/quick start doc
  • update readme.md example
  • add observer doc
  • improve qweb doc
  • add comparison with vue/react

v0.8.0

24 Apr 08:18
Compare
Choose a tag to compare
  • remove examples code from master branch
  • observer: a few bug fixes
  • component: prevent state mutations in render phase
  • component: bind t-ref widget after willPatch, not before
  • component: add 'set' method to allow modifying observed state
  • utils: add loadTemplates function
  • vdom: fork snabbdom
  • update documentation