Skip to content

v0.24.0

Compare
Choose a tag to compare
@ged-odoo ged-odoo released this 25 Oct 15:09
· 903 commits to master since this release

v0.24.0

The "concurrency" release: Owl has now a brand new rendering pipeline, with a
scheduler, and a full rethink of the fiber class. This means that:

  • renderings can be (partially) cancelled
  • new renderings can remap themselves into parent renderings
  • more robust concurrency management in general
  • dom is updated every frame if necessary: less work is done in some cases

This release also brings other features:

Component

  • fix: many issues with internal template key
  • fix: do not validate props twice
  • imp: t-on directive now supports inline statements
  • imp: t-on directive now supports empty handler
  • ref: new rendering pipeline
  • fix: many subtle concurrency issues

QWeb

  • fix: properly calls directive finalizers in all cases (so, t-esc with t-if works now)
  • fix: handle variable expressions in if conditions
  • fix: do not format expression twice in t-ifs
  • rem: remove t-asyncroot directive (see AsyncRoot component)

Misc

  • add: new AsyncRoot component (to replace t-asyncroot directive)

Context

  • fix: much stronger concurrency model

Utils

  • rename loadTemplates into loadFile