antfu/eslint-config (@antfu/eslint-config)
### [`v2.8.3`](https://togithub.com/antfu/eslint-config/releases/tag/v2.8.3)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v2.8.2...v2.8.3)
##### 🚀 Features
- Improve cli - by [@injurka](https://togithub.com/injurka) and [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/420](https://togithub.com/antfu/eslint-config/issues/420) [(bc13b)](https://togithub.com/antfu/eslint-config/commit/bc13ba5)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v2.8.2...v2.8.3)
### [`v2.8.2`](https://togithub.com/antfu/eslint-config/releases/tag/v2.8.2)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v2.8.1...v2.8.2)
##### 🐞 Bug Fixes
- Cli-suggest-remove-files - by [@injurka](https://togithub.com/injurka) in [https://github.com/antfu/eslint-config/issues/418](https://togithub.com/antfu/eslint-config/issues/418) [(30229)](https://togithub.com/antfu/eslint-config/commit/30229d3)
- Ignore `.yarn` folder - by [@HigherOrderLogic](https://togithub.com/HigherOrderLogic) in [https://github.com/antfu/eslint-config/issues/421](https://togithub.com/antfu/eslint-config/issues/421) [(d41a5)](https://togithub.com/antfu/eslint-config/commit/d41a5f0)
- **import/newline-after-import**: Disable `considerComment` option - by [@antfu](https://togithub.com/antfu) [(80f8e)](https://togithub.com/antfu/eslint-config/commit/80f8e95)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v2.8.1...v2.8.2)
### [`v2.8.1`](https://togithub.com/antfu/eslint-config/releases/tag/v2.8.1)
[Compare Source](https://togithub.com/antfu/eslint-config/compare/v2.8.0...v2.8.1)
##### 🚀 Features
- Upgrade vue and ts plugins - by [@antfu](https://togithub.com/antfu) [(e36ed)](https://togithub.com/antfu/eslint-config/commit/e36ed66)
##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v2.8.0...v2.8.1)
nuxt/nuxt (@nuxt/kit)
### [`v3.11.0`](https://togithub.com/nuxt/nuxt/releases/tag/v3.11.0)
[Compare Source](https://togithub.com/nuxt/nuxt/compare/v3.10.3...v3.11.0)
##### 👀 Highlights
This is possibly the last minor release before Nuxt v4, and so we've packed it full of features and improvements we hope will delight you! ✨
##### 🪵 Better logging
When developing a Nuxt application and using `console.log` in your application, you may have noticed that these logs are not displayed in your browser console when refreshing the page (during server-side rendering). This can be frustrating, as it makes it difficult to debug your application. This is now a thing of the past!
Now, when you have server logs associated with a request, they will be bundled up and passed to the client and displayed in your browser console. [Asynchronous context](https://nodejs.org/docs/latest-v20.x/api/async_context.html) is used to track and associate these logs with the request that triggered them. ([#25936](https://togithub.com/nuxt/nuxt/pull/25936)).
For example, this code:
```vue [pages/index.vue]
```
will now log to your browser console when you refresh the page:
```bash
Log from index page
[ssr] Log inside useAsyncData
at pages/index.vue
```
👉 We also plan to support streaming of subsequent logs to the Nuxt DevTools in future.
We've also added a `dev:ssr-logs` hook (both in Nuxt and Nitro) which is called on server and client, allowing you to handle them yourself if you want to.
If you encounter any issues with this, it is possible to disable them - or prevent them from logging to your browser console.
```ts [nuxt.config.ts]
export default defineNuxtConfig({
features: {
devLogs: false
// or 'silent' to allow you to handle yourself with `dev:ssr-logs` hook
},
})
```
##### 🎨 Preview mode
A new `usePreviewMode` composable aims to make it simple to use preview mode in your Nuxt app.
```ts [plugins/test.client.ts]
const { enabled, state } = usePreviewMode()
```
When preview mode is enabled, all your data fetching composables, like `useAsyncData` and `useFetch` will rerun, meaning any cached data in the payload will be bypassed.
[Read more in the docs](https://nuxt.com/docs/api/composables/use-preview-mode).
##### 💰 Cache-busting payloads
We now automatically cache-bust your payloads if you haven't disabled Nuxt's app manifest, meaning you shouldn't be stuck with outdated data after a deployment.
##### 👮♂️ Middleware `routeRules`
It's now possible to define middleware for page paths within the Vue app part of your application (that is, not your Nitro routes) ([#25841](https://togithub.com/nuxt/nuxt/pull/25841)).
```ts [nuxt.config.ts]
export default defineNuxtConfig({
routeRules: {
'/admin/**': {
// or appMiddleware: 'auth'
appMiddleware: ['auth']
},
'/admin/login': {
// You can 'turn off' middleware that would otherwise run for a page
appMiddleware: {
auth: false
}
},
},
})
```
##### ⌫ New `clear` data fetching utility
Now, `useAsyncData` and `useFetch` expose a `clear` utility. This is a function that can be used to set `data` to undefined, set `error` to `null`, set `pending` to `false`, set `status` to `idle`, and mark any currently pending requests as cancelled. ([#26259](https://togithub.com/nuxt/nuxt/pull/26259))
```vue
```
##### 🕳️ New `#teleports` target
Nuxt now includes a new `` element in your app within your `` tag. It supports server-side teleports, meaning you can do this safely on the server:
```vue
Something
```
##### 🚦 Loading indicator and transition controls
It's now possible to set custom timings for hiding the loading indicator, and forcing the `finish()` method if needed ([#25932](https://togithub.com/nuxt/nuxt/pull/25932)).
There's also a new `page:view-transition:start` hook for hooking into the View Transitions API ([#26045](https://togithub.com/nuxt/nuxt/pull/26045)) if you have that feature enabled.
##### 🛍️ Server- and client-only pages
This release sees server- and client-only pages land in Nuxt! You can now add a `.server.vue` or `.client.vue` suffix to a page to get automatic handling of it.
**Client-only pages** will render entirely on the client-side, and skip server-rendering entirely, just as if the entire page was wrapped in ``. Use this responsibly. The flash of load on the client-side can be a bad user experience so make sure you really need to avoid server-side loading. Also consider using `` with a `fallback` slot to render a skeleton loader ([#25037](https://togithub.com/nuxt/nuxt/pull/25037)).
⚗️ **Server-only pages** are even more useful because they enable you to integrate fully-server rendered HTML within client-side navigation. They will even be prefetched when links to them are in the viewport - so you will get instantaneous loading ([#24954](https://togithub.com/nuxt/nuxt/pull/24954)).
##### 🤠 Server component bonanza
When you are using server components, you can now use the `nuxt-client` attribute anywhere within your tree ([#25479](https://togithub.com/nuxt/nuxt/pull/25479)).
```ts
export default defineNuxtConfig({
experimental: {
componentIslands: {
selectiveClient: 'deep'
}
},
})
```
You can listen to an `@error` event from server components that will be triggered if there is any issue loading the component ([#25798](https://togithub.com/nuxt/nuxt/pull/25798)).
Finally, server-only components are now smartly enabled when you have a server-only component or a server-only page within your project or any of its layers ([#26223](https://togithub.com/nuxt/nuxt/pull/26223)).
> \[!WARNING]\
> Server components remain experimental and their API may change, so be careful
> before depending on implementation details.
##### 🔥 Performance improvements
We've shipped a number of performance improvements, including only updating changed virtual templates ([#26250](https://togithub.com/nuxt/nuxt/pull/26250)), using a 'layered' prerender cache ([#26104](https://togithub.com/nuxt/nuxt/pull/26104)) that falls back to filesystem instead of keeping everything in memory when prerendering - and lots of other examples.
##### 📂 Public assets handling
We have shipped a reimplementation of Vite's public asset handling, meaning that public assets in your `public/` directory or your layer directories are now resolved entirely by Nuxt ([#26163](https://togithub.com/nuxt/nuxt/pull/26163)), so if you have added `nitro.publicAssets` directories with a custom prefix, these will now work.
##### 📦 Chunk naming
We have changed the default `_nuxt/[name].[hash].js` file name pattern for your JS chunks. Now, we default to `_nuxt/[hash].js`. This is to avoid false positives by ad blockers triggering off your component or chunk names, which can be a very difficult issue to debug. ([#26203](https://togithub.com/nuxt/nuxt/pull/26203))
You can easily configure this to revert to previous behaviour if you wish:
```ts
export default defineNuxtConfig({
vite: {
$client: {
build: {
rollupOptions: {
output: {
chunkFileNames: '_nuxt/[name].[hash].js',
entryFileNames: '_nuxt/[name].[hash].js'
}
}
}
}
},
})
```
##### 💪 Type fixes
Previously users with `shamefully-hoist=false` may have encountered issues with types not being resolved or working correctly. You may also have encountered problems with excessive type instantiation.
We now try to tell TypeScript about certain key types so they can be resolved even if deeply nested ([#26158](https://togithub.com/nuxt/nuxt/pull/26158)).
There are a whole raft of other type fixes, including some regarding import types ([#26218](https://togithub.com/nuxt/nuxt/pull/26218) and [#25965](https://togithub.com/nuxt/nuxt/pull/25965)) and module typings ([#25548](https://togithub.com/nuxt/nuxt/pull/25548)).
##### ✅ Upgrading
As usual, our recommendation for upgrading is to run:
```sh
nuxi upgrade --force
```
This will refresh your lockfile as well, and ensures that you pull in updates from other dependencies that Nuxt relies on, particularly in the unjs ecosystem.
##### 👉 Changelog
[compare changes](https://togithub.com/nuxt/nuxt/compare/v3.10.3...v3.11.0)
##### 🚀 Enhancements
- **nuxt:** Server-only pages ([#24954](https://togithub.com/nuxt/nuxt/pull/24954))
- **nuxt:** Client-only pages ([#25037](https://togithub.com/nuxt/nuxt/pull/25037))
- **nuxt:** Allow using `nuxt-client` in all components ([#25479](https://togithub.com/nuxt/nuxt/pull/25479))
- **nuxt:** Add `page:view-transition:start` hook ([#26045](https://togithub.com/nuxt/nuxt/pull/26045))
- **nuxt:** Custom loading reset/hide delay + force `finish()` ([#25932](https://togithub.com/nuxt/nuxt/pull/25932))
- **nuxt:** Emit error if `` can't fetch island ([#25798](https://togithub.com/nuxt/nuxt/pull/25798))
- **nuxt:** `usePreviewMode` composable ([#21705](https://togithub.com/nuxt/nuxt/pull/21705))
- **nuxt:** Support async transforms for data composables ([#26154](https://togithub.com/nuxt/nuxt/pull/26154))
- **nuxt:** Add dedicated `#teleports` element for ssr teleports ([#25043](https://togithub.com/nuxt/nuxt/pull/25043))
- **nuxt:** Enable islands if server pages/components present ([#26223](https://togithub.com/nuxt/nuxt/pull/26223))
- **nuxt:** Allow generating metadata for nuxt components ([#26204](https://togithub.com/nuxt/nuxt/pull/26204))
- **vite:** Handle multiple/custom public dirs ([#26163](https://togithub.com/nuxt/nuxt/pull/26163))
- **schema:** Allow configuring type hoists with `typescript.hoist` ([85166cced](https://togithub.com/nuxt/nuxt/commit/85166cced))
- **nuxt:** Pass nuxt instance to `getCachedData` ([#26287](https://togithub.com/nuxt/nuxt/pull/26287))
- **nuxt:** Pass server logs to client ([#25936](https://togithub.com/nuxt/nuxt/pull/25936))
- **nuxt:** Add `nuxtMiddleware` route rule ([#25841](https://togithub.com/nuxt/nuxt/pull/25841))
- **nuxt:** Add `clear` utility to `useAsyncData`/`useFetch` ([#26259](https://togithub.com/nuxt/nuxt/pull/26259))
##### 🔥 Performance
- Early return chained functions with falsy values ([#25647](https://togithub.com/nuxt/nuxt/pull/25647))
- **nuxt:** Don't check `isPrerendered` in dev for server page ([#26061](https://togithub.com/nuxt/nuxt/pull/26061))
- **nuxt:** Use fallthrough cache for prerender ([#26104](https://togithub.com/nuxt/nuxt/pull/26104))
- **nuxt:** Tree shake island renderer ([8323220f7](https://togithub.com/nuxt/nuxt/commit/8323220f7))
- **nuxt:** Skip adding selective-client code if not enabled ([#26176](https://togithub.com/nuxt/nuxt/pull/26176))
- **nuxt:** Use faster approach to check cache exists ([#26172](https://togithub.com/nuxt/nuxt/pull/26172))
- **nuxt:** Only update changed templates ([#26250](https://togithub.com/nuxt/nuxt/pull/26250))
##### 🩹 Fixes
- **kit:** Apply nuxt types to `.config/nuxt.config` ([5440ecece](https://togithub.com/nuxt/nuxt/commit/5440ecece))
- **kit:** Widen pattern to `.config/nuxt.*` ([7815aa534](https://togithub.com/nuxt/nuxt/commit/7815aa534))
- **nuxt:** Align `error` in `showError`/`createError` with h3 ([#25945](https://togithub.com/nuxt/nuxt/pull/25945))
- **kit:** Don't warn if middleware is added twice ([08b656a04](https://togithub.com/nuxt/nuxt/commit/08b656a04))
- **nuxt:** Don't try to strip directory file extensions ([#25965](https://togithub.com/nuxt/nuxt/pull/25965))
- **nuxt:** Produce valid css selector from `useId` ([#25969](https://togithub.com/nuxt/nuxt/pull/25969))
- **schema:** Add `vueCompilerOptions` property to `tsConfig` ([#25924](https://togithub.com/nuxt/nuxt/pull/25924))
- **nuxt:** Skip vue style blocks in unctx transform ([#26059](https://togithub.com/nuxt/nuxt/pull/26059))
- **nuxt:** Pass event to `useRuntimeConfig` in Nuxt renderer ([#26058](https://togithub.com/nuxt/nuxt/pull/26058))
- **schema:** Disable `typescript.shim` in favour of volar ([#26052](https://togithub.com/nuxt/nuxt/pull/26052))
- **nuxt:** Only check if server page is prerendered on client ([#26081](https://togithub.com/nuxt/nuxt/pull/26081))
- **nuxt:** Don't refetch server components in initial html ([#26089](https://togithub.com/nuxt/nuxt/pull/26089))
- **nuxt:** Resolve `defu`/`h3` paths in type templates ([#26085](https://togithub.com/nuxt/nuxt/pull/26085))
- **nuxt:** Use exported `toExports` from `unimport` ([#26086](https://togithub.com/nuxt/nuxt/pull/26086))
- **nuxt:** Cache-bust payloads with build id ([#26068](https://togithub.com/nuxt/nuxt/pull/26068))
- **nuxt:** Export `AsyncDataRequestStatus` type ([#26023](https://togithub.com/nuxt/nuxt/pull/26023))
- **nuxt:** Add space before `` and `` attrs ([#26027](https://togithub.com/nuxt/nuxt/pull/26027))
- **kit:** Resolve module `node_modules` for `modulesDir` ([#25548](https://togithub.com/nuxt/nuxt/pull/25548))
- **nuxt:** Handle external redirects from `routeRules` ([#26120](https://togithub.com/nuxt/nuxt/pull/26120))
- **nuxt:** Use flat cache directory for prerender data ([47cdd7dd0](https://togithub.com/nuxt/nuxt/commit/47cdd7dd0))
- **nuxt:** Watch custom `cookieRef` values deeply ([#26151](https://togithub.com/nuxt/nuxt/pull/26151))
- **nuxt:** Access prerender cache synchronously ([#26146](https://togithub.com/nuxt/nuxt/pull/26146))
- **nuxt:** Provide typescript aliases for core packages ([#26158](https://togithub.com/nuxt/nuxt/pull/26158))
- **nuxt:** Handle errors resolving package paths ([63bfaac12](https://togithub.com/nuxt/nuxt/commit/63bfaac12))
- **kit:** Handle errors resolving module path ([3782ac0a2](https://togithub.com/nuxt/nuxt/commit/3782ac0a2))
- **nuxt:** Clone paths to prevent shared object ([264bf9833](https://togithub.com/nuxt/nuxt/commit/264bf9833))
- **nuxt:** Detect component usage within `ssrRender` ([#26162](https://togithub.com/nuxt/nuxt/pull/26162))
- **nuxt:** Improved plugin annotating warnings ([#26193](https://togithub.com/nuxt/nuxt/pull/26193))
- **nuxt:** Generate typed routes after pages are scanned ([#26206](https://togithub.com/nuxt/nuxt/pull/26206))
- **nuxt:** Only strip supported extensions when generating import types ([#26218](https://togithub.com/nuxt/nuxt/pull/26218))
- **nuxt:** Init payload when using islands with `ssr: false` ([f080c426a](https://togithub.com/nuxt/nuxt/commit/f080c426a))
- **nuxt:** Register/scan plugins with jsx/tsx extensions ([#26230](https://togithub.com/nuxt/nuxt/pull/26230))
- **nuxt:** Update auto imports after other templates ([#26249](https://togithub.com/nuxt/nuxt/pull/26249))
- **nuxt:** Respect `baseUrl` within server components ([#25727](https://togithub.com/nuxt/nuxt/pull/25727))
- **nuxt:** Access shared asyncData state with `useNuxtData` ([#22277](https://togithub.com/nuxt/nuxt/pull/22277))
- **vite:** Explicitly import `publicAssetsURL` ([9d08cdfd1](https://togithub.com/nuxt/nuxt/commit/9d08cdfd1))
- **nuxt:** Don't ignore any files from `buildAssetsDir` ([81933dfc3](https://togithub.com/nuxt/nuxt/commit/81933dfc3))
- **vite:** Drop name prefix for client chunk file names ([#26203](https://togithub.com/nuxt/nuxt/pull/26203))
- **kit:** Clone middleware when adding to app ([5be9253cf](https://togithub.com/nuxt/nuxt/commit/5be9253cf))
- **nuxt:** Don't generate separate chunk for stubs ([#26291](https://togithub.com/nuxt/nuxt/pull/26291))
- **nuxt:** Use `joinRelativeURL` for build assets ([#26282](https://togithub.com/nuxt/nuxt/pull/26282))
- **schema:** Allow passing `deep` to `selectiveClient` ([357f8db41](https://togithub.com/nuxt/nuxt/commit/357f8db41))
- **schema:** Don't hoist types for `consola` for now ([adbd53a25](https://togithub.com/nuxt/nuxt/commit/adbd53a25))
- **nuxt:** Guard `window` access more carefully ([977377777](https://togithub.com/nuxt/nuxt/commit/977377777))
- **nuxt:** Provide appMiddleware types with universal router ([87c0678f9](https://togithub.com/nuxt/nuxt/commit/87c0678f9))
- **nuxt:** Handle nightly releases for hoisted types ([3c7e68c84](https://togithub.com/nuxt/nuxt/commit/3c7e68c84))
##### 💅 Refactors
- **nuxt:** Simplify `request` computation ([#26191](https://togithub.com/nuxt/nuxt/pull/26191))
- **nuxt:** Rename `nuxtMiddleware` to `appMiddleware` ([cac745470](https://togithub.com/nuxt/nuxt/commit/cac745470))
- **nuxt:** Use addTypeTemplate for page augmentations ([4925670dc](https://togithub.com/nuxt/nuxt/commit/4925670dc))
- **nuxt:** Use addTypeTemplate in more places ([33ce71dd1](https://togithub.com/nuxt/nuxt/commit/33ce71dd1))
##### 📖 Documentation
- Mention when `useId` composable was introduced ([#25953](https://togithub.com/nuxt/nuxt/pull/25953))
- Add `domEnvironment` option to testing example ([#25972](https://togithub.com/nuxt/nuxt/pull/25972))
- Update VS Code settings ([#25985](https://togithub.com/nuxt/nuxt/pull/25985))
- Mention island features are SFC only ([#26013](https://togithub.com/nuxt/nuxt/pull/26013))
- Improve pick and transform doc ([#26043](https://togithub.com/nuxt/nuxt/pull/26043))
- Fix 404 link ([8e6d2306c](https://togithub.com/nuxt/nuxt/commit/8e6d2306c))
- Add Nuxt Fonts to changelog ([#26077](https://togithub.com/nuxt/nuxt/pull/26077))
- Update roadmap ([#26072](https://togithub.com/nuxt/nuxt/pull/26072))
- Document `fallback` prop for `` ([#26091](https://togithub.com/nuxt/nuxt/pull/26091))
- Add documentation for using layers with private repos ([#26094](https://togithub.com/nuxt/nuxt/pull/26094))
- Remove twoslash from code sample ([0bf70bd7a](https://togithub.com/nuxt/nuxt/commit/0bf70bd7a))
- Update cssnano website url ([d6edb30c5](https://togithub.com/nuxt/nuxt/commit/d6edb30c5))
- Add warning about latest `vue-tsc` ([#26083](https://togithub.com/nuxt/nuxt/pull/26083))
- Improve readme readability ([#26118](https://togithub.com/nuxt/nuxt/pull/26118))
- Added bridge `macros.pageMeta` and `typescript.esbuild` option ([#26136](https://togithub.com/nuxt/nuxt/pull/26136))
- Fix bracket escape on `definePageMeta` page ([#26139](https://togithub.com/nuxt/nuxt/pull/26139))
- Add `app:manifest:update` hook ([#26192](https://togithub.com/nuxt/nuxt/pull/26192))
- Add cache.varies docs for multi-tenant use case ([#26197](https://togithub.com/nuxt/nuxt/pull/26197))
- Add mentions on Vue School tutorials ([#25997](https://togithub.com/nuxt/nuxt/pull/25997))
- Update link to `zhead` ([e889a7df5](https://togithub.com/nuxt/nuxt/commit/e889a7df5))
- Added modular architecture use case for Layers ([#26240](https://togithub.com/nuxt/nuxt/pull/26240))
- Escape 'elements' in jsdoc comments ([5c6dc4c14](https://togithub.com/nuxt/nuxt/commit/5c6dc4c14))
- Use a more common word ([#26276](https://togithub.com/nuxt/nuxt/pull/26276))
- Split a sentence in two to improve readability ([#26279](https://togithub.com/nuxt/nuxt/pull/26279))
- Removed unused composable example ([#26283](https://togithub.com/nuxt/nuxt/pull/26283))
- Add more keywords for reducer/reviver docs ([6b1f3438b](https://togithub.com/nuxt/nuxt/commit/6b1f3438b))
- Link to pinceau repo rather than website ([#26286](https://togithub.com/nuxt/nuxt/pull/26286))
- Add link to ofetch repo ([#26284](https://togithub.com/nuxt/nuxt/pull/26284))
- Improve section titles in error-handling docs ([#26288](https://togithub.com/nuxt/nuxt/pull/26288))
- Add example for `clear` ([24217a992](https://togithub.com/nuxt/nuxt/commit/24217a992))
- Add docs about playwright runner support ([115298a44](https://togithub.com/nuxt/nuxt/commit/115298a44))
- Add some `appMiddleware` docs ([da8e8eba8](https://togithub.com/nuxt/nuxt/commit/da8e8eba8))
##### 🏡 Chore
- Use consistent quotes/semi ([5e5e96992](https://togithub.com/nuxt/nuxt/commit/5e5e96992))
- Add tea.yml (experimental) ([36e77c885](https://togithub.com/nuxt/nuxt/commit/36e77c885))
- Remove second twoslash prop too 🤔 ([1b2c55765](https://togithub.com/nuxt/nuxt/commit/1b2c55765))
- Update .npmrc ([#26135](https://togithub.com/nuxt/nuxt/pull/26135))
- Add back stylistic rules and lint project ([7252b56d5](https://togithub.com/nuxt/nuxt/commit/7252b56d5))
- Remove trailing slash in issue template ([#26268](https://togithub.com/nuxt/nuxt/pull/26268))
- Bump ip and follow-redirects ([1dc51668a](https://togithub.com/nuxt/nuxt/commit/1dc51668a))
- Remove old code ([79ea75e72](https://togithub.com/nuxt/nuxt/commit/79ea75e72))
- Temporarily remove codspeed plugin ([beeda8acf](https://togithub.com/nuxt/nuxt/commit/beeda8acf))
- Tidy dependencies ([0fc363a4f](https://togithub.com/nuxt/nuxt/commit/0fc363a4f))
- Update knip schema ([d6ce3453c](https://togithub.com/nuxt/nuxt/commit/d6ce3453c))
- Do not export unused type ([c6aa61783](https://togithub.com/nuxt/nuxt/commit/c6aa61783))
- **nuxt:** Ensure type template has const filename ([1cae15a3a](https://togithub.com/nuxt/nuxt/commit/1cae15a3a))
##### ✅ Tests
- Use retryable assertion for `scrollY` ([#26298](https://togithub.com/nuxt/nuxt/pull/26298))
- Also run composables test with appManifest off ([205d0e2fa](https://togithub.com/nuxt/nuxt/commit/205d0e2fa))
- Remove wait for `networkidle` ([9b5bffbbb](https://togithub.com/nuxt/nuxt/commit/9b5bffbbb))
- Use locator assertion for body text ([3d77e267d](https://togithub.com/nuxt/nuxt/commit/3d77e267d))
- Use function assertion for second scrollY test ([d981c056d](https://togithub.com/nuxt/nuxt/commit/d981c056d))
- Add type test for appMiddleware route rules ([70669012f](https://togithub.com/nuxt/nuxt/commit/70669012f))
##### 🤖 CI
- Clean up pr cache when it is merged ([#25873](https://togithub.com/nuxt/nuxt/pull/25873))
- Skip checking stackoverflow link ([0a8c3444a](https://togithub.com/nuxt/nuxt/commit/0a8c3444a))
- Fix lychee configuration ([375bd64c5](https://togithub.com/nuxt/nuxt/commit/375bd64c5))
- Run lint step after bundle test ([c3c9c4b2a](https://togithub.com/nuxt/nuxt/commit/c3c9c4b2a))
- Release in ci when a v3 tag is pushed ([c78c1161a](https://togithub.com/nuxt/nuxt/commit/c78c1161a))
- Do not cache Playwright browsers ([#26296](https://togithub.com/nuxt/nuxt/pull/26296))
##### ❤️ Contributors
- Daniel Roe ([@danielroe](https://togithub.com/danielroe))
- Damian Głowala ([@DamianGlowala](https://togithub.com/DamianGlowala))
- Horu ([@HigherOrderLogic](https://togithub.com/HigherOrderLogic))
- Max Schmitt ([@mxschmitt](https://togithub.com/mxschmitt))
- Tanvir Rahman ([@Tanvir-rahman](https://togithub.com/Tanvir-rahman))
- Julien Huang ([@huang-julien](https://togithub.com/huang-julien))
- Maik Kowol ([@94726](https://togithub.com/94726))
- Marc Cremer ([@marccremer](https://togithub.com/marccremer))
- OrbisK ([@OrbisK](https://togithub.com/OrbisK))
- Anthony Fu ([@antfu](https://togithub.com/antfu))
- Martins ([@martinszeltins](https://togithub.com/martinszeltins))
- Anthony Aslangul ([@toyi](https://togithub.com/toyi))
- Mehmet ([@productdevbook](https://togithub.com/productdevbook))
- Mostafa Said ([@MooseSaeed](https://togithub.com/MooseSaeed))
- Alex Liu ([@Mini-ghost](https://togithub.com/Mini-ghost))
- Adam DeHaven ([@adamdehaven](https://togithub.com/adamdehaven))
- Harlan Wilton ([@harlan-zw](https://togithub.com/harlan-zw))
- Alexander Lichter ([@manniL](https://togithub.com/manniL))
- k-karen ([@k-karen](https://togithub.com/k-karen))
- Ryota Watanabe ([@wattanx](https://togithub.com/wattanx))
- Antoine Zanardi ([@antoinezanardi](https://togithub.com/antoinezanardi))
- Sultanov Mirjamol ([@cljamal](https://togithub.com/cljamal))
- Bogdan Kostyuk ([@logotip4ik](https://togithub.com/logotip4ik))
- Divine ([@divine](https://togithub.com/divine))
- Horváth Bálint ([@horvbalint](https://togithub.com/horvbalint))
- i-udas ([@i-udas](https://togithub.com/i-udas))
- təəna.vuə ([@franklin-tina](https://togithub.com/franklin-tina))
- Andre van Tonder ([@drevantonder](https://togithub.com/drevantonder))
- Maxime Pauvert ([@maximepvrt](https://togithub.com/maximepvrt))
- Oumar Barry ([@oumarbarry](https://togithub.com/oumarbarry))
- Sébastien Chopin ([@Atinux](https://togithub.com/Atinux))
- Francesco Scutellaro ([@noppytinto](https://togithub.com/noppytinto))
- gangan ([@shinGangan](https://togithub.com/shinGangan))
- Andrea Basile ([@Evobaso-J](https://togithub.com/Evobaso-J))
- Till Sanders ([@tillsanders](https://togithub.com/tillsanders))
- Michael Brevard ([@GalacticHypernova](https://togithub.com/GalacticHypernova))
- Victor Ribeiro ([@ojvribeiro](https://togithub.com/ojvribeiro))
nuxt/test-utils (@nuxt/test-utils)
### [`v3.12.0`](https://togithub.com/nuxt/test-utils/blob/HEAD/CHANGELOG.md#v3120)
[Compare Source](https://togithub.com/nuxt/test-utils/compare/v3.11.0...v3.12.0)
[compare changes](https://togithub.com/nuxt/test-utils/compare/v3.11.0...v3.12.0)
##### 🚀 Enhancements
- **e2e:** Add `'route'`/`'hydration'` options for `page.goto()` ([#739](https://togithub.com/nuxt/test-utils/pull/739))
- **e2e:** Add `playwright` runner ([#776](https://togithub.com/nuxt/test-utils/pull/776))
##### 🩹 Fixes
- **config:** Remove nuxt's custom vite logger ([eca52f5c](https://togithub.com/nuxt/test-utils/commit/eca52f5c))
##### 🏡 Chore
- Force correct typing for e2e subpath ([9fd93a8c](https://togithub.com/nuxt/test-utils/commit/9fd93a8c))
- Don't run publish step separately ([0078d0bc](https://togithub.com/nuxt/test-utils/commit/0078d0bc))
##### 🤖 CI
- Remove caching of Playwright browsers ([#785](https://togithub.com/nuxt/test-utils/pull/785))
- Add release workflow ([76604ce0](https://togithub.com/nuxt/test-utils/commit/76604ce0))
- Update `changelogen` command ([e3368daf](https://togithub.com/nuxt/test-utils/commit/e3368daf))
- Add git user ([5aa95b02](https://togithub.com/nuxt/test-utils/commit/5aa95b02))
- Add contents permission ([cf6cd3a8](https://togithub.com/nuxt/test-utils/commit/cf6cd3a8))
- Rename some workflows ([7ea235e9](https://togithub.com/nuxt/test-utils/commit/7ea235e9))
- Do less in workflow ([1f664fc5](https://togithub.com/nuxt/test-utils/commit/1f664fc5))
##### ❤️ Contributors
- Daniel Roe ([@danielroe](http://github.com/danielroe))
- Max Schmitt ([@mxschmitt](http://github.com/mxschmitt))
toplenboren/simple-git-hooks (simple-git-hooks)
### [`v2.11.0`](https://togithub.com/toplenboren/simple-git-hooks/releases/tag/2.11.0)
[Compare Source](https://togithub.com/toplenboren/simple-git-hooks/compare/2.10.0...2.11.0)
#### What's Changed
- Add a note about not using `postinstall` to npm package developers by [@toplenboren](https://togithub.com/toplenboren) in [https://github.com/toplenboren/simple-git-hooks/pull/105](https://togithub.com/toplenboren/simple-git-hooks/pull/105)
- feat: support SKIP_INSTALL_SIMPLE_GIT_HOOKS env by [@JounQin](https://togithub.com/JounQin) in [https://github.com/toplenboren/simple-git-hooks/pull/107](https://togithub.com/toplenboren/simple-git-hooks/pull/107)
**Full Changelog**: https://github.com/toplenboren/simple-git-hooks/compare/2.10.0...2.11.0
vitest-dev/vitest (vitest)
### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0)
##### 🚀 Features
- Throw error when using snapshot assertion with `not` - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [(b9d37)](https://togithub.com/vitest-dev/vitest/commit/b9d378f5)
- Add a flag to include test location in tasks - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [(d627e)](https://togithub.com/vitest-dev/vitest/commit/d627e209)
- **cli**:
- Support wildcards in `--project` option - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [(201bd)](https://togithub.com/vitest-dev/vitest/commit/201bd067)
- **config**:
- Add `shuffle.files` and `shuffle.tests` options - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [(356db)](https://togithub.com/vitest-dev/vitest/commit/356db87b)
- Deprecate `cache.dir` option - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [(d7e8b)](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e)
- **coverage**:
- Support `--changed` option - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [(600b4)](https://togithub.com/vitest-dev/vitest/commit/600b44d6)
- **vitest**:
- Support `clearScreen` cli flag - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [(e1735)](https://togithub.com/vitest-dev/vitest/commit/e1735fb6)
##### 🐞 Bug Fixes
- Repeatable `--project` option - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [(d1a06)](https://togithub.com/vitest-dev/vitest/commit/d1a06730)
- `--inspect-brk` to pause before execution - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [(e77c5)](https://togithub.com/vitest-dev/vitest/commit/e77c553f)
- Correct locations in test.each tasks - by [@sheremet-va](https://togithub.com/sheremet-va) [(4f6e3)](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1)
- **api**:
- Use resolvedUrls from devserver - by [@saitonakamura](https://togithub.com/saitonakamura) and [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [(2fef5)](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e)
- **browser**:
- Add `magic-string` to `optimizeDeps.include` - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [(8f04e)](https://togithub.com/vitest-dev/vitest/commit/8f04e798)
- **coverage**:
- Expensive regexp hangs v8 report generation - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [(d68a7)](https://togithub.com/vitest-dev/vitest/commit/d68a7390)
- V8 to ignore type-only files - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [(c3eb8)](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb)
- Respect source maps of pre-transpiled sources - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [(6eda4)](https://togithub.com/vitest-dev/vitest/commit/6eda473f)
- Prevent `reportsDirectory` from removing user's project - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [(07ec3)](https://togithub.com/vitest-dev/vitest/commit/07ec3779)
- **expect**:
- Show diff on `toContain/toMatch` assertion error - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [(8ee59)](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d)
- **forks**:
- Wrap `defines` to support `undefined` values - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [(5b58b)](https://togithub.com/vitest-dev/vitest/commit/5b58b399)
- **typecheck**:
- Update get-tsconfig 4.7.3 to fix false circularity error - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [(bdc37)](https://togithub.com/vitest-dev/vitest/commit/bdc371ee)
- **ui**:
- Escape html in error diff - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [(ab60b)](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d)
- **vitest**:
- Loosen `onConsoleLog` return type - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [(6d1b1)](https://togithub.com/vitest-dev/vitest/commit/6d1b1451)
- Ensure restoring terminal cursor on close - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [(0bea2)](https://togithub.com/vitest-dev/vitest/commit/0bea2247)
- Ignore timeout on websocket reporter rpc - by [@sheremet-va](https://togithub.com/sheremet-va) [(38119)](https://togithub.com/vitest-dev/vitest/commit/38119b75)
- Correctly override api with --no-api flag - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [(51d1d)](https://togithub.com/vitest-dev/vitest/commit/51d1d472)
- Logs in `beforeAll` and `afterAll` - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [(ce5ca)](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf)
- **workspace**:
- Throw error when browser mode and `@vitest/coverage-v8` are used - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [(29f98)](https://togithub.com/vitest-dev/vitest/commit/29f98cd3)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^2.8.0
->^2.8.3
^3.10.3
->^3.11.0
^3.10.3
->^3.11.0
^3.11.0
->^3.12.0
^20.11.25
->^20.11.28
^3.10.3
->^3.11.0
^2.10.0
->^2.11.0
^1.3.1
->^1.4.0
Release Notes
antfu/eslint-config (@antfu/eslint-config)
### [`v2.8.3`](https://togithub.com/antfu/eslint-config/releases/tag/v2.8.3) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v2.8.2...v2.8.3) ##### 🚀 Features - Improve cli - by [@injurka](https://togithub.com/injurka) and [@antfu](https://togithub.com/antfu) in [https://github.com/antfu/eslint-config/issues/420](https://togithub.com/antfu/eslint-config/issues/420) [(bc13b)](https://togithub.com/antfu/eslint-config/commit/bc13ba5) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v2.8.2...v2.8.3) ### [`v2.8.2`](https://togithub.com/antfu/eslint-config/releases/tag/v2.8.2) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v2.8.1...v2.8.2) ##### 🐞 Bug Fixes - Cli-suggest-remove-files - by [@injurka](https://togithub.com/injurka) in [https://github.com/antfu/eslint-config/issues/418](https://togithub.com/antfu/eslint-config/issues/418) [(30229)](https://togithub.com/antfu/eslint-config/commit/30229d3) - Ignore `.yarn` folder - by [@HigherOrderLogic](https://togithub.com/HigherOrderLogic) in [https://github.com/antfu/eslint-config/issues/421](https://togithub.com/antfu/eslint-config/issues/421) [(d41a5)](https://togithub.com/antfu/eslint-config/commit/d41a5f0) - **import/newline-after-import**: Disable `considerComment` option - by [@antfu](https://togithub.com/antfu) [(80f8e)](https://togithub.com/antfu/eslint-config/commit/80f8e95) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v2.8.1...v2.8.2) ### [`v2.8.1`](https://togithub.com/antfu/eslint-config/releases/tag/v2.8.1) [Compare Source](https://togithub.com/antfu/eslint-config/compare/v2.8.0...v2.8.1) ##### 🚀 Features - Upgrade vue and ts plugins - by [@antfu](https://togithub.com/antfu) [(e36ed)](https://togithub.com/antfu/eslint-config/commit/e36ed66) ##### [View changes on GitHub](https://togithub.com/antfu/eslint-config/compare/v2.8.0...v2.8.1)nuxt/nuxt (@nuxt/kit)
### [`v3.11.0`](https://togithub.com/nuxt/nuxt/releases/tag/v3.11.0) [Compare Source](https://togithub.com/nuxt/nuxt/compare/v3.10.3...v3.11.0) ##### 👀 Highlights This is possibly the last minor release before Nuxt v4, and so we've packed it full of features and improvements we hope will delight you! ✨ ##### 🪵 Better logging When developing a Nuxt application and using `console.log` in your application, you may have noticed that these logs are not displayed in your browser console when refreshing the page (during server-side rendering). This can be frustrating, as it makes it difficult to debug your application. This is now a thing of the past! Now, when you have server logs associated with a request, they will be bundled up and passed to the client and displayed in your browser console. [Asynchronous context](https://nodejs.org/docs/latest-v20.x/api/async_context.html) is used to track and associate these logs with the request that triggered them. ([#25936](https://togithub.com/nuxt/nuxt/pull/25936)). For example, this code: ```vue [pages/index.vue] ``` will now log to your browser console when you refresh the page: ```bash Log from index page [ssr] Log inside useAsyncData at pages/index.vue ``` 👉 We also plan to support streaming of subsequent logs to the Nuxt DevTools in future. We've also added a `dev:ssr-logs` hook (both in Nuxt and Nitro) which is called on server and client, allowing you to handle them yourself if you want to. If you encounter any issues with this, it is possible to disable them - or prevent them from logging to your browser console. ```ts [nuxt.config.ts] export default defineNuxtConfig({ features: { devLogs: false // or 'silent' to allow you to handle yourself with `dev:ssr-logs` hook }, }) ``` ##### 🎨 Preview mode A new `usePreviewMode` composable aims to make it simple to use preview mode in your Nuxt app. ```ts [plugins/test.client.ts] const { enabled, state } = usePreviewMode() ``` When preview mode is enabled, all your data fetching composables, like `useAsyncData` and `useFetch` will rerun, meaning any cached data in the payload will be bypassed. [Read more in the docs](https://nuxt.com/docs/api/composables/use-preview-mode). ##### 💰 Cache-busting payloads We now automatically cache-bust your payloads if you haven't disabled Nuxt's app manifest, meaning you shouldn't be stuck with outdated data after a deployment. ##### 👮♂️ Middleware `routeRules` It's now possible to define middleware for page paths within the Vue app part of your application (that is, not your Nitro routes) ([#25841](https://togithub.com/nuxt/nuxt/pull/25841)). ```ts [nuxt.config.ts] export default defineNuxtConfig({ routeRules: { '/admin/**': { // or appMiddleware: 'auth' appMiddleware: ['auth'] }, '/admin/login': { // You can 'turn off' middleware that would otherwise run for a page appMiddleware: { auth: false } }, }, }) ``` ##### ⌫ New `clear` data fetching utility Now, `useAsyncData` and `useFetch` expose a `clear` utility. This is a function that can be used to set `data` to undefined, set `error` to `null`, set `pending` to `false`, set `status` to `idle`, and mark any currently pending requests as cancelled. ([#26259](https://togithub.com/nuxt/nuxt/pull/26259)) ```vue ``` ##### 🕳️ New `#teleports` target Nuxt now includes a new `` element in your app within your `` tag. It supports server-side teleports, meaning you can do this safely on the server: ```vuenuxt/test-utils (@nuxt/test-utils)
### [`v3.12.0`](https://togithub.com/nuxt/test-utils/blob/HEAD/CHANGELOG.md#v3120) [Compare Source](https://togithub.com/nuxt/test-utils/compare/v3.11.0...v3.12.0) [compare changes](https://togithub.com/nuxt/test-utils/compare/v3.11.0...v3.12.0) ##### 🚀 Enhancements - **e2e:** Add `'route'`/`'hydration'` options for `page.goto()` ([#739](https://togithub.com/nuxt/test-utils/pull/739)) - **e2e:** Add `playwright` runner ([#776](https://togithub.com/nuxt/test-utils/pull/776)) ##### 🩹 Fixes - **config:** Remove nuxt's custom vite logger ([eca52f5c](https://togithub.com/nuxt/test-utils/commit/eca52f5c)) ##### 🏡 Chore - Force correct typing for e2e subpath ([9fd93a8c](https://togithub.com/nuxt/test-utils/commit/9fd93a8c)) - Don't run publish step separately ([0078d0bc](https://togithub.com/nuxt/test-utils/commit/0078d0bc)) ##### 🤖 CI - Remove caching of Playwright browsers ([#785](https://togithub.com/nuxt/test-utils/pull/785)) - Add release workflow ([76604ce0](https://togithub.com/nuxt/test-utils/commit/76604ce0)) - Update `changelogen` command ([e3368daf](https://togithub.com/nuxt/test-utils/commit/e3368daf)) - Add git user ([5aa95b02](https://togithub.com/nuxt/test-utils/commit/5aa95b02)) - Add contents permission ([cf6cd3a8](https://togithub.com/nuxt/test-utils/commit/cf6cd3a8)) - Rename some workflows ([7ea235e9](https://togithub.com/nuxt/test-utils/commit/7ea235e9)) - Do less in workflow ([1f664fc5](https://togithub.com/nuxt/test-utils/commit/1f664fc5)) ##### ❤️ Contributors - Daniel Roe ([@danielroe](http://github.com/danielroe)) - Max Schmitt ([@mxschmitt](http://github.com/mxschmitt))toplenboren/simple-git-hooks (simple-git-hooks)
### [`v2.11.0`](https://togithub.com/toplenboren/simple-git-hooks/releases/tag/2.11.0) [Compare Source](https://togithub.com/toplenboren/simple-git-hooks/compare/2.10.0...2.11.0) #### What's Changed - Add a note about not using `postinstall` to npm package developers by [@toplenboren](https://togithub.com/toplenboren) in [https://github.com/toplenboren/simple-git-hooks/pull/105](https://togithub.com/toplenboren/simple-git-hooks/pull/105) - feat: support SKIP_INSTALL_SIMPLE_GIT_HOOKS env by [@JounQin](https://togithub.com/JounQin) in [https://github.com/toplenboren/simple-git-hooks/pull/107](https://togithub.com/toplenboren/simple-git-hooks/pull/107) **Full Changelog**: https://github.com/toplenboren/simple-git-hooks/compare/2.10.0...2.11.0vitest-dev/vitest (vitest)
### [`v1.4.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.4.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0) ##### 🚀 Features - Throw error when using snapshot assertion with `not` - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5294](https://togithub.com/vitest-dev/vitest/issues/5294) [(b9d37)](https://togithub.com/vitest-dev/vitest/commit/b9d378f5) - Add a flag to include test location in tasks - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5342](https://togithub.com/vitest-dev/vitest/issues/5342) [(d627e)](https://togithub.com/vitest-dev/vitest/commit/d627e209) - **cli**: - Support wildcards in `--project` option - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5295](https://togithub.com/vitest-dev/vitest/issues/5295) [(201bd)](https://togithub.com/vitest-dev/vitest/commit/201bd067) - **config**: - Add `shuffle.files` and `shuffle.tests` options - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5281](https://togithub.com/vitest-dev/vitest/issues/5281) [(356db)](https://togithub.com/vitest-dev/vitest/commit/356db87b) - Deprecate `cache.dir` option - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5229](https://togithub.com/vitest-dev/vitest/issues/5229) [(d7e8b)](https://togithub.com/vitest-dev/vitest/commit/d7e8b53e) - **coverage**: - Support `--changed` option - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5314](https://togithub.com/vitest-dev/vitest/issues/5314) [(600b4)](https://togithub.com/vitest-dev/vitest/commit/600b44d6) - **vitest**: - Support `clearScreen` cli flag - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5241](https://togithub.com/vitest-dev/vitest/issues/5241) [(e1735)](https://togithub.com/vitest-dev/vitest/commit/e1735fb6) ##### 🐞 Bug Fixes - Repeatable `--project` option - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5265](https://togithub.com/vitest-dev/vitest/issues/5265) [(d1a06)](https://togithub.com/vitest-dev/vitest/commit/d1a06730) - `--inspect-brk` to pause before execution - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5355](https://togithub.com/vitest-dev/vitest/issues/5355) [(e77c5)](https://togithub.com/vitest-dev/vitest/commit/e77c553f) - Correct locations in test.each tasks - by [@sheremet-va](https://togithub.com/sheremet-va) [(4f6e3)](https://togithub.com/vitest-dev/vitest/commit/4f6e39c1) - **api**: - Use resolvedUrls from devserver - by [@saitonakamura](https://togithub.com/saitonakamura) and [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5289](https://togithub.com/vitest-dev/vitest/issues/5289) [(2fef5)](https://togithub.com/vitest-dev/vitest/commit/2fef5a7e) - **browser**: - Add `magic-string` to `optimizeDeps.include` - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5278](https://togithub.com/vitest-dev/vitest/issues/5278) [(8f04e)](https://togithub.com/vitest-dev/vitest/commit/8f04e798) - **coverage**: - Expensive regexp hangs v8 report generation - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5259](https://togithub.com/vitest-dev/vitest/issues/5259) [(d68a7)](https://togithub.com/vitest-dev/vitest/commit/d68a7390) - V8 to ignore type-only files - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5328](https://togithub.com/vitest-dev/vitest/issues/5328) [(c3eb8)](https://togithub.com/vitest-dev/vitest/commit/c3eb8deb) - Respect source maps of pre-transpiled sources - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5367](https://togithub.com/vitest-dev/vitest/issues/5367) [(6eda4)](https://togithub.com/vitest-dev/vitest/commit/6eda473f) - Prevent `reportsDirectory` from removing user's project - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5376](https://togithub.com/vitest-dev/vitest/issues/5376) [(07ec3)](https://togithub.com/vitest-dev/vitest/commit/07ec3779) - **expect**: - Show diff on `toContain/toMatch` assertion error - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5267](https://togithub.com/vitest-dev/vitest/issues/5267) [(8ee59)](https://togithub.com/vitest-dev/vitest/commit/8ee59f0d) - **forks**: - Wrap `defines` to support `undefined` values - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5284](https://togithub.com/vitest-dev/vitest/issues/5284) [(5b58b)](https://togithub.com/vitest-dev/vitest/commit/5b58b399) - **typecheck**: - Update get-tsconfig 4.7.3 to fix false circularity error - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5384](https://togithub.com/vitest-dev/vitest/issues/5384) [(bdc37)](https://togithub.com/vitest-dev/vitest/commit/bdc371ee) - **ui**: - Escape html in error diff - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5325](https://togithub.com/vitest-dev/vitest/issues/5325) [(ab60b)](https://togithub.com/vitest-dev/vitest/commit/ab60bf8d) - **vitest**: - Loosen `onConsoleLog` return type - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5337](https://togithub.com/vitest-dev/vitest/issues/5337) [(6d1b1)](https://togithub.com/vitest-dev/vitest/commit/6d1b1451) - Ensure restoring terminal cursor on close - by [@hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5292](https://togithub.com/vitest-dev/vitest/issues/5292) [(0bea2)](https://togithub.com/vitest-dev/vitest/commit/0bea2247) - Ignore timeout on websocket reporter rpc - by [@sheremet-va](https://togithub.com/sheremet-va) [(38119)](https://togithub.com/vitest-dev/vitest/commit/38119b75) - Correctly override api with --no-api flag - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5386](https://togithub.com/vitest-dev/vitest/issues/5386) [(51d1d)](https://togithub.com/vitest-dev/vitest/commit/51d1d472) - Logs in `beforeAll` and `afterAll` - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/5288](https://togithub.com/vitest-dev/vitest/issues/5288) [(ce5ca)](https://togithub.com/vitest-dev/vitest/commit/ce5ca6bf) - **workspace**: - Throw error when browser mode and `@vitest/coverage-v8` are used - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5250](https://togithub.com/vitest-dev/vitest/issues/5250) [(29f98)](https://togithub.com/vitest-dev/vitest/commit/29f98cd3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.3.1...v1.4.0)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Hywax Assistant.