Skip to content

v0.16.0

Compare
Choose a tag to compare
@ged-odoo ged-odoo released this 28 Jun 09:39
· 1063 commits to master since this release

v0.16.0

For this release, the most visible improvement is definitely the possibility of defining components in a template with their name (instead of the t-widget directive):

<div>
  <SomeComponent />
</div>

Component

  • allow component name in template (instead/in addition of t-widget)
  • rename t-widget into t-component
  • fix: scoping issue with t-on, t-component and t-foreach
  • allow multiple roots in slots
  • fix: ignore slot if no definition is given
  • ref: prefix all private methods with __
  • fix: default slot now works with text nodes
  • fix: many issues with t-component, and inner/outer class, t-att-class

QWeb

  • make QWeb an event bus
  • add option to allow duplicate definition of templates
  • fix: small issues with t-debug directive
  • fix: add missing not equals operator
  • fix: properly handle extra spaces in class attributes

Store

  • imp: connected component reuse base component name
  • fix: issues with connected parent/child components
  • imp: allow extra arguments in dispatch and commit

Tools

  • fix: playground: update sample code to use new t-foreach syntax
  • fix: various issues with tab handling
  • imp: playground now logs intercepted errors in console