Skip to content

Releases: vuejs/test-utils

v2.2.3

15 Nov 08:35
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.2...v2.2.3

v2.2.2

13 Nov 09:11
Compare
Choose a tag to compare

Fixes

  • fix(mount): correctly work with component throwing on mount by @xanf in #1845
  • fix(emit): force event handling even with fake timers by @cexbrayat in #1856

Other

Full Changelog: v2.2.1...v2.2.2

v2.2.1

29 Oct 03:21
Compare
Choose a tag to compare

What's Changed

  • chore(deps): update dependency unplugin-vue-components to v0.22.9 by @renovate in #1828
  • chore(deps): update all non-major dependencies by @cexbrayat in #1835
  • chore(deps): update all non-major dependencies by @cexbrayat in #1837
  • docs(v-model): add v-model section by @pikax in #1839
  • fix(stubs): teleport stub children as a function by @cexbrayat in #1833
  • chore: ignore js-beautify updates in renovate by @cexbrayat in #1840
  • chore(deps): update dependency @types/node to v18.11.7 by @renovate in #1838

Full Changelog: v2.2.0...v2.2.1

v2.2.0

23 Oct 23:22
Compare
Choose a tag to compare

What's Changed

Features

Fixes

  • fix(compat): do not overwrite globalProperties merge them instead by @xanf in #1788
  • fix(element): return correct element for component which renders other component while passing array of vnodes in default slot by @xanf in #1789
  • fix: cleanup event listeners on unmount by @freakzlike in #1793
  • fix(config): Do not use config.renderStubDefaultSlot by @xanf in #1797
  • fix(stubs): Do not render function body in stub by @xanf in #1819

Other

  • chore(deps): update dependency rollup-plugin-typescript2 to v0.34.1 by @renovate in #1790
  • chore(deps): update all non-major dependencies by @renovate in #1794
  • chore(deps): update dependency unplugin-vue-components to v0.22.8 by @renovate in #1795
  • added typescript documentation to plugins.md by @mrcwbr in #1796
  • chore(deps): update dependency vue-tsc to v1 by @renovate in #1802
  • chore(deps): update dependency @rollup/plugin-commonjs to v23 by @renovate in #1803
  • chore(deps): update dependency @rollup/plugin-json to v5 by @renovate in #1805
  • chore(deps): update dependency @rollup/plugin-node-resolve to v15 by @renovate in #1806
  • chore(deps): update dependency @rollup/plugin-replace to v5 by @renovate in #1808
  • chore(deps): update pnpm/action-setup action to v2.2.3 by @renovate in #1809
  • chore(scripts): add prepare script by @xanf in #1812
  • chore: use @rollup/plugin-typescript by @cexbrayat in #1811
  • chore: use a typescript rollup config by @cexbrayat in #1814
  • chore: use --bundleConfigAsCjs to load rollup config by @cexbrayat in #1816
  • chore: support node v18 by @cexbrayat in #1817
  • chore(deps): update pnpm/action-setup action to v2.2.4 by @renovate in #1820
  • chore(deps): update all non-major dependencies by @renovate in #1821
  • chore: update to vitest v0.24.3 by @cexbrayat in #1823
  • chore(deps): update dependency @vitest/coverage-c8 to v0.24.3 by @renovate in #1824

New Contributors

Full Changelog: v2.1.0...v2.2.0

v2.1.0

29 Sep 05:08
Compare
Choose a tag to compare

What's Changed

Fixes

  • fix: keep Date objects on setData by @freakzlike in #1720
  • fix: Make wrapper.find() enable to find ref in v-for directive by @hiromi2424 in #1723
  • fix: duplicate results on findAllComponents with non-function slots by @freakzlike in #1736
  • fix: coverage now needs @vitest/coverage-c8 by @cexbrayat in #1745
  • fix: return the correct name when stubbing a script setup component by @joeyhuang0235 in #1783
  • fix: Add props to stubs for built-in components by @wolfgangwalther in #1767

Other

Chore

New Contributors

Full Changelog: v2.0.2...v2.1.0

v2.0.2

04 Jul 09:38
Compare
Choose a tag to compare

What's Changed

Fixes

Docs

  • docs: Documentation Update (Issue 1632) by @N8ers in #1635

