Skip to content

Releases: nuxt/test-utils

v3.17.0

21 Feb 09:22
f204f80
Compare
Choose a tag to compare

👉 Changelog

compare changes

🚀 Enhancements

  • runtime-utils: Allow modifying + removing endpoints (fee81510)

✅ Tests

❤️ Contributors

v3.16.0

20 Feb 20:45
39c6ca3
Compare
Choose a tag to compare

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

compare changes

🚀 Enhancements

  • e2e: Add teardownTimeout option to set timeout for afterAll 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 after vi import (#1128)
  • runtime-utils: Proxy wrapper.element from mountSuspended (#1110)

📦 Build

  • Use typesVersions for node10 declarations (f19cee64)

🏡 Chore

  • Update vitest peerDep version (c4ee71a4)
  • Add root package to workspace (d7c63b5c)

🤖 CI

  • Force latest corepack (99ae34c0)
  • Add new release workflow (#1131)

❤️ Contributors

v3.15.4

12 Jan 10:54
d9c5fea
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • e2e: Use tinyexec to resolve nuxi binary (7df895e3)
  • e2e: Increase default windows setup timeout (6f38dd58)

✅ Tests

❤️ Contributors

v3.15.3

11 Jan 22:49
68b889a
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • e2e: Use node:path to resolve dist directory (#1054)

❤️ Contributors

v3.15.2

11 Jan 22:19
e47878d
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • module: Remove setInterval from the presets (#1035)

🏡 Chore

  • Add devtools-kit types + specify vite in jest fixture (c37781b5)
  • Double windows timeout (45e16131)

✅ Tests

  • Update windows timeout for e2e test (1acb335b)

❤️ Contributors

v3.15.1

06 Dec 11:11
313d839
Compare
Choose a tag to compare

compare changes

🩹 Fixes

❤️ Contributors

v3.15.0

05 Dec 15:53
015da2b
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • e2e: Expose NuxtPage playwright type (#1015)
  • playwright: Allow providing default test options (#1001)

🩹 Fixes

  • runtime-utils: Support defineModel in mountSuspended (#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 calculating distDir (56122b74)
  • e2e: Use nuxtConfig.nitro.output.dir with build: false (#936)

🏡 Chore

  • Upgrade typescript separately (ee6f4c08)
  • Add knip and reduce peer dependencies (4e10bd26)
  • Revert node requirement (bb4345a8)
  • Use installed-check to keep engines.node in sync (ebcc5eff)

✅ Tests

  • Bump jest timeout (00f409c8)
  • Add test case for mountSuspended + #imports (4f3f5032)

🤖 CI

❤️ Contributors

v3.14.4

19 Oct 21:43
d0f875b
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • e2e: Set NODE_ENV when running built server (#969)
  • runtime-utils: Bind this in options api methods (#971)

❤️ Contributors

v3.14.3

07 Oct 10:48
fd46665
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • vitest-environment: Respect custom url in setup (#957)
  • runtime-utils: Pass global directives to mountSuspended (#960)
  • runtime-utils: Pass global directives to renderSuspended (cf1b48ff)
  • runtime-utils: Support options api data, computed + methods (#963)

🏡 Chore

✅ Tests

  • Bump playwright setup time for windows (21ade1f2)

❤️ Contributors

v3.14.2

10 Sep 13:27
f7afe52
Compare
Choose a tag to compare

compare changes

🔥 Performance

  • e2e: Use tinyexec to run commands (#939)

🩹 Fixes

  • config: Exclude new nuxt import-conditions plugin (7cc8f653b)

📖 Documentation

🏡 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