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 #53

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 23, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@commitlint/cli (source) ^19.4.0 -> ^19.4.1 age adoption passing confidence
@commitlint/config-conventional (source) ^19.2.2 -> ^19.4.1 age adoption passing confidence
@nuxt/eslint-config (source) ^0.5.0 -> ^0.5.6 age adoption passing confidence
@vite-pwa/nuxt ^0.9.1 -> ^0.10.5 age adoption passing confidence
eslint (source) ^9.9.0 -> ^9.10.0 age adoption passing confidence
husky ^9.1.4 -> ^9.1.5 age adoption passing confidence
lint-staged ^15.2.9 -> ^15.2.10 age adoption passing confidence
nuxt (source) ^3.12.4 -> ^3.13.1 age adoption passing confidence
sass ^1.77.8 -> ^1.78.0 age adoption passing confidence
vue-tsc (source) ^2.0.29 -> ^2.1.6 age adoption passing confidence

Release Notes

conventional-changelog/commitlint (@​commitlint/cli)

v19.4.1

Compare Source

Note: Version bump only for package @​commitlint/cli

conventional-changelog/commitlint (@​commitlint/config-conventional)

v19.4.1

Compare Source

Note: Version bump only for package @​commitlint/config-conventional

nuxt/eslint (@​nuxt/eslint-config)

v0.5.6

Compare Source

   🚀 Features
    View changes on GitHub

v0.5.5

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.5.4

Compare Source

   🚀 Features
    View changes on GitHub

v0.5.3

Compare Source

No significant changes

    View changes on GitHub

v0.5.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.5.1

Compare Source

   🚀 Features
    View changes on GitHub
vite-pwa/nuxt (@​vite-pwa/nuxt)

v0.10.5

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.10.4

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.10.3

Compare Source

No significant changes: add git+ prefix to repository url, bump vite pwa to 0.20.3

    View changes on GitHub

v0.10.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.10.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.10.0

Compare Source

   🚨 Breaking Changes
    View changes on GitHub
eslint/eslint (eslint)

v9.10.0

Compare Source

v9.9.1

Compare Source

typicode/husky (husky)

v9.1.5

Compare Source

lint-staged/lint-staged (lint-staged)

v15.2.10

Compare Source

Patch Changes
nuxt/nuxt (nuxt)

v3.13.1

Compare Source

3.12.4 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
sass/dart-sass (sass)

v1.78.0

Compare Source

  • The meta.feature-exists function is now deprecated. This deprecation is
    named feature-exists.

  • Fix a crash when using @at-root without any queries or children in the
    indented syntax.

JS API
  • Backport the deprecation options (fatalDeprecations, futureDeprecations,
    and silenceDeprecations) to the legacy JS API. The legacy JS API is itself
    deprecated, and you should move off of it if possible, but this will allow
    users of bundlers and other tools that are still using the legacy API to
    still control deprecation warnings.

  • Fix a bug where accessing SourceSpan.url would crash when a relative URL was
    passed to the Sass API.

Embedded Sass
  • Explicitly expose a sass executable from the sass-embedded npm package.
    This was intended to be included in 1.63.0, but due to the way
    platform-specific dependency executables are installed it did not work as
    intended. Now users can run npx sass for local installs or just sass when
    sass-embedded is installed globally.

  • Add linux-riscv64, linux-musl-riscv64, and android-riscv64 support for the
    sass-embedded npm package.

  • Fix an edge case where the Dart VM could hang when shutting down when requests
    were in flight.

  • Fix a race condition where the embedded host could fail to shut down if it was
    closed around the same time a new compilation was started.

  • Fix a bug where parse-time deprecation warnings could not be controlled by
    the deprecation options in some circumstances.

vuejs/language-tools (vue-tsc)

v2.1.6

Compare Source

