Skip to content

Releases: testing-library/vue-testing-library

v8.0.3

18 Mar 07:48
3ecde9e
Compare
Choose a tag to compare

8.0.3 (2024-03-18)

Bug Fixes

v8.0.2

08 Feb 09:59
f5a3483
Compare
Choose a tag to compare

8.0.2 (2024-02-08)

Bug Fixes

  • mark compiler-sfc as optional peer dep (#288) (f5a3483)

v8.0.1

20 Nov 15:43
1bbeeb4
Compare
Choose a tag to compare

8.0.1 (2023-11-20)

Bug Fixes

  • Revert Errors Regarding Missing Global Hooks (#310) (1bbeeb4)

v8.0.0

31 Oct 08:39
88fb8cd
Compare
Choose a tag to compare

8.0.0 (2023-10-31)

bug

  • Fix issue on Vite env not cleaning up after test (#297) (88fb8cd)

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

11 Mar 19:12
5f2e101
Compare
Choose a tag to compare

7.0.0 (2023-03-11)

Features

  • Bump minimum node.js version and DOM Testing Library (#303) (5f2e101)

BREAKING CHANGES

  • This PR increases the minimum node.js version to v14, and DOM Testing Library to v9.

v5.9.0

07 Mar 08:31
Compare
Choose a tag to compare

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

16 Jul 19:16
6dd4847
Compare
Choose a tag to compare

6.6.1 (2022-07-16)

Bug Fixes

  • missing optional parameter for emitted (#276) (6dd4847)

v6.6.0

08 Jun 07:48
Compare
Choose a tag to compare

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)

v5.8.3

09 May 07:39
181765f
Compare
Choose a tag to compare

5.8.3 (2022-05-09)

Bug Fixes

  • types: Pass Store type to RenderOptions/render function (#268) (181765f)

v6.5.1

06 Feb 20:14
ba14df2
Compare
Choose a tag to compare

6.5.1 (2022-02-06)

Bug Fixes