Bot releases are hidden (Show)
Published by lmiller1990 over 3 years ago
This reverts this change which was released in v2.0.0-rc.8, relating to the extension. See the PR for an extended discussion.
We will figure out the best approach to supporting the correct .mjs
extension for Test Utils and the rest of the Vue core ecosystem prior to Vue 3.x becoming the main branch on npm.
Published by lmiller1990 over 3 years ago
Fix broken module entry point.
Published by lmiller1990 over 3 years ago
Many small bug fixes in this release. Please file an issue if you find a problem. We are nearing a 2.0.0 release.
feat: array of slots (#599)
feat: add isVisible to VueWrapper (#628)
fix: use .mjs extension for ESM bundles
fix: capture emitted events from script setup components (#663)
fix: use prefix identifiers for cjs build (#661)
fix: Gracefully handle empty root node for nested component (#660)
fix: better errors for async find (#641)
fix: shallow config issue (#607)
fix: shallowMount with stub props (#610)
fix: use flushPromises from @vue/test-utils
chore: Add @vue/compiler-dom dep (#591)
Published by lmiller1990 over 3 years ago
Published by lmiller1990 over 3 years ago
Lots of fixes. One breaking change around updating props for v-model
. See #459 for the PR and #440 for the discussion and rationale.
Published by lmiller1990 over 3 years ago
Published by lmiller1990 over 3 years ago
This release includes a minor fix to work around a (internal only) breaking change in Vue 3.0.7.
Published by lmiller1990 over 3 years ago
Published by lmiller1990 over 3 years ago
Minor bug fixes.
<script setup>
for shallowMount
(@rrittwag, #358)text()
(@cexbrayat, #342)Published by lmiller1990 over 3 years ago
Things are quite stable at this point. It's unlikely the API will change any time soon. This release candidates marks the final transition towards a stable 2.0.
This fixes some edge cases, like capturing an emit
event inside of setup
prior to the component getting mounted.
The docs are now hosted in this repo, as opposed to a separate repo. They are built using Vitepress and deployed via Netlify. Thanks to @bencodezen and @afontcu for making this happen.
Published by lmiller1990 almost 4 years ago
ensure plugins receive options correctly #276 @lmiller1990
handle slots correctly #277
fix mount infer prop type #274 @pikax
uncommented new prop tests and add defaultProps to all mount #274 @pikax
Published by lmiller1990 almost 4 years ago
This release adds support for the latest <script setup>
RFC. That's it. Read about it here: #264.
If you want to use it, you need Vue 3.0.3. You will also want the latest vue-jest
(5.0.0 alpha 7 at the time of this). Get it with yarn add vue-jest@next
. Note the latest RFC is here: https://github.com/vuejs/rfcs/pull/227
<script setup>
(#264) by @lmiller1990Stub global components (https://github.com/vuejs/vue-test-utils-next/pull/260) by @lmiller1990
Export MountingOptions interface (https://github.com/vuejs/vue-test-utils-next/pull/252) by @afontcu
Fix mount and shallowMount types (https://github.com/vuejs/vue-test-utils-next/pull/254) by @pikax
Published by lmiller1990 almost 4 years ago
Published by lmiller1990 almost 4 years ago
Published by lmiller1990 almost 4 years ago
setData
: #230 @afontcuPublished by lmiller1990 about 4 years ago
Small release. Mainly typing improvements/fixes, and some small bug fixes.
Once the open issues about functional components are fixed and docs completed (few sections outstanding) we will move to RC. Goal is to be 2.0.0 by the end of the year.
fix: set default event.cancelable from dom-event-types @aethr
fix: correctly capture DOM/Vue wrapper type @HerringtonDarkholme
fix: error handling in suspense @cexbrayat
refactor: do not pollute markup with useless id @lmiller1990
Vue 3 is still young, and the types are evolving.
fix: support for DefineComponent shim @pikax
Published by lmiller1990 about 4 years ago
Published by lmiller1990 about 4 years ago