All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- e2e: Set
NODE_ENV
when running built server (#969) - runtime-utils: Bind this in options api methods (#971)
- INOUE Takuya (@inouetakuya)
- Daniel Roe (@danielroe)
- 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)
- Update vitest type import (af810cbd)
- Bump playwright setup time for windows (21ade1f2)
- Daniel Roe (@danielroe)
- INOUE Takuya (@inouetakuya)
- Joel Wenzel (@joel-wenzel)
- Ryoya (@harunari0928)
- e2e: Use
tinyexec
to run commands (#939)
- config: Exclude new nuxt import-conditions plugin (7cc8f653b)
- Add contribution instructions (c765d175a)
- 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)
- Daniel Roe (@danielroe)
- Bobbie Goede bobbiegoede@gmail.com
- Marley Adamson (@transreport-marley)
- e2e,config: Provide fallback
compatibilityDate
(8e01e3f7f) - module: Don't include type-check plugin in resolved
vitest
plugins (#911)
- Provide intellisense hints for setup properties (#906)
- Daniel Roe (@danielroe)
- Valentin Brajon (@vbrajon)
- Adam DeHaven (@adamdehaven)
- runtime-utils: Expose setup result from
renderSuspended
(#852) - e2e: Allow overwriting env variables in
setup
(#903) - e2e: Allow running e2e tests against existing server (#803)
- e2e: Allow updating env in context before
setup
runs (#812)
- runtime-utils: Ts-ignore
#build/
import until nuxt v3.12 release (66b23ae6) - runtime-utils: Allow
setProps
to replace an array (#877)
- Ignore ts-ignores for now (ac2d9fbb)
- Add @danielroe to code owners (76f65b3b)
- Remove ts-ignore now that we're upgraded (16827f7f)
- Bump timeout in windows browser spec (73e2c716)
- Jessé Correia Lins (@linspw)
- Tobias Diez code@tobiasdiez.com
- Mark Brockhoff (@markbrockhoff)
- Daniel Roe (@danielroe)
- MaruyamaTomoki (@tomoki1207)
- Joao Vitor Alves joaovitor_as08802@hotmail.com
- Revert
execa
to v8 for now (fef8b062) - config: Force
buildId
totest
manually (25e081e4) - runtime-utils: Use
appId
fallback aftertryUseNuxtApp
(#849)
- Update type (052094bc)
- Run test suite on windows (#851)
- Daniel Roe (@danielroe)
- e2e: Don't iterate when cleaning up if nothing registered (#753)
- e2e: Improve types for
fetch
andmockLogger
(eb40a6a6) - e2e: Force string response within
startServer
(1b182505) - e2e: Improve return types for
mockLogger
(21aa7a2f) - runtime: Improve types for
renderSuspended
andmountSuspended
(1636cede) - e2e: Revert changes for
$fetch
inference to unbreak build (dd295d39) - vitest: Strongly type vitest environment options (37582c71)
- module: Correctly filter vite plugins (021824d0)
- runtime: Preserve
setupState
return (ab7fd457) - playwright: Bump dependency and remove polyfill (#819)
- runtime: Use
effectScope
inrenderSuspended
(#820) - e2e: Type
$fetch
using globalThis instead (b1269edb) - Set
buildId
tonuxt-app
for compatibility with nuxt v3.12+ (a00b2c1f) - runtime-utils: Use
tryUseNuxtApp
rather thanbuildId
override (726e0a2d)
- Migrate to eslint v9 (#814)
- Reduce internal typing of
any
(3e3bc306) - Reenable
no-explicit-any
rule (28385546) - Normalise internal package names (3f58b110)
- Update example command (e271b63e)
- Add name for
app-vitest-full
(882c144e) - Ignore
@nuxt/devtools
upgrades for now (54f654d6) - Lint (08ee3515)
- Daniel Roe (@danielroe)
- Michael Brevard yonshi29@gmail.com
- Publish
playwright.d.ts
(#797)
- Ryota Watanabe (@wattanx)
- config: Remove nuxt's custom vite logger (eca52f5c)
- Remove caching of Playwright browsers (#785)
- Add release workflow (76604ce0)
- Update
changelogen
command (e3368daf) - Add git user (5aa95b02)
- Add contents permission (cf6cd3a8)
- Rename some workflows (7ea235e9)
- Do less in workflow (1f664fc5)
- Daniel Roe (@danielroe)
- Max Schmitt (@mxschmitt)
- vitest-environment: Add support for in-source testing (#651)
- runtime: Reset modules after nuxt setup runs (#726)
- Daniel Roe (@danielroe)
- runtime-utils: Resolve
to
inRouterLink
stub (#687) - Mark
afterAll
andsetup
hooks as async (#702) - module: Always append import when mocking (#701)
- Update config key (25060645)
- Add example test for nuxt-injected value (#663)
- Update to actually use
$t
(#675)
- Fetch-depth: 0 (269df289)
- Bobbie Goede bobbiegoede@gmail.com
- Daniel Roe daniel@roe.dev
- Julien Huang julien.huang@outlook.fr
- Steve Pewsey stevenpewsey@gmail.com
- Add nuxt-vitest re-exports (#230)
- Add nuxt-vitest and vitest-environment-nuxt code and tests (f4ae58ac)
- Use internal implementation of nuxt-vitest (#235)
- e2e: Auto-detect jest runner (ae37b0ee)
⚠️ Read .env.test + allow overriding with nuxt.dotenv (#655)
- Add @nuxt/test-utils-nightly to deps to inline (0caf44d0)
- Use implied .d.mts types (d9694f21)
- Add setupState type to mountSuspended return type (#400)
- Add runtime fixture to workspace and address regressions (#240)
- Opt-in to future vitest option (#247)
- Use vite-ignore for playwright dynamic import (c1ac4a08)
- Do not set process.browser globally (#250)
- Support transpiling nuxt nightly releases (c63f69c8)
- Rewrite mock plugin for compat with vite 5/rollup 4 (d0ba5af3)
- Do not skip transforms on test files (3bbcc1ea)
- Add @vitest/ui to peer deps (7f4f6053)
- Use buildDir option (#596)
⚠️ Load nuxt app within setupFiles (#260)- Teardown build directories after tests (#597)
- Import useRouter explicitly in entry (129d8335)
- Return absolute path for stub entry (180bb306)
- Don't return absolute path in dev mode (f47dd9a3)
- Clone overrides (df84d0c1)
- Skip vite-plugin-vue-inspector:post plugin (8a6a0523)
- Clean up wrappers when calling renderSuspended (5b189115)
- Exclude vite-plugin-checker from runtime vitest config (053a5dff)
- Resolve devtools url after vitest config is resolved (1206db79)
- Remove module override of app.rootId (e662c1f0)
- Remove rootId environment option (dead5e3d)
- Add back rootId environment option" (827180ec)
- runtime-utils: Don't stub helpers when shallow (#632)
- Avoid enumerating keys on render context (43b2724b)
- Support typescript entry file (c5806009)
- vitest-environment: Normalise setupFiles before merge (#653)
- module: Close nuxt before shutting down (17cf9435)
- runtime: Do not assign readonly setup state (8d799275)
- runtime: Implement setProps (522f8bf5)
- vitest-environment: Handle different entry format (5c07bb48)
- runtime: Import reactive and unref (d68cdae9)
- Move to monorepo (#31)
- Split core utils to core/ (f144cb40)
- Clean up internal code imports (#245)
- Use defu rather than mergeConfig from vite (#246)
- Further split vitest from vite config (ef58e4cb)
- Split out mock transform plugin w/ tests (a37fa408)
- Remove rollup implementation of transform plugin (71345967)
- module: Rename config key to testUtils (c2b09732)
- playground: Demo usage of co-exists unit and nuxt testing (#6)
- Add JSDoc comments (#205)
- Add documentation for mountSuspended (#227)
- Add basic README and missing LICENCE (51eb9de2)
- Remove links to nuxt-vitest (254605df)
- Update links to nuxt docs on testing (2e619a89)
- Fix build issues and correct dependencies (3e2f8b29)
- Move runtime-utils.mjs -> runtime-utils/index.mjs (#634)
⚠️ Use /runtime subpath export (de9a2a81)- Prefer /e2e subpath export (88952fb0)
- Update playground to 0.4.5 devtools (7d4a6b28)
- Add useHead to fixture (6d4bb420)
- Add type tests (9de62b6e)
- Await 2 ticks after navigation for route to update (cb6c1e3a)
- Correct test assertion (c644bdb3)
- Avoid depending on specific number of ticks (e98d71ea)
- Update test to use server rather than live api (7df6be28)
- Add a few more basic examples for e2e tests (490753c4)
- Add jest example/test (#224)
- Add type test (#241)
- Make indexeddb plugin client-only (0477e414)
- Add tests for events emitted from defineModel (#629)
- Add failing test for exposed methods on components within suspense (a4ec3f83)
- Remove workaround for route update (c9699ad1)
- Add example of importing a dynamic route (fe420b9c)
- Re-organise test suite (9c877821)
- Add failing test for setProps (dc93e003)
- Reenable expose test (204037e4)
- Add example fixture with @nuxt/content (#631)
- Add example fixture with @nuxtjs/i18n (#633)
- Add generate assertion and enable browser (94513939)
- Lint (35ee16ef)
- Lint and update test (cd4dbf9d)
- Lint (91723acc)
- Lint (caf4d827)
- Lint (8b428b46)
- Sort imports (6c84c9e4)
- Add testing workflow (ce74b0b5)
- Add lint workflow for pushes to main (f141b8d4)
- Add workflow to test examples (0c3c318f)
- Prepare environment before running module test (5be069dc)
- 'nightly' releases on pushes to main (#210)
- Fetch full history (d61614b1)
- Install playwright manually (58906de3)
- Remove extra branch from release workflow (e24d884f)
- Prepare build environment (6d8e71ad)
- Run unit tests in ci (cbd5616a)
- Support automated release prs (#623)
- Fetch all commits in creating changelog (6f22b096)
- Disable changelog creation script for now (5ef70c35)
- Reenable changelogensets (fb754d54)
⚠️ Read .env.test + allow overriding with nuxt.dotenv (#655)⚠️ Ignore query params when checking if an endpoint is mocked (c1f8890b)⚠️ Load nuxt app within setupFiles (#260)⚠️ Use /runtime subpath export (de9a2a81)⚠️ Drop support for vitest < 0.34 (#654)
- Daniel Roe daniel@roe.dev
- Harlan Wilton (@harlan-zw)
- Tim Van Den Eijnden
- Juho Rutila (@nice-game-hints)
- Ola Alsaker (@OlaAlsaker)
- Erikwu
- Yasser Lahbibi (@yassilah)
- Pooya Parsa pyapar@gmail.com
- Julien Huang (@huang-julien)
- Niko-chaffinchicas
- Oskar Olsson
- Aapo Kiiso (@aapokiiso)
- Anthony Fu anthonyfu117@hotmail.com
- Ryoji-yamauchi-blc
- Enkot (@enkot)
- 邓超 (@DevDengChao)
- Vasily Kuzin (@ExEr7um)
- Maarten Van Hunsel
- Odynn Aguilar fenix_xg0d@outlook.com
- Floriankapaun
- Mark Van Alphen (@mvanalphen)
- Ghazi Alhouwari
- Paul Melero