Skip to content

v6.0.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@testing-library-bot testing-library-bot released this 31 Oct 22:38

6.0.0 (2020-10-31)

tl;dr: Run npm install -D @testing-library/vue@next to give this release which supports Vue 3 a go!

Features

  • Update to support Vue 3.0 and Vue Test Utils 2.0 (#137) (d9b1b5e)

BREAKING CHANGES

  • Snapshots are potentially different due to whitespaces.
  • Some options such as stubs are now moved to global.stubs.
  • Previous usage of vue instance as a parameter for the callback function is now replaced with global config options (for example, global.directives).
  • isUnmounted is gone.
  • updateProps is now called setProps to align with VTU.

Some of the missing steps is to provide support to Vue Router, and also to update libraries of the ecosystem to their Vue 3 version.

This is an exciting release! 🎉 It marks the first release aiming to support Vue 3 and Vue Test Utils 2. Please head to the PR to get more information, and feel free to open up issues and PRs to fix missing features / ports 😄