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

Release 2.0.0 Beta3 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@dojo-bot dojo-bot released this 21 Nov 14:21
· 244 commits to master since this release

⚠️ Breaking Changes

  • Rename WidgetRegistry to Registry (#667)

  • Support Injector instances in Registry and add inject decorator (#668)

    Details
    • Support Injector instances in Registry and add inject decorator

    • Support generic typing for injector

    • add jsdoc

    • ensure test is covering the specified scenario

    • remove runtime warns

    • rename context to injector

    • use the private attribute, as per other uses in WidgetBase

    • rename context to payload

  • move decorators out of WidgetBase (#688)

✅ Fixes

  • Ensure a user defined registry takes precedence when there is no explicit default registry (#674)

  • Fix Edge failures (#680)

    Details
    • change to stubs

    • comment out async

    • fixed timing for tests

    • resolve raf

    • make tests sync

    • remove comments

    • fix assertions

  • WidgetProperties interface updates (#681)

  • Fix tsx Integration Tests (#678)

    Details
    • run tsx integrations

    • rename

  • Use the global precedence when checking to invalidate (#687)

  • Exclude tsx test files (#691)

  • Remove depracated warnings (#693)

  • Do not call schedule render every invalidate, only on setting properties and children (#692)

    Details
    • Do not call schedule render every invalidate, only on setting properties and children

    • add test for not calling scheduleRender on invalidate

    • add void

    • ensure that schedule is not called

    • use setProperties for custom element

  • Remove unused import (#694)

👍 Enhancements

  • Add evented Node handler to meta (#666)

    Details
    • th progress

    • dimensions tests

    • fixed tests

    • fixed interface comments

    • fixed Matches

    • comments

    • remove beforeRender

    • pr comments

    • fix typings

    • add nodeEvent typing

    • rename Type enum

    • rename Type enum

    • pr comments, changed dimensions implementation

    • added getnode function

    • updated tests

    • adding integration test

    • integration tests

    • uncomment tests

    • fix test after changed functionality

    • remove cancel raf

    • pr nits

    • pr alignment

    • change to weakmaps

    • uncomment tests

    • move projector emit, remove event typing, revert maps

    • pr comments

    • pr comments

  • Exposed changed property keys from WidgetBase (#690)

  • Add grunt dist to travis.yml (#656)

  • .gitignore for package-lock.json (#655)

  • Add support for core properties (#659)

    Details
    • move defaultRegistry, registry and bind to special property bag

    • set render state and invalidate if base properties are considered different

    • not assign properties for no reason

    • coreProperties > baseProperties & some other renaming

    • ignore registry from main diff

    • add double underscore to 'getCoreProperties'

  • add beforeProperties lifecycle hook (#663)

    Details
    • add beforeProperties lifecycle hook

    • doc

  • Add Matches meta provider (#638)

  • Simplify Widget Registries (#686)

    Details
    • first set of changes to only support base and local registry

    • update registries to registry

    • move logic into projector

    • improve get logic in handler

    • try and make registry handler a little cleaner

    • Add defineInjector to registry handler

    • Unit tests for registry handler

    • Unit tests for projector

    • refactor to use tuple for registries and remove destory management logic

    • emit the item and check before invalidating

    • tests for for the extra invalidates

    • util _get for both get and getHandler

    • do not default projector properties

    • use as for cast

    • Add generic for getInjector and correct define type

  • Update dojo dependencies