Update dependency @vue/test-utils to v2.0.2
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@vue/test-utils | devDependencies | patch | 2.0.0-rc.17 -> 2.0.2 |
Release Notes
vuejs/test-utils
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
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
v2.0.0-rc.21
This is the final release candidate, unless something major comes up. We will move to 2.0.0 next release.
- chore: Bump vue 3.2.33
- chore: Bump vue 3.2.33
- chore: add test
- fix: forward Ref prop on mount
- fix: disable stubs for built-in components on shallow
v2.0.0-rc.20
What's Changed
- fix: make imports in wrapperLike relative (again) by @catrope in https://github.com/vuejs/test-utils/pull/1401
- fix: remove compilerOptions from config by @cexbrayat in https://github.com/vuejs/test-utils/pull/1408
- docs: add RouterLinkStub to api docs by @aethr in https://github.com/vuejs/test-utils/pull/1391
- chore: bump to vue v3.2.32 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1418 (fixes bug in
shallowMount
)
New Contributors
- @celiavelmar made their first contribution in https://github.com/vuejs/test-utils/pull/1395
- @catrope made their first contribution in https://github.com/vuejs/test-utils/pull/1401
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.0.0-rc.19...v2.0.0-rc.20
v2.0.0-rc.19
Several fixes. We will move from release candidate soon, hopefully this will be the last release candidate, unless any bugs are reported!
Features
feat: Add createStubs plugin hook feat: support custom class component
Fixes
fix: added missing find overrides fix: support functional component props fix: do not match component name on getter that returns component fix: static imports fix: findAll root nodes when using render function fix: stop globalProperties config leak fix: add relative imports in wrapperLike interface fix: add methods from baseWrapper to the wrapperLike interface fix(type): add undefined type to attributes() for missing key #1398 fix(find): find element inside suspense with multi root elements #1397 fix(find): find and findAll should not find itself on DOM wrappers #1392
v2.0.0-rc.18
We are edging closer to a 2.0.0. This release contains many small fixes, mainly related to niche edge cases.
Fixes
fix: stringify symbol props in stubs (#1086) fix: Remove methods key from mount (#1145) Fix: Use defaultName when it exists to correctly stub async components (#1136) fix(find): allow finding stubs by stub definition (#1113) fix(emitted): do not track native events on multi-root components (#1121) fix(html): ensure wrapper.html() works correctly for multi-root (#1120) fix(find): implement proper find for multi-root components (#1116) fix(find): do not find DOM node by ref if it is not inside element b118e9aa956a81997dc1276583c0f48c5a767387 fix(find): finding by ref may return Node, not just Element 125ea2fa6c0c757c0628f21aa1b1f60f996ca323
Other
chore(findComponent): refactor find & findComponent (fixes #716, #899) chore(compat): Always treat legacy functional components as function bb44d9e4b92b852db7dc588c0d663f33739d41de
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.