Release v7.0.0
The Dojo framework 7.0.0 release.
Breaking Changes
- Remove the
Projectormixin (#549) - Deprecate
cachewith optional flag onicacheto skip validation (#618) - Decouple
Outletconcept from referencing unique routes (#716) - New Dojo test renderer (#710)
Enhancements
- Typed children support for function-based widgets (#544, #554, #561, #582)
- Add
isExactoptions toActiveLink(#520) - Live binding to function-based widget properties and children (#564, #665)
- Check attached
nodeis in the body (#579) - Provide helper middleware
apitype (#580) - Enable cache eviction with the
icache(#605) - Inert shim (#619)
- Support multiple CSS transition classes (#628)
- Inert middleware (#623)
focusmiddleware testing mock (#635)validitymiddleware testing mock (#631)- Type nls keys from the
i18nformat function (#610) - Support passing
nullto thedomNodeon.mount((#652) - Influence property values with
diffPropertiesmiddleware (#653) - Support specifying an additional property to be considered part of the widget key (#661)
- Support automatic and lazy loading of CLDR data in i18n (#657, #677, #686, #693, #694, #724)
- Unmount an application (#680)
datamiddleware andresources(#672, #701)- Support setting and changing theme variants at runtime (#684, #711, #720)
- "slot" support for Dojo custom elements (#714, #721)
- Forwards compatibility for TypeScript 3.8 (#719)
- Configure document title on route change (#725)
- Skip setting the route when working with build time rendering and using the development server (#729)
Bug Fixes
- Run key checks synchronously (#547)
- Ensure initial properties flag is set
false(#539) - Call
diffPropertiesimmediately when first registered (#572) - Fix setting state in
focusmiddleware (#575) - Do not invalidate when check if a widget should focus (#583)
- Make assertion templates immutable (#587)
- Ensure mixin properties are inferred correctly when using TSX (#594)
- Run comparators when using harness.expect with an actual render output (#602)
- Allow unsupported nodes to be ignore from harness's assertRender (#599)
- Fix inserting nodes when using the
bodytag (#640) - Fix out of order rendering bug (#642)
- Return injected
themeas the widget'sthemeproperty (#659) - Support a mixture of arrays and single children for TSX (#671)
- Update diff type for
Themedmixin to beauto(#685) - Invalidate for the
icache.deleteand icache.clear` API (#695) ActiveLinksupport for matching query params (#699)- Widgets can render twice during a single scheduled render (#712)
- Spread widget properties for function-based widget in vdom (#717)