Features
  • language-plugin-pug: support initial indentation (#​4774)
  • language-service: JSDoc display support when typing props on component template (#​4796) - Thanks to @​joy-yu!
  • language-core: typed directives in template (#​4807) - Thanks to @​KazariEX!
Bug Fixes
  • language-core: wrap template refs with unref in interpolation (#​4777) - Thanks to @​KazariEX!
  • language-core: ensure to pass tsc on inline global types (#​4782) - Thanks to @​KazariEX!
  • language-core: infer native template ref as build-in element interface (#​4786) - Thanks to @​KazariEX!
  • language-core: generate __VLS_StyleModules after template (#​4790) - Thanks to @​KazariEX!
  • language-core: make expose of non-generic template ref required (#​4795) - Thanks to @​zhiyuanzmj!
  • language-core: avoid using __typeProps with runtime props (#​4800) - Thanks to @​KazariEX!
  • language-core: ignore unknown attrs error when strictTemplates is not enabled (#​4785)
  • language-core: prevent append globalTypes to virtual file (#​4806) - Thanks to @​zhiyuanzmj!
  • language-core: prevent type error when use defineSlots and non-template (#​4809) - Thanks to @​zhiyuanzmj!
  • typescript-plugin: disconnect socket on error (#​4672)
Performance
  • language-core: don't emit event lnlayhint when content is none (#​4776) - Thanks to @​Gehbt!
Other Changes
  • language-core: split __VLS_templateResult (#​4781) - Thanks to @​KazariEX!
  • language-core: wrap template virtual code into a function (#​4784)
  • language-core: move templateRef into composibles (#​4791) - Thanks to @​KazariEX!
  • language-core: generate global types for the first parsed Vue component if cannot write global types file
Tests
  • language-server: add renaming case for template ref() (#​4794) - Thanks to @​KazariEX!
  • tsc: update to Vue 3.5 (#​4725)
  • tsc: unknown props on non-strict generic component (#​4792)

v2.1.5

Compare Source

Features
  • typescript-plugin, language-server: generate global types file into node_modules/.vue-global-types (#​4752) - Thanks to @​KazariEX!
  • language-core: navigation support for template-ref (#​4726) - Thanks to @​KazariEX!
Bug Fixes
  • language-core, typescript-plugin, language-server: apply snake case on globalTypes filename (#​4749) - Thanks to @​KazariEX!
  • language-core: hoist $refs type (#​4763)
  • language-core: disable lib check on global types file (#​4767) - Thanks to @​KazariEX!
  • language-core: prevent circular reference of templateRef (#​4768) - Thanks to @​zhiyuanzmj!
  • language-core: using interface merging for GlobalComponents
  • language-core: fallthroughAttributes causes global components to be self-referential (#​4761)
  • language-core: auto-completion for the last line of template block (#​4771) - Thanks to @​zhiyuanzmj!
  • language-core: update ast correctly on repeated v-for modifications (#​4772) - Thanks to @​KazariEX!
  • language-server: leaking named pipes (#​4672)
  • typescript-plugin: compatible with Yarn PnP (#​4751)
  • vscode: whitelist ms-dynamics-smb.al extension for Vue Hybrid Mode. (#​4765) - Thanks to @​kyleweishaupt!
Other Changes

v2.1.4

Compare Source

v2.1.2

Compare Source

Bug Fixes
  • language-core, typescript-plugin, language-server: write globalTypes into dist for correct export (#​4740) (#​4737) (#​4738) (#​4739) - Thanks to @​KazariEX!
  • language-core: don't default vueCompilerOptions.lib to @vue/runtime-dom for Vue 2

v2.1.0

Compare Source

Features
Bug Fixes
Refactors
  • language-core: extract SFC root tags to separate virtual code
  • language-core: removed __hint trick from codegen
  • language-core: rewrite a part of confusing codegen code
  • language-core: reduce virtual code generated by component tags (#​4714)
  • language-core: do not wrap template virtual code with function (#​4731)
  • language-core: write real files to FS for shared global types (#​4736)
  • component-meta: remove deprecated createComponentMetaCheckerByJsonConfig, createComponentMetaChecker api
Other Changes
  • Upgraded

Configuration

📅 Schedule: Branch creation - "before 9am on saturday" in timezone Europe/Moscow, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Aug 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
bhn ✅ Ready (Inspect) Visit Preview Sep 9, 2024 10:12pm

@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 38684f5 to 11fa272 Compare August 25, 2024 17:19
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 11fa272 to 7e5f625 Compare August 26, 2024 22:40
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 7e5f625 to b0dba0e Compare August 28, 2024 21:24
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from b0dba0e to 109fb5b Compare August 30, 2024 03:42
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 109fb5b to 9e9a459 Compare August 31, 2024 09:13
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