Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Release 0.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@dojo-bot dojo-bot released this 20 Nov 16:44
· 208 commits to master since this release

Breaking Changes

  • Integrate VDOM system into widget-core (#728)

  • Accept array of string classes in v() & implicitly remove classes that are not passed on subsequent renders (#734)

    Details
    • Refactor vdom classes support

    • enhance the unit tests

    • package-lock file

    • change theme API to accept string | string[] and do not split resulting classnames

    • support string classname and class name splitting in vdom

    • test for when 'null' is passed to classes on first render

    • package-lock.json

    • Rename Themeable to Themed

    • Update Themeable references to Themed

New Features

  • Support deferred properties (#736)

    Details
    • update package-lock.json

    • add deferred property callback

    • add tests, add inserted

    • more tests

  • Support returning top level widget, top level arrays and changing top level tag name (#737)

    Details
    • failing unit test for returning a top level widget from the render

    • Support returning a top level widget from the render function in vdom

    • Support merging when returning a widget from the render function

    • remove commented code

    • Support top level arrays for create and append and allow changing top level tagname

    • tests for error scenario using an array of node with replace and merge

    • update deferred tests

    • Add RenderResult type

  • WebAnimations Meta (#713)

Fixes

  • Intern 4 conversion (#733)

  • Update README for Themed changes (#735)

  • tidy up class typings and logic for undefined and null (#740)

  • Only break early by node equality in updateDom for HNodes (#743)

    Details
    • failing unit test for breaking early on a WNode

    • Only break early for HNodes

  • Only merge on initial render (#739)

    Details
    • Failing test for only merging on all renders not just initial

    • set merge to false for subsequent updates

    • access the childNode from the projection domNode

  • Make sure vdom after callbacks run sync when in sync mode (#748)

    Details
    • sync aftercallbacks

    • add tests

  • Do not own child widgets (#747)