v2.0.0-rc.13
This is huge release with many bug fixes. If this release breaks something for you, please file an issue.
The majority of this release was authored by @xanf - thank you for your ongoing efforts!
Breaking Changes
breaking: remove ability to use findComponent with DOM selector (#896)
Note: this may come back, it is an ongoing discussion. If you think it's important, you could make an issue. If you want to find a component, you generally can use findComponent
or getComponent
.
Fixes
fix(find): allow finding root without name (#836)
fix(slots): does not expose extra wrapper of slot content (#844)
fix(mount): support passing data when immediate watchers are present #840
fix(findComponent): return root instance if it matches (#834)
fix: do not crash findComponent if ref is pointing to html element (#817 …
fix(stubs): Do not create stubs across multiple renders (#813)
fix(stubs): Do not create stubs across multiple renders (#813)
fix(compat): avoid warning about non-existing export
fix: Always wrap string passed to slot in a helper component (#815) …
Other
chore(types): improve types of vueWrapper (#823) …
chore(types): add Array of strings as valid type for stubs
chore(types): add proper type for propsDeclaration
chore(types): improve global.stubs definition
chore(types): remove unused props in StubOptions
chore(stubs): simplify global stubs registration (#841)
chore(find): simplify vnode traversal (#835)
chore(deps): bump vue to 3.2 (#889)