Skip to content

Releases: vuejs/test-utils

v2.4.6

07 May 00:07
9332127
Compare
Choose a tag to compare

What's Changed

  • fix: circular references in props cause maximum call stack size exceeded by @Evobaso-J in #2371
  • fix: update attachTo type in MountingOptions interface by @taku-y-9308 in #2375
  • fix: change vm to always provide global property by @taku-y-9308 in #2386
  • fix: renderStubDefaultSlot with scoped slots by @cexbrayat in #2397
  • feat: Added dynamic return for element getter by @nandi95 in #2406
  • fix(stubs): avoid warning on normalized props with Vue v3.4.22 by @cexbrayat in #2413
  • fix: set global provides before running vue plugins by @danielroe in #2423
  • fix: issue 2319 throw first error thrown during mount by @taku-y-9308 in #2428

New Contributors

Full Changelog: v2.4.5...v2.4.6

v2.4.5

13 Mar 23:04
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.4.4...v2.4.5

v2.4.4

25 Jan 21:52
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.4.3...v2.4.4

v2.4.3

28 Nov 21:28
Compare
Choose a tag to compare

What's Changed

  • types(setProps): setProps to Partial props by @pikax in #2241

Full Changelog: v2.4.2...v2.4.3

v2.4.2

14 Nov 07:48
Compare
Choose a tag to compare

What's Changed

Note: A fix for the text() method (#2231) may force developers to update tests that were checking the text of several elements at once, as the spaces of each element are now trimmed (as they are when using text() on a single element). So if you were checking the text of <span>Trimmed </span><span>Example</span>, it is now TrimmedExample instead of Trimmed Example (and the text() of the first span is still Trimmed as it was before).

Fix

Docs

Chore

New Contributors

Full Changelog: v2.4.1...v2.4.2

v2.4.1

20 Jul 21:00
Compare
Choose a tag to compare

What's Changed

Fixes

Docs

  • docs: add warning about isVisible() by @alecgibson in #2122
  • docs: Update missed rename of import to test-utils as the new default by @Hilbrand in #2102

(Dev) Dependencies

New Contributors

Full Changelog: v2.4.0...v2.4.1

v2.4.0

22 Jun 00:06
Compare
Choose a tag to compare

Note: there might be some minor breaking changes around types. We tried hard to avoid this and tested a few different projects, but there was some major under the hood changes relating to types (which should improve the TypeScript experience). See the note at the top of the previous release, 2.4.0-alpha.2: https://github.com/vuejs/test-utils/releases/tag/v2.4.0-alpha.2

Between the last main release, v2.3.2, and v2.4.0, there were three alphas:

Please see those release notes for changes if you are updating from v2.3.2. Again, there should not be any major changes, and you code and tests should continue to work as before without any changes.

If you do encounter breaking changes transitioning from 2.3.x -> 2.4.x, please file an issue.

v2.4.0-alpha.2

05 Jun 11:31
648683d
Compare
Choose a tag to compare

Note: It has no API related breaking changes, but some types might be impacted - the full extent of #2026 is still being investigated, but at this point it's unlikely you'll need to change any code. In general, type safety should be improved across the board.

What's Changed

New Contributors

Full Changelog: v2.4.0-alpha.1...v2.4.0-alpha.2

v2.4.0-alpha.1

11 May 23:13
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.4.0-alpha.0...v2.4.0-alpha.1

v2.4.0-alpha.0

16 Apr 22:04
Compare
Choose a tag to compare

NOTE: this is published under v2.4.0-alpha.0. It may contain breaking changes, only relating to which type definitions are exposed. For this reason it isn't the main version on npm yet.

What's Changed

New Contributors

Full Changelog: v2.3.2...v2.4.0-alpha.0