chore(deps): update dependency @vue/test-utils to v2
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@vue/test-utils | devDependencies | major | 1.3.3 -> 2.2.1 |
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
vuejs/test-utils
v2.2.1
What's Changed
- chore(deps): update dependency unplugin-vue-components to v0.22.9 by @renovate in https://github.com/vuejs/test-utils/pull/1828
- chore(deps): update all non-major dependencies by @cexbrayat in https://github.com/vuejs/test-utils/pull/1835
- chore(deps): update all non-major dependencies by @cexbrayat in https://github.com/vuejs/test-utils/pull/1837
- docs(v-model): add v-model section by @pikax in https://github.com/vuejs/test-utils/pull/1839
- fix(stubs): teleport stub children as a function by @cexbrayat in https://github.com/vuejs/test-utils/pull/1833
- chore: ignore js-beautify updates in renovate by @cexbrayat in https://github.com/vuejs/test-utils/pull/1840
- chore(deps): update dependency @types/node to v18.11.7 by @renovate in https://github.com/vuejs/test-utils/pull/1838
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.2.0...v2.2.1
v2.2.0
What's Changed
Features
- feat(setValue): allow array for multiselect .setValue() method by @freakzlike in https://github.com/vuejs/test-utils/pull/1825
- feat(wrapper): Add raw option to .html() by @freakzlike in https://github.com/vuejs/test-utils/pull/1827
- feat(stubs): Allow to stub directives (fixes #1800) by @xanf in https://github.com/vuejs/test-utils/pull/1804
Fixes
- fix(compat): do not overwrite globalProperties merge them instead by @xanf in https://github.com/vuejs/test-utils/pull/1788
- fix(element): return correct element for component which renders other component while passing array of vnodes in default slot by @xanf in https://github.com/vuejs/test-utils/pull/1789
- fix: cleanup event listeners on unmount by @freakzlike in https://github.com/vuejs/test-utils/pull/1793
- fix(config): Do not use config.renderStubDefaultSlot by @xanf in https://github.com/vuejs/test-utils/pull/1797
- fix(stubs): Do not render function body in stub by @xanf in https://github.com/vuejs/test-utils/pull/1819
Other
- chore(deps): update dependency rollup-plugin-typescript2 to v0.34.1 by @renovate in https://github.com/vuejs/test-utils/pull/1790
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/1794
- chore(deps): update dependency unplugin-vue-components to v0.22.8 by @renovate in https://github.com/vuejs/test-utils/pull/1795
- added typescript documentation to plugins.md by @mrcwbr in https://github.com/vuejs/test-utils/pull/1796
- chore(deps): update dependency vue-tsc to v1 by @renovate in https://github.com/vuejs/test-utils/pull/1802
- chore(deps): update dependency @rollup/plugin-commonjs to v23 by @renovate in https://github.com/vuejs/test-utils/pull/1803
- chore(deps): update dependency @rollup/plugin-json to v5 by @renovate in https://github.com/vuejs/test-utils/pull/1805
- chore(deps): update dependency @rollup/plugin-node-resolve to v15 by @renovate in https://github.com/vuejs/test-utils/pull/1806
- chore(deps): update dependency @rollup/plugin-replace to v5 by @renovate in https://github.com/vuejs/test-utils/pull/1808
- chore(deps): update pnpm/action-setup action to v2.2.3 by @renovate in https://github.com/vuejs/test-utils/pull/1809
- chore(scripts): add prepare script by @xanf in https://github.com/vuejs/test-utils/pull/1812
- chore: use @rollup/plugin-typescript by @cexbrayat in https://github.com/vuejs/test-utils/pull/1811
- chore: use a typescript rollup config by @cexbrayat in https://github.com/vuejs/test-utils/pull/1814
- chore: use --bundleConfigAsCjs to load rollup config by @cexbrayat in https://github.com/vuejs/test-utils/pull/1816
- chore: support node v18 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1817
- chore(deps): update pnpm/action-setup action to v2.2.4 by @renovate in https://github.com/vuejs/test-utils/pull/1820
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/1821
- chore: update to vitest v0.24.3 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1823
- chore(deps): update dependency @vitest/coverage-c8 to v0.24.3 by @renovate in https://github.com/vuejs/test-utils/pull/1824
New Contributors
- @mrcwbr made their first contribution in https://github.com/vuejs/test-utils/pull/1796
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.1.0...v2.2.0
v2.1.0
What's Changed
Fixes
- fix: keep Date objects on setData by @freakzlike in https://github.com/vuejs/test-utils/pull/1720
- fix: Make wrapper.find() enable to find ref in v-for directive by @hiromi2424 in https://github.com/vuejs/test-utils/pull/1723
- fix: duplicate results on findAllComponents with non-function slots by @freakzlike in https://github.com/vuejs/test-utils/pull/1736
- fix: coverage now needs @vitest/coverage-c8 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1745
- fix: return the correct name when stubbing a
script setup
component by @joeyhuang0235 in https://github.com/vuejs/test-utils/pull/1783 - fix: Add props to stubs for built-in components by @wolfgangwalther in https://github.com/vuejs/test-utils/pull/1767
Other
- refactor: stubs types by @cexbrayat in https://github.com/vuejs/test-utils/pull/1773
- refactor: remove useless params in emits handling by @cexbrayat in https://github.com/vuejs/test-utils/pull/1777
- test: migrate to vitest by @okxiaoliang4 in https://github.com/vuejs/test-utils/pull/1637
Chore
- chore: remove babel dependencies and config by @cexbrayat in https://github.com/vuejs/test-utils/pull/1642
- chore: lockfile maintenance by @cexbrayat in https://github.com/vuejs/test-utils/pull/1643
- chore: switch to pnpm by @cexbrayat in https://github.com/vuejs/test-utils/pull/1644
- chore: configure renovate to group vite packages by @cexbrayat in https://github.com/vuejs/test-utils/pull/1685
- docs: update installation docs by @ryandialpad in https://github.com/vuejs/test-utils/pull/1693
- chore: use es2016 as a TS target by @cexbrayat in https://github.com/vuejs/test-utils/pull/1695
- chore: Update README since package manager was changed from yarn to npnm by @hiromi2424 in https://github.com/vuejs/test-utils/pull/1724
-
- chore: refactor and remove old files by @lmiller1990 in https://github.com/vuejs/test-utils/pull/1776
- chore: Add version info to bug report template by @freakzlike in https://github.com/vuejs/test-utils/pull/1729
- chore: Extend expose tests with not used function by @freakzlike in https://github.com/vuejs/test-utils/pull/1735
- chore: improve type for stub cache by @cexbrayat in https://github.com/vuejs/test-utils/pull/1743
- chore: improve type for mount with TS v4.8 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1744
- chore: run tests in random order by @cexbrayat in https://github.com/vuejs/test-utils/pull/1747
New Contributors
- @ryandialpad made their first contribution in https://github.com/vuejs/test-utils/pull/1693
- @hiromi2424 made their first contribution in https://github.com/vuejs/test-utils/pull/1724
- @wolfgangwalther made their first contribution in https://github.com/vuejs/test-utils/pull/1767
- @joeyhuang0235 made their first contribution in https://github.com/vuejs/test-utils/pull/1783
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.0.2...v2.1.0
v2.0.2
What's Changed
Fixes
- fix: fix typo by @liuzhuan in https://github.com/vuejs/test-utils/pull/1608
- fix: check if component unmounted in Wrapper.exists() by @Djaler in https://github.com/vuejs/test-utils/pull/1629
- fix: algolia appId by @okxiaoliang4 in https://github.com/vuejs/test-utils/pull/1636
Docs
- docs: Documentation Update (Issue 1632) by @N8ers in https://github.com/vuejs/test-utils/pull/1635
Chore/Other
- chore(types): improve typing of emitted by @xanf in https://github.com/vuejs/test-utils/pull/1640
- repro: type-checking issue with script setup in v2.0.1 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1601
New Contributors
- @liuzhuan made their first contribution in https://github.com/vuejs/test-utils/pull/1608
- @Djaler made their first contribution in https://github.com/vuejs/test-utils/pull/1629
- @N8ers made their first contribution in https://github.com/vuejs/test-utils/pull/1635
- @okxiaoliang4 made their first contribution in https://github.com/vuejs/test-utils/pull/1636
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.0.1...v2.0.2
v2.0.1
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: https://github.com/vuejs/test-utils/pull/1572
Fixes
- fix(compat): declare RouterLinkStub as compatibility mode 3 by @snoozbuster in https://github.com/vuejs/test-utils/pull/1549
- fix(types): Export BaseWrapper from index.ts by @snoozbuster in https://github.com/vuejs/test-utils/pull/1548
- fix: export package.json from module by @snoozbuster in https://github.com/vuejs/test-utils/pull/1542
- fix(utils): getRootNodes flattens only one depth of children by @cexbrayat in https://github.com/vuejs/test-utils/pull/1546
- fix(compat): respect v-model in vue 2 with compat build by @snoozbuster in https://github.com/vuejs/test-utils/pull/1565
Chores/Dependencies
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.27.0 to 5.27.1 by @dependabot in https://github.com/vuejs/test-utils/pull/1583
- chore: add return type to createStub by @cexbrayat in https://github.com/vuejs/test-utils/pull/1544
- chore: lockfile maintenance by @cexbrayat in https://github.com/vuejs/test-utils/pull/1543
- chore(deps-dev): bump @vue/compiler-sfc from 3.2.34 to 3.2.36 by @dependabot in https://github.com/vuejs/test-utils/pull/1527
- chore: bump vue to v3.2.26 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1545
- chore(deps-dev): bump vue-tsc from 0.34.15 to 0.34.16 by @dependabot in https://github.com/vuejs/test-utils/pull/1532
- chore(deps-dev): bump rollup from 2.74.1 to 2.75.5 by @dependabot in https://github.com/vuejs/test-utils/pull/1564
- chore(deps-dev): bump lint-staged from 12.4.2 to 13.0.0 by @dependabot in https://github.com/vuejs/test-utils/pull/1563
- chore(deps-dev): bump @types/node from 17.0.35 to 17.0.38 by @dependabot in https://github.com/vuejs/test-utils/pull/1562
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.26.0 to 5.27.0 by @dependabot in https://github.com/vuejs/test-utils/pull/1556
- chore(deps-dev): bump vue-tsc from 0.34.16 to 0.35.2 by @dependabot in https://github.com/vuejs/test-utils/pull/1555
- chore(deps-dev): bump @babel/types from 7.18.2 to 7.18.4 by @dependabot in https://github.com/vuejs/test-utils/pull/1551
- chore(deps-dev): bump @typescript-eslint/parser from 5.26.0 to 5.27.0 by @dependabot in https://github.com/vuejs/test-utils/pull/1553
- chore(deps-dev): bump rollup-plugin-typescript2 from 0.31.2 to 0.32.0 by @dependabot in https://github.com/vuejs/test-utils/pull/1566
- chore(find): extend tests with deep nested multiple roots by @freakzlike in https://github.com/vuejs/test-utils/pull/1569
- chore(deps-dev): bump @types/node from 17.0.38 to 17.0.39 by @dependabot in https://github.com/vuejs/test-utils/pull/1570
- chore(deps-dev): bump eslint from 8.16.0 to 8.17.0 by @dependabot in https://github.com/vuejs/test-utils/pull/1579
- chore(deps-dev): bump typescript from 4.6.4 to 4.7.3 by @dependabot in https://github.com/vuejs/test-utils/pull/1578
- chore(deps-dev): bump @types/node from 17.0.39 to 17.0.40 by @dependabot in https://github.com/vuejs/test-utils/pull/1576
- chore(deps-dev): bump @typescript-eslint/parser from 5.27.0 to 5.27.1 by @dependabot in https://github.com/vuejs/test-utils/pull/1582
- chore: update Vue to 3.2.37 by @lmiller1990 in https://github.com/vuejs/test-utils/pull/1585
- chore(deps-dev): bump rollup from 2.75.5 to 2.75.6 by @dependabot in https://github.com/vuejs/test-utils/pull/1586
- chore(deps-dev): bump babel-preset-jest from 28.0.2 to 28.1.1 by @dependabot in https://github.com/vuejs/test-utils/pull/1588
- chore(deps-dev): bump lint-staged from 13.0.0 to 13.0.1 by @dependabot in https://github.com/vuejs/test-utils/pull/1591
- chore(deps-dev): bump vue-router from 4.0.15 to 4.0.16 by @dependabot in https://github.com/vuejs/test-utils/pull/1593
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.27.1 to 5.28.0 by @dependabot in https://github.com/vuejs/test-utils/pull/1598
- chore(deps-dev): bump @types/node from 17.0.40 to 17.0.42 by @dependabot in https://github.com/vuejs/test-utils/pull/1594
- chore(deps-dev): bump @babel/core from 7.18.2 to 7.18.5 by @dependabot in https://github.com/vuejs/test-utils/pull/1596
- chore(deps-dev): bump @typescript-eslint/parser from 5.27.1 to 5.28.0 by @dependabot in https://github.com/vuejs/test-utils/pull/1595
- chore(deps-dev): bump rollup-plugin-typescript2 from 0.32.0 to 0.32.1 by @dependabot in https://github.com/vuejs/test-utils/pull/1587
- chore(deps-dev): bump prettier from 2.6.2 to 2.7.0 by @dependabot in https://github.com/vuejs/test-utils/pull/1600
New Contributors
- @dcrall made their first contribution in https://github.com/vuejs/test-utils/pull/1535
- @snoozbuster made their first contribution in https://github.com/vuejs/test-utils/pull/1549
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.0.0...v2.0.1
v2.0.0
This is v2.0.0. The library is quite stable and there are not major bugs.
What's Changed
- Fix/emitted events cache by @BrettLargent in https://github.com/vuejs/test-utils/pull/1449
- fix: string slot null ctx in renderFn by @braddialpad in https://github.com/vuejs/test-utils/pull/1462
- fix: wrapper.element with nested multiple roots by @freakzlike in https://github.com/vuejs/test-utils/pull/1463
- fix: fix module resolution for esm file by @sheremet-va in https://github.com/vuejs/test-utils/pull/1484
- regression: #1476 reactive prop object compare by @freakzlike in https://github.com/vuejs/test-utils/pull/1479
- fix: Pass props to functional component by @freakzlike in https://github.com/vuejs/test-utils/pull/1513
- fix(wrapper): fix wrapper.element for component with slot by @xanf in https://github.com/vuejs/test-utils/pull/1497
- fix(findComponent): allow finding top-level component by @xanf in https://github.com/vuejs/test-utils/pull/1496
- chore: bump to vue v3.2.34 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1510
New Contributors
- @BrettLargent made their first contribution in https://github.com/vuejs/test-utils/pull/1449
- @braddialpad made their first contribution in https://github.com/vuejs/test-utils/pull/1462
- @sheremet-va made their first contribution in https://github.com/vuejs/test-utils/pull/1484
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.0.0-rc.21...v2.0.0
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.