Releases: nuxt/test-utils
Releases · nuxt/test-utils
v3.17.0
👉 Changelog
🚀 Enhancements
- runtime-utils: Allow modifying + removing endpoints (fee81510)
✅ Tests
- Update snapshot (4e5ff1f2)
❤️ Contributors
- Daniel Roe (@danielroe)
v3.16.0
3.16.0 is the next minor release.
👀 Highlights
You'll still see a warning from vitest:
Vitest "environmentMatchGlobs" is deprecated. Use "workspace" to define different configurations instead.
You can ignore this for the moment. I expect we will resolve this in the next major (which will drop support for vitest < 3).
👉 Changelog
🚀 Enhancements
- e2e: Add
teardownTimeout
option to set timeout forafterAll
hook (af2ddf29)
🩹 Fixes
- vitest-environment: Respect any configured
buildId
(3f8599e6) - vitest-environment: Use correct base (c5ba2bac)
- runtime-utils: Pass custom global components to
mountSuspended
(#1081) - runtime-utils: Allow overwriting object props in
mountSuspended
(#1078) - runtime-utils: Do not use
defu
for merging (#1089) - runtime-utils: Proxy wrapper props (#1099)
- runtime-utils: Define
$attrs
in component render context (#1108) - module: Ensure
vi.hoisted
is injected aftervi
import (#1128) - runtime-utils: Proxy
wrapper.element
frommountSuspended
(#1110)
📦 Build
- Use
typesVersions
for node10 declarations (f19cee64)
🏡 Chore
🤖 CI
❤️ Contributors
- Daniel Roe (@danielroe)
- Ryota Watanabe (@wattanx)
- Robin (@OrbisK)
- Romain Hamel (@romhml)
- Tobi (@tobiasdcl)
v3.15.4
🩹 Fixes
- e2e: Use
tinyexec
to resolve nuxi binary (7df895e3) - e2e: Increase default windows setup timeout (6f38dd58)
✅ Tests
- Bump timeout in test also (dcf038a0)
❤️ Contributors
- Daniel Roe (@danielroe)
v3.15.3
🩹 Fixes
- e2e: Use
node:path
to resolvedist
directory (#1054)
❤️ Contributors
- Scott Bedard (@scottbedard)
v3.15.2
🩹 Fixes
- module: Remove
setInterval
from the presets (#1035)
🏡 Chore
✅ Tests
- Update windows timeout for e2e test (1acb335b)
❤️ Contributors
- Daniel Roe (@danielroe)
- Ryota Watanabe (@wattanx)
v3.15.1
v3.15.0
🚀 Enhancements
- e2e: Expose
NuxtPage
playwright type (#1015) - playwright: Allow providing default test options (#1001)
🩹 Fixes
- runtime-utils: Support
defineModel
inmountSuspended
(#1011) - core: Bump teardown timeout for jest (3225562e)
- runtime-utils: Handle reserved
props
(#1025) - vitest-environment: Suppress suspense warning (#1026)
- runtime-utils: Suppress errors setting unneeded properties (4e9f34b9)
- e2e: Handle
javaScriptEnabled: false
(ca06f337) - e2e: Use subpath import for
distDir
string (094acb29) - e2e: Remove
dirname
when calculatingdistDir
(56122b74) - e2e: Use
nuxtConfig.nitro.output.dir
withbuild: false
(#936)
🏡 Chore
- Upgrade typescript separately (ee6f4c08)
- Add
knip
and reduce peer dependencies (4e10bd26) - Revert node requirement (bb4345a8)
- Use
installed-check
to keepengines.node
in sync (ebcc5eff)
✅ Tests
🤖 CI
- Run tests on node 22 (86fd24c4)
❤️ Contributors
- Alexander Rozhkov (@Al-Rozhkov)
- Daniel Roe (@danielroe)
- Torma Gábor (@GaborTorma)
- Ahmadou Waly NDIAYE (@sir-kain)
- Ryota Watanabe (@wattanx)
v3.14.4
🩹 Fixes
- e2e: Set
NODE_ENV
when running built server (#969) - runtime-utils: Bind this in options api methods (#971)
❤️ Contributors
- INOUE Takuya (@inouetakuya)
- Daniel Roe (@danielroe)
v3.14.3
🩹 Fixes
- vitest-environment: Respect custom url in setup (#957)
- runtime-utils: Pass global
directives
tomountSuspended
(#960) - runtime-utils: Pass global
directives
torenderSuspended
(cf1b48ff) - runtime-utils: Support options api data, computed + methods (#963)
🏡 Chore
- Update vitest type import (af810cbd)
✅ Tests
- Bump playwright setup time for windows (21ade1f2)
❤️ Contributors
- Daniel Roe (@danielroe)
- INOUE Takuya (@inouetakuya)
- Joel Wenzel (@joel-wenzel)
- Ryoya (@harunari0928)
v3.14.2
🔥 Performance
- e2e: Use
tinyexec
to run commands (#939)
🩹 Fixes
- config: Exclude new nuxt import-conditions plugin (7cc8f653b)
📖 Documentation
- Add contribution instructions (c765d175a)
🏡 Chore
- vitest-environment-nuxt: Specify license is MIT (#919)
- Release
vitest-environment-nuxt
(e30c044cf) - Update
@nuxtjs/i18n
separately (3d8955d36) - Set
compatibilityDate
in fixtures (7723f969c) - Update vitest type import (05e94fcc4)
- Trim tag from
tinyexec
stdout (2b50cfee0)
❤️ Contributors
- Daniel Roe (@danielroe)
- Bobbie Goede (@BobbieGoede)
- Marley Adamson (@transreport-marley)