Skip to content

Changelog

Overview of the latest features in Nuxt Spec.

0.2.4

2026-07-03

  • feat: HTML report for failed visual regression tests
  • feat: better validation of options passed into the compareScreenshot function
  • fix: remove obsolete onlyBuiltDependencies from CLI setup (#41)
  • build: non-important dependencies are now loosened to ~
  • build: updated dependencies
    • vitest to 4.1.9
    • @vue/test-utils to 2.4.11
    • happy-dom to 20.10.6
    • playwright-core to 1.61.1
    • nuxt to 4.4.8
    • vue to 3.5.39
    • vue-tsc to ~3.3.6 (added)
    • @nuxt/eslint to 1.16.0

0.2.3

2026-06-02

  • feat: ability to install node_modules automatically in CLI setup (#37)
  • feat: allow custom log messages filtering (#38)
  • fix: creating .nuxtrc file in CLI setup to prevent @nuxt/test-utils auto-setup
  • build: updated dependencies
    • vitest to 4.1.8
    • @vue/test-utils to 2.4.10
    • @nuxt/test-utils to 4.0.3
    • playwright-core to 1.60.0
    • pixelmatch to 7.2.0
    • nuxt to 4.4.7
    • vue to 3.5.35
    • vue-router to 5.1.0
    • elrh-cosca to 0.3.6

0.2.2

2026-04-27

  • build: updated dependencies
    • vitest to 4.1.5
    • @vue/test-utils to 2.4.8
    • @nuxt/test-utils to 4.0.2
    • happy-dom to 20.9.0
    • vue to 3.5.33
    • vue-router to 5.0.6
    • typescript to 6.0.3

0.2.1

2026-03-30

  • fix: augment existing pnpm-workspace.yaml correctly (#39)

0.2.0

2026-03-24

  • no changes from 0.2.0-alpha.10

0.2.0-alpha.10

2026-03-24

  • fix: correct waitUntil option in sample visual test (#33)
  • fix: export nuxt.config.ts in package for proper layer resolution (#34)
  • fix: filter-out unnecessary warning logs on stdout along with stderr (#36)

0.2.0-alpha.9

2026-03-24

  • fix: repair sample test portability to target projects (#32)

0.2.0-alpha.8

2026-03-23

  • feat: alter setup from creating .npmrc to pnpm-workspace.yaml
  • feat: filter-out unnecessary warning logs (#30)
  • refactor: re-organize /config directory

0.2.0-alpha.7

2026-03-19

  • fix: proper resolution of project config overrides (#29)

0.2.0-alpha.6

2026-03-19

  • feat: add pixelmatch to mitigate cross-platform rendering differences in visual tests
  • build: updated dependencies
    • pixelmatch to 7.1.0 (added)
    • fast-png to 8.0.0 (added)

0.2.0-alpha.5

2026-03-19

  • build: updated dependencies
    • nuxt to 4.4.2
    • vitest to 4.1.0
    • vitest-browser-vue to 2.1.0
    • @vitejs/plugin-vue to 6.0.5
    • happy-dom to 20.8.4
    • @nuxt/eslint to 1.15.2
    • vue to 3.5.30
    • vue-router to 5.0.3
  • build: security updates in transitive deps

0.2.0-alpha.4

2026-02-26

  • fix: update types for nuxt-spec/utils subpackage

0.2.0-alpha.3

2026-02-26

  • refactor: introduce options parameter into compareScreenshot function
  • feat: enhance compareScreenshot function to support CSS selector for element-specific screenshots

0.2.0-alpha.2

2026-02-24

  • fix: export nuxt-spec/utils sub-package properly
  • fix: make custom defu merger function for Vitest config available in production build
  • fix: corrected util function name to compareScreenshot

0.2.0-alpha.1

2026-02-23

  • feat: included @vitest/browser and @vitest/ui packages
  • feat: added new browser project config for Vitest browser-mode tests
  • feat: introduced crude solution for visual regression testing (#2)
  • feat: introduced compareScreenshot util function for visual regression testing
  • feat: introduced gotoPage, getDataHtml and getAPIResultHtml helpers for Nuxt E2E tests (#27)
  • fix: created proper custom merging strategy for test.projects config (#24)
  • docs: explained latest changes in README.md
  • build: updated dependencies
    • @vitest/browser-playwright to 4.0.18 (added)
    • @vitest/ui to 4.0.18 (added)
    • vitest-browser-vue to 2.0.2 (added)
    • @vitejs/plugin-vue to 6.0.4 (added)
    • happy-dom to 20.7.0
    • @nuxt/eslint to 1.15.1
    • vue to 3.5.28
    • vue-router to 5.0.3

0.1.18

2026-02-08

  • feat: update default config to support sub-directories (#26)
  • build: updated dependencies
    • nuxt to 4.3.1
    • vitest to 4.0.18
    • vue to 3.5.27
    • happy-dom to 20.5.1
    • playwright-core to 1.58.2
    • @nuxt/eslint to 1.14.0
    • @nuxt/test-utils to 4.0.0
    • vue-router to 5.0.2

0.1.17

2026-01-12

  • build: updated dependencies
    • vitest to 4.0.16
    • vue to 3.5.26
    • happy-dom to 20.1.0
    • @nuxt/test-utils to 3.23.0

0.1.16

2025-12-14

  • fix: corrected typing for loadVitestConfig function (#23)
  • fix: native support for #components alias in test/nuxt folder via Nuxt 4.2.2 (#17)
  • build: updated dependencies
    • nuxt to 4.2.0
    • vitest to 4.0.15
    • happy-dom to 20.0.11
    • playwright-core to 1.57.0
    • @nuxt/eslint to 1.12.1
    • @nuxt/test-utils to 3.21.0
    • vue-router to 4.6.5

0.1.15

2025-11-06

  • fix: add TS support for Nuxt aliases like #components in test files (#17)
  • docs: added info about passing in Vite config into loadVitestConfig
  • build: updated dependencies
    • vitest to 4.0.7
    • happy-dom to 20.0.10

0.1.14

2025-10-27

  • fix: proper error handling in CLI (#20)
  • fix: loading vitest config during runtime (#21)

0.1.13

2025-10-26

  • feat: TS types in nuxt-spec/config (#18)
  • feat: option to exclude projects from vitest config (#19)
  • build: updated dependencies
    • nuxt to 4.2.0
    • nuxt-test-utils to 3.20.1
    • vitest to 4.0.3
    • happy-dom to 20.0.8
    • playwright-core to 1.56.1
    • vue-router to 4.6.3

0.1.12

2025-10-16

  • fix: allow proper extending from Nuxt Spec layer again (#16)
  • fix: update component import in Nuxt component test file (#15)
  • build: bump happy-dom to 20.0.2 (fix CVE-2025-62410)

0.1.11

2025-10-15

  • feat: CLI scripts can scaffold sample test files (#8)
  • feat: CLI script also removes deno.lock file if present (#13)
  • feat: CLI scripts only set shamefully-hoist=true for pnpm (#14)
  • feat: GitHub links now use specific version tags

0.1.10

2025-10-10

  • feat: CLI script now try-catches each step and will finish even if errors encountered
  • feat: CLI script now accepts external autoRun parameter to avoid even the initial prompt
  • feat: CLI script now guesses executing package manager to give more accurate usage hints
  • feat: CLI script now scaffolds "pnpm": "onlyBuiltDependencies" if pnpm is used
  • refactor: merge "auto" and "manual" CLI scripts to avoid duplication
  • test: small updates in demo suite
  • docs: instructions for more package managers
  • build: updated dependencies
    • nuxt to 4.1.3
    • vitest to 4.0.0-beta.17
    • happy-dom to 20.0.0
    • playwright-core to 1.56.0

0.1.9

2025-10-05

  • feat: improved CLI setup - removing dependencies (nuxt, vue, vue-router) from package.json
  • feat: improved CLI setup - removing node_modules and lock file(s)
  • feat: change CLI execution - now runs via npx nuxt-spec setup
  • build: bump vitest to 4.0.0-beta.16, happy-dom to 19.0.2, playwright-core to 1.55.1 and typescript to 5.9.3

0.1.8

2025-09-18

  • feat: improved CLI tooling with elrh-cosca - run npx nuxt-spec to start the setup wizard
  • feat: "auto" and "manual" CLI mode
  • docs: updated README with new setup instructions
  • build: bump Nuxt to 4.1.2, Vitest to 4.0.0-beta.11 + few other deps
  • chore: improved release process - run tests before building and build before publishing

0.1.7

2025-08-24

  • fix: update elrh-cosca to solve module resolution issue (experimental)

0.1.6

2025-08-24

  • feat: delegate code-scaffolding tasks to new elrh-cosca library (experimental)

0.1.5

2025-08-16

  • fix: invalid Vitest config + broken import path (#4)
  • build: bump Vitest

0.1.4

2025-08-16

  • fix: make loadVitestConfig available from root dir - solving issues from testing (#4)

0.1.3

2025-08-16

  • fix: make loadVitestConfig available from root dir (#4)

0.1.2

2025-08-09

  • fix: target path for scaffolded vitest.config.ts (#3)

0.1.1

2025-08-09

  • feat: CLI tool for scaffolding vitest.config.ts and test-related scripts in package.json
  • docs: added CHANGELOG.md and fixed link to playwright-core

0.1.0

2025-08-08

  • initial release v0.1.0
  • key features:
    • Nuxt base layer for testing
    • Nuxt v4 and Vitest v4 compatibility
    • Integrated vitest, @vitest/browser, happy-dom, playwright-core, @vue/test-utils, @nuxt/test-utils
    • Support for custom configuration via loadVitestConfig function in vitest.config.ts