Nuxt Test Utils Releases & Changelog
- v4.3.2
Nuxt Test Utils v4.3.2 is a patch release that includes a fix for the `vitest-environment`, ensuring that the `vitest/environments` import remains opaque to rolldown. This update is aimed at improving compatibility and stability for developers using Vitest.
- v4.3.1
Nuxt Test Utils v4.3.1 introduces a patch that allows Vitest version 5 as a peer dependency, ensuring better compatibility. Additionally, it includes a chore to enforce LF line endings for pnpm patches.
- v4.3.0
Nuxt Test Utils v4.3.0 introduces the `unmockNuxtImport` helper for enhanced runtime utilities and adds support for Vitest 5 in the configuration. Additionally, it fixes the default Nuxt test pattern for simpler setups and ensures tests are collected at runtime.
- v4.2.0
Nuxt Test Utils v4.2.0 introduces a new render helper for Vitest browser mode and adds a spy option to the mount and render helpers. It also includes several important fixes, such as improved handling of non-cloneable values in config and better support for Nuxt v5 with the Nitro Vite environment.
- v4.1.0
Nuxt Test Utils v4.1.0 introduces enhancements such as customizable server log levels for e2e tests and improved HTML tag setup for app.root and app.teleports. Key fixes include a warning for e2e in Nuxt Vitest setup and ensuring the RouterLink stub works with pages disabled. The release also migrates to tsdown and pnpm v11, streamlining the build process.
- v4.0.3
Nuxt Test Utils v4.0.3 introduces several important fixes including lazy imports for root components in mount helpers, conditional insertion of compiler options, and improved handling of NuxtLink's `isActive` slot props. Additionally, it ensures that test files are excluded from Nuxt plugin registration and enables sourcemaps when vitest coverage is activated, enhancing the testing experience for developers.
- v4.0.2
Nuxt Test Utils v4.0.2 introduces a fix that ensures the configuration respects the overridden development value. Additionally, the CI process has been updated to use pnpm for publishing, improving workspace dependency resolution.
- v4.0.1
Nuxt Test Utils v4.0.1 introduces several important fixes, including renaming `deps.optimizer.web` to `client` for Vitest 4 and improving type handling in `mockNuxtImport`. Additionally, it resolves compatibility issues with jsdom v28 and enhances the alignment of mount options with vue-test-utils, ensuring a smoother testing experience for Vue/Nuxt developers.
