Update dependency @vue/test-utils to v2
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@vue/test-utils | devDependencies | major | ^1.0.0-beta.20 -> ^2.0.0 |
Release Notes
vuejs/test-utils (@vue/test-utils)
v2.4.1
What's Changed
Fixes
- fix: modify createVMProxy to fix issue 2116 by @jason-chang in https://github.com/vuejs/test-utils/pull/2125
Docs
- docs: add warning about
isVisible()
by @alecgibson in https://github.com/vuejs/test-utils/pull/2122 - docs: Update missed rename of import to test-utils as the new default by @Hilbrand in https://github.com/vuejs/test-utils/pull/2102
(Dev) Dependencies
- chore: specify pnpm v8 as package manager by @cexbrayat in https://github.com/vuejs/test-utils/pull/2104
- chore(deps): update vitest to v0.32.2 by @renovate in https://github.com/vuejs/test-utils/pull/2099
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/2110
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/2111
- chore: compiler-dom as required dependency by @cexbrayat in https://github.com/vuejs/test-utils/pull/2114
- chore(deps): update vitest to v0.32.4 by @renovate in https://github.com/vuejs/test-utils/pull/2117
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/2121
- chore(deps): update dependency prettier to v3 and eslint-plugin-prett… by @cexbrayat in https://github.com/vuejs/test-utils/pull/2127
- chore(deps): update vitest to v0.33.0 by @renovate in https://github.com/vuejs/test-utils/pull/2128
- chore(deps): update dependency js-beautify to v1.14.9 by @cexbrayat in https://github.com/vuejs/test-utils/pull/2131
- chore: exception for no-extra-semi lint rule by @cexbrayat in https://github.com/vuejs/test-utils/pull/2133
- chore(deps): update typescript-eslint monorepo to v6 (major) by @renovate in https://github.com/vuejs/test-utils/pull/2129
New Contributors
- @Hilbrand made their first contribution in https://github.com/vuejs/test-utils/pull/2102
- @alecgibson made their first contribution in https://github.com/vuejs/test-utils/pull/2122
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.4.0...v2.4.1
v2.4.0
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:
- https://github.com/vuejs/test-utils/releases/tag/v2.4.0-alpha.0
- https://github.com/vuejs/test-utils/releases/tag/v2.4.0-alpha.1
- https://github.com/vuejs/test-utils/releases/tag/v2.4.0-alpha.2
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.3.2
What's Changed
- fix propsData deprecation suggestion by @dten in https://github.com/vuejs/test-utils/pull/2001
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/2006
- chore(deps): update vitest to v0.29.3 by @renovate in https://github.com/vuejs/test-utils/pull/2007
- docs: add ssr page to navigation by @freakzlike in https://github.com/vuejs/test-utils/pull/2011
- chore: export ComponentMountingOptions to resolve type definetions in testing script by user by @jason-chang in https://github.com/vuejs/test-utils/pull/2009
New Contributors
- @dten made their first contribution in https://github.com/vuejs/test-utils/pull/2001
- @jason-chang made their first contribution in https://github.com/vuejs/test-utils/pull/2009
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.3.1...v2.3.2
v2.3.1
What's Changed
- docs(fr): french documentation and README.md by @antoinezanardi in https://github.com/vuejs/test-utils/pull/1975
- fix: Stub instance of the same component by @freakzlike in https://github.com/vuejs/test-utils/pull/1979
- fix: return wrapper error from DOMWrapper ctor if element is nullish by @ascott18 in https://github.com/vuejs/test-utils/pull/1996
New Contributors
- @antoinezanardi made their first contribution in https://github.com/vuejs/test-utils/pull/1975
- @ascott18 made their first contribution in https://github.com/vuejs/test-utils/pull/1996
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.3.0...v2.3.1
v2.3.0
What's Changed
renderToString
is merged for SSR testing, thanks to @wobsoriano and @cexbrayat!
- feat: add renderToString function by @cexbrayat in https://github.com/vuejs/test-utils/pull/1971
- docs: add emits to v-model documentation by @cexbrayat in https://github.com/vuejs/test-utils/pull/1970
- docs: change type for unableAutoUnmount by @voskresla in https://github.com/vuejs/test-utils/pull/1966
- docs: mentions attachTo in trigger documentation by @cexbrayat in https://github.com/vuejs/test-utils/pull/1972
New Contributors
- @voskresla made their first contribution in https://github.com/vuejs/test-utils/pull/1966
Full Changelog: https://github.com/vuejs/test-utils/compare/2.2.10...v2.3.0
v2.2.10
What's Changed
- fix: TS workaround for Vue v3.2.47 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1962
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.2.9...2.2.10
v2.2.9
What's Changed
- chore(deps): update all non-major dependencies by @cexbrayat in https://github.com/vuejs/test-utils/pull/1951
- fix: use attachTo in failing tests with jsdom v21.1 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1952
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/1949
- chore(deps): update vitest to v0.28.3 by @renovate in https://github.com/vuejs/test-utils/pull/1955
- chore(deps): update dependency unplugin-vue-components to v0.23.0 by @renovate in https://github.com/vuejs/test-utils/pull/1956
- chore(deps): update all non-major dependencies to v5.50.0 by @renovate in https://github.com/vuejs/test-utils/pull/1959
- chore(deps): update dependency rollup to v3.12.1 by @renovate in https://github.com/vuejs/test-utils/pull/1960
- chore: mark @vue/compiler-dom as optional by @cexbrayat in https://github.com/vuejs/test-utils/pull/1958
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.2.8...v2.2.9
v2.2.8
What's Changed
- chore(deps): update dependency vue-tsc to v1.0.22 by @renovate in https://github.com/vuejs/test-utils/pull/1930
- chore(deps): update dependency @rollup/plugin-typescript to v11 by @renovate in https://github.com/vuejs/test-utils/pull/1933
- chore(deps): update dependency jsdom to v21 by @renovate in https://github.com/vuejs/test-utils/pull/1934
- [docs]: remove duplicate sentence by @altescape in https://github.com/vuejs/test-utils/pull/1936
- chore: format with prettier v2.8.2 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1939
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/1937
- chore(deps): update vitest to v0.27.1 by @renovate in https://github.com/vuejs/test-utils/pull/1940
- chore(deps): update vitest to v0.27.2 by @renovate in https://github.com/vuejs/test-utils/pull/1943
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/1944
- fix: proper docs link in jsdoc by @cexbrayat in https://github.com/vuejs/test-utils/pull/1946
- chore(deps): update vitest to v0.27.3 by @renovate in https://github.com/vuejs/test-utils/pull/1947
- chore(deps): update vitest to v0.28.1 by @renovate in https://github.com/vuejs/test-utils/pull/1948
- chore: add proper dependencies by @cexbrayat in https://github.com/vuejs/test-utils/pull/1950
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.2.7...v2.2.8
v2.2.7
Fixes
- fix: Differentiate script setup from option api component with setup by @renatodeleao in https://github.com/vuejs/test-utils/pull/1928
Docs
- Documentation Update (Issue 1894) by @evandroguedes in https://github.com/vuejs/test-utils/pull/1895
- docs: add section about test runners upgrade to migration guide by @renatodeleao in https://github.com/vuejs/test-utils/pull/1923
- [docs]: improve slot scope auto exposing "params" behaviour by @renatodeleao in https://github.com/vuejs/test-utils/pull/1924
- [docs]: fix broken slots documentation by @miguel-tzab in https://github.com/vuejs/test-utils/pull/1926
Chore
- chore(deps): update vitest to v0.25.4 by @renovate in https://github.com/vuejs/test-utils/pull/1896
- chore(deps): update vitest to v0.25.5 by @renovate in https://github.com/vuejs/test-utils/pull/1897
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/1898
- chore(deps): update dependency prettier to v2.8.1 by @renovate in https://github.com/vuejs/test-utils/pull/1900
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/1901
- chore(deps): update vitest to v0.25.6 by @renovate in https://github.com/vuejs/test-utils/pull/1902
- chore: add stackblitz link and envinfo to issue template by @cexbrayat in https://github.com/vuejs/test-utils/pull/1906
- chore(deps): update vite (major) by @renovate in https://github.com/vuejs/test-utils/pull/1907
- chore(deps): update vitest to v0.25.7 by @renovate in https://github.com/vuejs/test-utils/pull/1908
- chore(deps): update dependency unplugin-vue-components to v0.22.12 by @renovate in https://github.com/vuejs/test-utils/pull/1909
- chore(deps): update vitest to v0.25.8 by @renovate in https://github.com/vuejs/test-utils/pull/1910
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/1911
- chore(deps): update dependency @rollup/plugin-json to v6 by @renovate in https://github.com/vuejs/test-utils/pull/1915
- chore(deps): update dependency @rollup/plugin-commonjs to v24 by @renovate in https://github.com/vuejs/test-utils/pull/1916
- chore(deps): update vitest to v0.26.0 by @renovate in https://github.com/vuejs/test-utils/pull/1917
- chore(deps): update dependency vitest to v0.26.1 by @renovate in https://github.com/vuejs/test-utils/pull/1918
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/1919
- chore(deps): update vitest to v0.26.2 by @renovate in https://github.com/vuejs/test-utils/pull/1920
- chore(deps): update dependency vite to v4.0.3 by @renovate in https://github.com/vuejs/test-utils/pull/1921
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/1925
- chore(deps): update vitest to v0.26.3 by @renovate in https://github.com/vuejs/test-utils/pull/1927
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/1929
New Contributors
- @evandroguedes made their first contribution in https://github.com/vuejs/test-utils/pull/1895
- @renatodeleao made their first contribution in https://github.com/vuejs/test-utils/pull/1923
- @miguel-tzab made their first contribution in https://github.com/vuejs/test-utils/pull/1926
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.2.6...v2.2.7
v2.2.6
What's Changed
- fix: allow to use KeepAlive or keep-alive in stubs by @cexbrayat in https://github.com/vuejs/test-utils/pull/1892
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.2.5...v2.2.6
v2.2.5
What's Changed
- chore(deps): update dependency unplugin-vue-components to v0.22.11 by @renovate in https://github.com/vuejs/test-utils/pull/1881
- chore(deps): update vitest to v0.25.3 by @renovate in https://github.com/vuejs/test-utils/pull/1882
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/1885
- chore(deps): update dependency @rollup/plugin-typescript to v10 by @renovate in https://github.com/vuejs/test-utils/pull/1887
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/1890
- chore(deps): update dependency @types/node to v18.11.10 by @renovate in https://github.com/vuejs/test-utils/pull/1891
- feat: adding stubbing for keep-alive by @laddi-netapp in https://github.com/vuejs/test-utils/pull/1889
New Contributors
- @laddi-netapp made their first contribution in https://github.com/vuejs/test-utils/pull/1889
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.2.4...v2.2.5
v2.2.4
What's Changed
- refactor: proper type for hasSetupState util function by @cexbrayat in https://github.com/vuejs/test-utils/pull/1865
- chore: update to typescript v4.9.2 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1874
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/1867
- fix: allow to mock global function in script setup components by @cexbrayat in https://github.com/vuejs/test-utils/pull/1871
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.2.3...v2.2.4
v2.2.3
What's Changed
- chore(deps): update vitest to v0.25.2 by @renovate in https://github.com/vuejs/test-utils/pull/1862
- fix: allow spying on non-exposed script setup functions by @cexbrayat in https://github.com/vuejs/test-utils/pull/1860
- fix: expose props on vm for script setup components by @cexbrayat in https://github.com/vuejs/test-utils/pull/1864
- fix: allow mocking on script setup components by @cexbrayat in https://github.com/vuejs/test-utils/pull/1861
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.2.2...v2.2.3
v2.2.2
Fixes
- fix(mount): correctly work with component throwing on mount by @xanf in https://github.com/vuejs/test-utils/pull/1845
- fix(emit): force event handling even with fake timers by @cexbrayat in https://github.com/vuejs/test-utils/pull/1856
Other
- chore(deps): update vitest to v0.24.4 by @renovate in https://github.com/vuejs/test-utils/pull/1841
- chore(deps): update vitest to v0.24.5 by @renovate in https://github.com/vuejs/test-utils/pull/1842
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/1843
- chore(mount): simplify mount operation by @xanf in https://github.com/vuejs/test-utils/pull/1844
- chore(deps): update vitest to v0.25.0 by @renovate in https://github.com/vuejs/test-utils/pull/1847
- chore(deps): update vitest to v0.25.1 by @renovate in https://github.com/vuejs/test-utils/pull/1848
- chore: update to vue v3.2.43 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1853
- chore(deps): update all non-major dependencies by @renovate in https://github.com/vuejs/test-utils/pull/1849
- chore: update to vue v3.2.45 by @cexbrayat in https://github.com/vuejs/test-utils/pull/1857
- refactor: use a proxy for wrapper.vm by @cexbrayat in https://github.com/vuejs/test-utils/pull/1858
Full Changelog: https://github.com/vuejs/test-utils/compare/v2.2.1...v2.2.2
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
v1.3.6
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.