Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all non-major dependencies #78

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@antfu/ni ^0.21.12 -> ^0.23.0 age adoption passing confidence
@nuxt/kit (source) 3.9.3 -> 3.13.1 age adoption passing confidence
@nuxt/module-builder ^0.5.5 -> ^0.8.4 age adoption passing confidence
@nuxt/test-utils ^3.11.0 -> ^3.14.2 age adoption passing confidence
@prisma/client (source) ^5.8.1 -> ^5.19.1 age adoption passing confidence
@types/node (source) ^18.19.10 -> ^18.19.50 age adoption passing confidence
@vue/shared (source) ^3.4.15 -> ^3.5.5 age adoption passing confidence
bumpp ^9.3.0 -> ^9.5.2 age adoption passing confidence
esbuild ^0.20.0 -> ^0.23.1 age adoption passing confidence
eslint (source) 8.56.0 -> 8.57.0 age adoption passing confidence
magicast ^0.3.3 -> ^0.3.5 age adoption passing confidence
pnpm (source) 8.15.1 -> 8.15.9 age adoption passing confidence
prettier (source) ^3.2.4 -> ^3.3.3 age adoption passing confidence
prisma (source) ^5.8.1 -> ^5.19.1 age adoption passing confidence
rimraf ^5.0.5 -> ^5.0.10 age adoption passing confidence
simple-git-hooks ^2.9.0 -> ^2.11.1 age adoption passing confidence
taze ^0.13.1 -> ^0.16.9 age adoption passing confidence
turbo (source) ^1.11.3 -> ^1.13.4 age adoption passing confidence
typescript (source) ^5.3.3 -> ^5.6.2 age adoption passing confidence
unplugin ^1.6.0 -> ^1.14.1 age adoption passing confidence
vitepress (source) 1.0.0-rc.40 -> 1.3.4 age adoption passing confidence
vue (source) ^3.4.15 -> ^3.5.5 age adoption passing confidence

Release Notes

antfu-collective/ni (@​antfu/ni)

v0.23.0

Compare Source

   🚨 Breaking Changes
    View changes on GitHub

v0.22.4

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.22.3

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.22.2

Compare Source

No significant changes

    View changes on GitHub

v0.22.1

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.22.0

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub
nuxt/nuxt (@​nuxt/kit)

v3.13.1

Compare Source

3.13.1 is the next regularly scheduled patch release.

👀 Highlights

Although this is a patch release, there are two features I'd love to draw your attention to.

  1. 🆔 useId now uses a built-in Vue composable for stable ids between server + client! https://github.com/nuxt/nuxt/pull/28285
  2. 🔥 a new experimental.buildCache feature now allows for quicker app rebuilds https://github.com/nuxt/nuxt/pull/28726

As always, feedback is appreciated 🙏 ❤️

✅ Upgrading

As usual, our recommendation for upgrading is to run:

npx nuxi@latest 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

