Releases: testing-library/vue-testing-library
Releases · testing-library/vue-testing-library
v8.1.0
v8.0.3
v8.0.2
v8.0.1
v8.0.0
8.0.0 (2023-10-31)
bug
BREAKING CHANGES
- This PR change default behavior for Vitest users. This major should yield no effect to other test frameworks.
Throw error when running vitest with no afterEach
global and no VTL_SKIP_AUTO_CLEANUP
flag is set.
v7.0.0
v5.9.0
5.9.0 (2023-03-07)
WARNING! This release contains BREAKING CHANGES from v5.8.0
.
Why is that?
Remember that Vue Testing Library v5 is the last major version to offer support for Vue 2, and that we will stay in this semver range even if breaking changes occur. Vue Testing Library >v6 supports Vue 3.
Features
• Drop support for Node 12 and 14.
• Bump DOM Testing LIbrary from v7 to v9 (see changelog for v8, v9).
v6.6.1
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)