Skip to content

v2.0.0-rc.10

Compare
Choose a tag to compare
@lmiller1990 lmiller1990 released this 06 Jul 10:12

This is a big release with @xanf adding a lot of support for the Vue Compat build. We are now running against the latest Vue version (3.1.2).

Features

feat: support passing component with template to slots
feat(compat): support legacy functional components (#703)
feat(compat): correctly stub components, wrapped in Vue.extend
feat: add @vue/compat initial support (#698)

Fixes

fix(compat): do not stub legacy functional component root
fix(compat): correctly render default slot in stub if requested (#717)
fix: support passing functional components as stub implementation (#700)
fix: Allow finding component by definition when using shallow mount (#696)
fix: opt-out of stubbing by passing false as stub (#702)
fix: do not stub slots content when using shallow mount (#697)
fix: find component by its definition when using stub without name (#704
fix(shallow): correctly stub anonymous components (#714)
fix: findComponent should work using same stub for different components

Other

docs: add example of passing object with template property to slot
chore: improve typings of isComponent helpers
chore: Remove outdated comments about template object support in slots