🔥 Performance
  • nuxt: Cache vue app build outputs (#​28726)
  • nuxt: Use ServerPlaceholder for ssr client components (#​28563)
  • nuxt: Use reducer array + handle modified proto (#​28768)
🩹 Fixes
  • schema: Resolve user-provided serverDir relative to root (#​28700)
  • nuxt: Handle mismatching declaration/plugin extensions (#​28709)
  • nuxt: Do not accept arbitrary strings for MiddlewareKey (#​28676)
  • nuxt: Do not pass listeners to custom NuxtLink (#​28738)
  • nuxt: Generate basic jsdoc for module config entry (#​27689)
  • nuxt: Augment NuxtOptions as well as config (#​28747)
  • nuxt: Improve error logging in import protections (#​28753)
  • nuxt: Handle deleted cookies from CookieStore events (#​28760)
  • nuxt: Allow updating appConfig with non-iterable objects (#​28773)
  • nuxt: Improve isNuxtError type inference (#​28814)
💅 Refactors
  • nuxt: Update to vue v3.5 + native useId (#​28285)
📖 Documentation
  • Fix typo (#​28724)
  • Update broken/redirected links (#​28739)
  • Capitalize text (#​28734)
  • Updated line number for nuxt build-time hooks (#​28746)
  • Add missing query returned value from useRoute() (#​28743)
  • Persist package manager choice in code blocks (#​28514)
  • Fix postcss codeblock typo (#​28801)
  • Include --frozen-lockfile when installing dependencies (#​28794)
🏡 Chore
✅ Tests
❤️ Contributors

v3.13.0

Compare Source

👀 Highlights

I'm pretty excited about this release - we've ported some features we had planned for Nuxt v4 back to v3, as well as a raft of bug fixes and performance improvements - as usual.

Here are a few of things I'm most excited about.

🏘️ Route Groups

We now support naming directories with parentheses/brackets to organise your routes without affecting the path.

For example:

-| pages/
---| index.vue
---| (marketing)/
-----| about.vue
-----| contact.vue

This will produce /, /about and /contact pages in your app. The marketing group is ignored for purposes of your URL structure.

Read more in the original PR.

🏝️ Islands and Head Metadata

It's now possible for server component islands to manipulate the head, such as by adding SEO metadata when rendering.

Read more in #​27987.

🪝 Custom Prefetch Triggers

We now support custom prefetch triggers for NuxtLink (#​27846).

For example:

<template>
  <div>
    <NuxtLink prefetch-on="interaction">
      This will prefetch when hovered or when it gains focus
    </NuxtLink>
    <!-- note that you probably don't want both enabled! -->
    <NuxtLink :prefetch-on="{ visibility: true, interaction: true }">
      This will prefetch when hovered/focus - or when it becomes visible
    </NuxtLink>
  </div>
</template>

It's also possible to enable/disable these globally for your app and override them per link.

For example:

export default defineNuxtConfig({
  experimental: {
    defaults: {
      nuxtLink: {
        prefetch: true,
        prefetchOn: { visibility: false, interaction: true }
      }
    }
  }
})
🗺️ Better Server Source Maps

When running with node --enable-source-maps, you may have noticed that the source maps for the Vue files in your server build pointed to the Vite build output (something like .nuxt/dist/server/_nuxt/index-O15BBwZ3.js).

Now, even after your Nitro build, your server source maps will reference your original source files (#​28521).

Note that one of the easiest ways of improving your build performance is to turn off source maps if you aren't using them, which you can do easily in your nuxt.config:

export default defineNuxtConfig({
  sourcemap: {
    server: false,
    client: true,
  },
})
🎁 New Features for Module Authors

In the run-up to Nuxt v4, we're working on adding some key functionality for module authors, including a new isNuxtMajorVersion utility where required (#​27579) and better inferred typing for merged module options using the new defineNuxtModule().with() method (#​27520).

✨ Improved Dev Warnings

We no longer warn when using data fetching composables in middleware (#​28604) and we warn when user components' names begin with Lazy (#​27838).

🚨 Vue TypeScript Changes

For a while, in the Vue ecosystem, we've been augmenting @vue/runtime-core to add custom properties and more to vue. However, this inadvertently breaks the types for projects that augment vue - which is now the officially recommended in the docs way to augment these interfaces (for example, ComponentCustomProperties, GlobalComponents and so on).

This means all libraries must update their code (or it will break the types of libraries that augment vue instead).

We've updated our types in Nuxt along these lines but you may experience issues with the latest vue-router when used with libraries which haven't yet done so.

Please create an issue with a reproduction - I'll happily help create a PR to resolve in the upstream library in question. Or you may be able to work around the issue by creating a declarations.d.ts in the root of your project with the following code (credit):

import type {
  ComponentCustomOptions as _ComponentCustomOptions,
  ComponentCustomProperties as _ComponentCustomProperties,
} from 'vue';

declare module '@&#8203;vue/runtime-core' {
  interface ComponentCustomProperties extends _ComponentCustomProperties {}
  interface ComponentCustomOptions extends _ComponentCustomOptions {}
}
✅ Upgrading

As usual, our recommendation for upgrading is to run:

npx nuxi@latest 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

🚀 Enhancements
  • nuxt: Await custom routes function in router.options (#​27644)
  • kit: Add new isNuxtMajorVersion compatibility util (#​27579)
  • kit,schema: Add .with for better module options types (#​27520)
  • nuxt: Warn when user components' names begin with Lazy (#​27838)
  • nuxt: Allow specifying app id when creating a nuxt app (#​28392)
  • nuxt: Custom enable/disable hooks for usePreviewMode (#​28371)
  • kit: Add prepend option to addRouteMiddleware (#​28496)
  • nuxt: Allow organising pages within route groups (#​28276)
  • vite: Preserve vite sourcemaps for nitro build (#​28521)
  • nuxt: Allow defining triggers for prefetching links (#​27846)
  • nuxt: Namespace __NUXT__ when using multi-app (#​27263)
  • nuxt: Allow server islands to manipulate head (#​27987)
🔥 Performance
  • nuxt: Call cookie decode function only for named cookie (#​28215)
  • nuxt: Avoid making client-only component setup async (#​28334)
  • nuxt: Avoid multiple calls to getCachedData (#​28472)
🩹 Fixes
  • nuxt: Don't warn for definePageMeta in client-only pages (#​28246)
  • kit: Include module dist/runtime/ in tsconfig includes (#​28237)
  • schema: Support absolute/relative paths for assetsDir (59f0099f4)
  • schema: Do not override user serverDir (#​28249)
  • schema: Use new options syntax for vite-plugin-vue (#​28307)
  • schema: Export new module return types (c0ad8db93)
  • kit: Add missing type import (1a60b4541)
  • vite,webpack: Handle local postcss plugins (#​28481)
  • nuxt: Handle scroll-padding-top: auto in scrollBehavior (#​28320)
  • nuxt: Ensure runtimeConfig.public is reactive on client (#​28443)
  • nuxt: Update renamed stub composables from nuxt/scripts (#​28449)
  • nuxt: Augment @vue/runtime-core and @vue/runtime-dom (#​28446)
  • nuxt: Scan jsx pages for page metadata (#​28479)
  • nuxt: Handle plugin type extensions more correctly (#​28480)
  • vite: Respect baseURL for public assets in dev (#​28482)
  • vite: Add transformation result to log for parse errors (#​28508)
  • vite: Include module symbols in generated code (#​28509)
  • nuxt: Add reason when aborting request in useFetch (#​28517)
  • nuxt: Only augment vue, not sub-packages (#​28542)
  • nuxt: Avoid stripping js extensions in plugin injections (#​28593)
  • nuxt: Preserve route-specific metadata on route.meta (#​28441)
  • nuxt: Don't warn when data fetching in middleware (#​28604)
  • nuxt: Extract route rules/page meta in 2+ script blocks (#​28625)
  • nuxt: Allow customising status code in validate method (#​28612)
  • nuxt: Do not provide default prefetchOn prop (#​28630)
  • nuxt: Revert back to object syntax for island head (#​28656)
📖 Documentation
  • Fix issue in cookie passing example (#​28223)
  • Fix note in layers usage chapter (#​28236)
  • Fix spaces (#​28233)
  • Add vue lang to sample code (#​28247)
  • Use splitSetCookieString from cookie-es (29f95ae0d)
  • Use headers.getSetCookie (45c6df9a4)
  • Fix codemod command typos (#​28279)
  • bunx -> bun x (#​28277)
  • Add missing comma to example (#​28300)
  • Add language to example schema codeblock (#​28294)
  • Update link to RuntimeNuxtHooks (#​28336)
  • Update links to social media (cd5195047)
  • Setup host property and usage example (#​28331)
  • Fix TypeScript errors for examples (#​28403)
  • Improve readability of link to mdn (#​28327)
  • Use ts for create-error example (#​28411)
  • Alias links in jsdoc @see blocks (#​28270)
  • Link to vue test utils docs for mountSuspended (#​28463)
  • Remove vue-tsc major version constraint (#​28484)
  • Recommend '#teleports' target instead of 'body' (#​28489)
  • Correct custom routing link (#​28497)
  • Improve typing of default exports (#​28520)
  • Fix options type in custom useFetch recipe (#​28389)
  • Update useRuntimeConfig source path (#​28553)
  • Add line-breaks to tips in Module Author Guide (#​28587)
  • Update nuxt scripts status (#​28629)
🏡 Chore
✅ Tests
  • Disable pageTransition in client-only page (#​27839)
  • Ignore SharedComponent in server head (510f3e28f)
  • Update bundle size (3ecb95a7c)
🤖 CI
  • Add reproduire-sur-stackblitz workflow (#​28531)
❤️ Contributors

v3.12.4

Compare Source

3.12.4 is the next regularly scheduled patch release.

👉 Changelog

compare changes

🔥 Performance
  • vite: Start warmups after nitro build (#​27963)
  • vite: Avoid extra resolve call for resolveId in layers (#​27971)
  • kit,nuxt,schema,vite,webpack: Use explicit exports (#​27998)
🩹 Fixes
  • schema: Resolve public alias correctly (#​27975)
  • nuxt: Omit rendering payload prefetch when noScripts (#​27972)
  • nuxt: Add / as fallback if page can't be identified (e6109b226)
  • ui-templates: Validate templates with html-validate (#​28024)
  • schema: Don't constrain postcss plugin options (#​28045)
  • kit: Remove exports from v4 branch (5c8312e9b)
  • nuxt: Use unhead key for ad-hoc module options (#​28088)
  • nuxt: Use native vue-router composables (#​28114)
  • kit: Ensure getNuxtVersion returns string (#​28125)
  • nuxt: Always prerender at least one page with crawler (#​28131)
  • nuxt: Consider doc scroll-padding-top in scrollBehavior (#​28083)
  • nuxt: Only warn when useAsyncData returns undefined (#​28154)
  • nuxt: Revert change to getCachedData null response (d10cea11b)
  • schema: Don't use app/ as srcDir if it doesn't exist (#​28176)
  • kit: Normalise serverDir within layers using v4 compat (#​28177)
  • nuxt: Allow getCachedData to return undefined (#​28187)
  • nuxt: Use addEventListener to register cookie store listener (#​28193)
  • nuxt: Merge route meta properties with scanned meta (#​28170)
  • nuxt: Prevent duplicate set-cookie headers (#​28211)
💅 Refactors
  • schema,vite,webpack: Rework postcss module loading (#​27946)
  • nuxt: Remove _registeredComponents from ssrContext (#​27819)
  • nuxt: Use errx to handle dev log traces (#​28027)
📖 Documentation
  • Fix link (83bd4fde9)
  • Fix Cloudflare spelling (#​27989)
  • Update example to use nuxtApp.runWithContext (#​28000)
  • Remove deprecated pending variable from data fetching docs (#​28011)
  • Clarify xrsp danger (#​28053)
  • Deprecate pending and emphasis undefined (#​28113)
  • Update phrasing in route announcer (#​28108)
  • Use code groups for install commands in module guide (#​28094)
  • Capitalize text (#​28056)
  • Mention content in upgrade guide v4 folder structure (#​28090)
  • Remove a resolved issue from view transition docs (#​28091)
  • Clarify navigateTo is not for nitro routes (#​28092)
  • Warn about nested islands (#​28062)
  • Add info about layers/ directory (#​28128)
  • Codemods for migrating to Nuxt 4 (#​28072)
✅ Tests
  • Add typeCheck test in minimal build (#​28166)
🤖 CI
  • Run prepare step before linting docs (f8fbefb42)
  • Run prepare step before linting docs (d629b82b3)
❤️ Contributors

v3.12.3

Compare Source

3.12.3 is the next regularly scheduled patch release.

👉 Changelog

compare changes

🔥 Performance
  • nuxt,vite: Use native fs utils rather than fs-extra (#​27787)
  • schema: Use chokidar when a custom srcDir is provided (#​27871)
  • nuxt: Ensure prefetchComponents is treeshaken on server (#​27905)
🩹 Fixes
  • nuxt: Flag async data promise as cancelled only if defined (#​27690)
  • schema: Handle backwards compat for dir.app (0c73cb734)
  • nuxt: Support hoisting types of subpath imports (#​27720)
  • nuxt: Resolve routes when navigateTo called with open (#​27742)
  • nuxt: Handle subpaths more correctly (d7402a799)
  • nuxt: Delay navigation until user input is acknowledged (#​27743)
  • nuxt: Resolve aliases used in nitro plugin paths (#​27741)
  • schema: Do not use full path assets/public aliases (d0518650f)
  • nuxt: Defer registering inp handler until nuxt is mounted (866a5319a)
  • nuxt: Add refresh type in server component refs (#​27778)
  • nuxt: Extract all-literal page meta (#​27821)
  • kit: Handle loading nuxt 4+ (cf251bd48)
  • nuxt: Handle external links to named route objects (#​27829)
  • nuxt: Use URL to encode redirected URLs (#​27822)
  • nuxt: Don't use app version when verifying nuxt deps (#​27864)
  • nuxt: Prompt to set compatibility date with latest nitro (#​27893)
  • nuxt: Add #vue-router alias for backwards compat (#​27896)
  • nuxt: Move app augments to core nuxt types (#​27900)
  • nuxt: Pass augmented pages to child paths (ecb35d3a2)
  • nuxt: Use pascal name when loading server component (#​27928)
  • nuxt: Improve async data warning (#​27874, #​27934)
  • nuxt: Allow configuring server components in modules (#​27936)
  • vite: Omit css ?raw from head when in dev mode (#​27940)
  • kit,nuxt: Ensure webworker types are available (4cab71d66)
  • nuxt: Seed crawler when prerendering pages (#​27955)
  • vite: Fix type issue with legacy dev bundler (f9fa1a3e9)
  • nuxt: Improve dx around compatibility date prompt (#​27965)
💅 Refactors
  • kit,nuxt: Use performance.now to measure time (d14f7ec46)
📖 Documentation
  • Add referral query variable to Vue School Links (#​27670)
  • Fix variable name (#​27675)
  • Clarify how transitions are configured globally (#​27679)
  • Remove outdated recommendation (#​27691)
  • Add refreshCookie on useCookie doc page (#​27744)
  • Sync changes from main branch (e7fbc9f81)
  • Remove outdated tip (#​27773)
  • Warn about awaiting useFetch/AsyncData in wrappers (#​27785)
  • Update some code groups with package manager examples (#​27791)
  • Hint to use runtime config (#​27859)
  • Use internal link (#​27883)
  • Update links to vue-router docs (#​27895)
  • Use internal link (#​27894)
  • Remove warning about type checking (#​27911)
  • compatibilityVersion is available in the latest release (#​27919)
  • Update roadmap + readme (748bc751d)
  • Update Nuxt 3 -> Nuxt or Nuxt 3+ (3c16c890c)
  • Update reference to nightly release for testing nuxt 4 (5d2dc9714)
  • Remove duplicate server-side notice in runtime config (#​27929)
  • Warn about ref unwrapping when auto-importing refs (#​27933)
  • Mention layers in directory guide (c222fe7aa)
🏡 Chore
  • Use absolute urls for sources to assets in readme (5ef305cec)
  • Use relative links and update in build script (7dd15186e)
  • Use backup file extension ([a42

Configuration

📅 Schedule: Branch creation - "every 7 day" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from Hebilicious as a code owner February 1, 2024 01:01
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 11 times, most recently from 1720d99 to 527ba5a Compare February 8, 2024 06:29
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 8 times, most recently from cabb382 to 42b43ac Compare February 15, 2024 20:05
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 10 times, most recently from b9a4feb to 2c88a72 Compare February 24, 2024 16:48
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from 084f91f to 0c6b0f2 Compare August 22, 2024 19:47
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 3c9e1b2 to eb783b5 Compare August 28, 2024 01:16
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 10 times, most recently from 9a83fd9 to 9b82d83 Compare September 6, 2024 03:59
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 7 times, most recently from 73006e6 to aa59de9 Compare September 13, 2024 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants