v6.6.0
6.6.0 (2022-06-08)
This is the Vue 3 release on latest
channel 🎉 This means that, from now on, npm install -D @testing-library/vue
will install v6, which targets Vue 3.
Vue 2 is still suported with npm install -D @testing-library/vue@^5
.
Bug Fixes
- types: Pass Store type to RenderOptions/render function (#268) (181765f)
- types: Remove Router and Vuex dependencies (#246) (9d367e7)
- support TypeScript v3 (#241) (b028364)
- types: exclude tsconfig from types folder in publish flow (#213) (40caa97)
- Add
cleanup
type (#186) (75e0111) - import pretty-format from testing-library/dom (#185) (a051013)
- Make fireEvent.update work with lazy modifier (#183) (853d998)
- types: allow all elements (#175) (a5bd6cc)
- allow multiple calling of updateProps (#170) (95cc445)
Features
- Add env to turn off fireEvent.update warning (#181) (4376e64)
- Add support for input file on
fireEvent.update
(#179) (b762198) - allow passing instantiated Vue Router (#239) (96c0c2d)
- allow passing instantiated Vuex store (#232) (9d63d71)
- Move types from DefinitelyTyped into this repo (#165) (dbcf740)
- Warn using fireEvent.input() or .change() and suggest fireEvent.update() (#166) (8871d2f), closes #83
- debug: Add maxLength and options to debug (#164) (920dff2)