Chore/Other

  • chore(types): improve typing of emitted by @xanf in #1640
  • repro: type-checking issue with script setup in v2.0.1 by @cexbrayat in #1601

New Contributors

Full Changelog: v2.0.1...v2.0.2

v2.0.1

14 Jun 23:24
Compare
Choose a tag to compare

Test Utils is quite stable now, so most of the changes here are minor fixes.

The next "big ticket" feature will be SSR support. You can track it here: #1572

Fixes

Chores/Dependencies

  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.27.0 to 5.27.1 by @dependabot in #1583
  • chore: add return type to createStub by @cexbrayat in #1544
  • chore: lockfile maintenance by @cexbrayat in #1543
  • chore(deps-dev): bump @vue/compiler-sfc from 3.2.34 to 3.2.36 by @dependabot in #1527
  • chore: bump vue to v3.2.26 by @cexbrayat in #1545
  • chore(deps-dev): bump vue-tsc from 0.34.15 to 0.34.16 by @dependabot in #1532
  • chore(deps-dev): bump rollup from 2.74.1 to 2.75.5 by @dependabot in #1564
  • chore(deps-dev): bump lint-staged from 12.4.2 to 13.0.0 by @dependabot in #1563
  • chore(deps-dev): bump @types/node from 17.0.35 to 17.0.38 by @dependabot in #1562
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.26.0 to 5.27.0 by @dependabot in #1556
  • chore(deps-dev): bump vue-tsc from 0.34.16 to 0.35.2 by @dependabot in #1555
  • chore(deps-dev): bump @babel/types from 7.18.2 to 7.18.4 by @dependabot in #1551
  • chore(deps-dev): bump @typescript-eslint/parser from 5.26.0 to 5.27.0 by @dependabot in #1553
  • chore(deps-dev): bump rollup-plugin-typescript2 from 0.31.2 to 0.32.0 by @dependabot in #1566
  • chore(find): extend tests with deep nested multiple roots by @freakzlike in #1569
  • chore(deps-dev): bump @types/node from 17.0.38 to 17.0.39 by @dependabot in #1570
  • chore(deps-dev): bump eslint from 8.16.0 to 8.17.0 by @dependabot in #1579
  • chore(deps-dev): bump typescript from 4.6.4 to 4.7.3 by @dependabot in #1578
  • chore(deps-dev): bump @types/node from 17.0.39 to 17.0.40 by @dependabot in #1576
  • chore(deps-dev): bump @typescript-eslint/parser from 5.27.0 to 5.27.1 by @dependabot in #1582
  • chore: update Vue to 3.2.37 by @lmiller1990 in #1585
  • chore(deps-dev): bump rollup from 2.75.5 to 2.75.6 by @dependabot in #1586
  • chore(deps-dev): bump babel-preset-jest from 28.0.2 to 28.1.1 by @dependabot in #1588
  • chore(deps-dev): bump lint-staged from 13.0.0 to 13.0.1 by @dependabot in #1591
  • chore(deps-dev): bump vue-router from 4.0.15 to 4.0.16 by @dependabot in #1593
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.27.1 to 5.28.0 by @dependabot in #1598
  • chore(deps-dev): bump @types/node from 17.0.40 to 17.0.42 by @dependabot in #1594
  • chore(deps-dev): bump @babel/core from 7.18.2 to 7.18.5 by @dependabot in #1596
  • chore(deps-dev): bump @typescript-eslint/parser from 5.27.1 to 5.28.0 by @dependabot in #1595
  • chore(deps-dev): bump rollup-plugin-typescript2 from 0.32.0 to 0.32.1 by @dependabot in #1587
  • chore(deps-dev): bump prettier from 2.6.2 to 2.7.0 by @dependabot in #1600

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

20 May 08:21
Compare
Choose a tag to compare

This is v2.0.0. The library is quite stable and there are not major bugs.

What's Changed

New Contributors

Full Changelog: v2.0.0-rc.21...v2.0.0

v2.0.0-rc.21

21 Apr 00:00
Compare
Choose a tag to compare

This is the final release candidate, unless something major comes up. We will move to 2.0.0 next release.

v2.0.0-rc.20

12 Apr 22:06
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0-rc.19...v2.0.0-rc.20