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: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 2, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@heroicons/vue 2.1.4 -> 2.1.5 age adoption passing confidence devDependencies patch
@nuxt/eslint-config (source) 0.3.13 -> 0.7.0 age adoption passing confidence devDependencies minor
@nuxt/module-builder 0.8.1 -> 0.8.4 age adoption passing confidence devDependencies patch
@nuxt/schema (source) 3.12.2 -> 3.14.159 age adoption passing confidence devDependencies minor
@nuxtjs/tailwindcss 6.12.0 -> 6.12.2 age adoption passing confidence devDependencies patch
@types/node (source) 20.14.9 -> 20.17.6 age adoption passing confidence devDependencies minor
cimg/node 20.15 -> 20.18 age adoption passing confidence docker minor
eslint (source) 8.57.0 -> 8.57.1 age adoption passing confidence devDependencies patch
nuxt (source) 3.12.2 -> 3.14.159 age adoption passing confidence devDependencies minor
pnpm (source) 9.4.0 -> 9.13.2 age adoption passing confidence packageManager minor
semantic-release 24.0.0 -> 24.2.0 age adoption passing confidence devDependencies minor

Release Notes

tailwindlabs/heroicons (@​heroicons/vue)

v2.1.5

Compare Source

Added
  • Add new icons (arrow-turn-*, bold, calendar-date-range, divide, document-currency-*, equals, h1, h2, h3, italic, link-slash, numbered-list, percent-badge, slash, strikethrough, underline)
nuxt/eslint (@​nuxt/eslint-config)

v0.6.2

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.6.1

Compare Source

   🚀 Features
    View changes on GitHub

v0.6.0

Compare Source

   🚀 Features
    View changes on GitHub

v0.5.7

Compare Source

   🚀 Features
    View changes on GitHub

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

v0.5.0

Compare Source

   🚀 Features
    View changes on GitHub

v0.4.0

Compare Source

   🚀 Features
    View changes on GitHub
nuxt/module-builder (@​nuxt/module-builder)

v0.8.4

Compare Source

compare changes

🩹 Fixes
  • Remove nuxt/schema augment (2a20ed0)
❤️ Contributors

v0.8.3

Compare Source

compare changes

🩹 Fixes
  • build: Handle missing named type exports (#​331)
❤️ Contributors

v0.8.2

Compare Source

compare changes

🔥 Performance
  • Removed unnecessary hasTypeExport check (#​310)
🩹 Fixes
  • prepare: Override compatibilityDate (b9b27c3)
❤️ Contributors
nuxt/nuxt (@​nuxt/schema)

v3.14.159

Compare Source

3.14.159 is a hotfix release to address regressions in v3.14.

We're leaning into the π theme - future patch releases of this minor version will just continue adding digits. (Sorry for any inconvenience! 😆)

👉 Changelog

compare changes

🩹 Fixes
  • nuxt: Update nitropack preset directory (#​29780)
  • kit: Fall back to meta version if there's no module.json (#​29793)
  • kit: Use mlly to resolve module paths to avoid cjs fallback (#​29799)
  • webpack,rspack: Add adapter for webpack-dev-middleware (#​29806)
  • nuxt: Remove null-byte prefix for virtual files (#​29809)
  • kit: Convert module path to file url before reading meta (fb833ac64)
📖 Documentation
🏡 Chore
❤️ Contributors

v3.14.0

Compare Source

3.14.0 is the next minor release.

👀 Highlights

Behind the scenes, a lot has been going on in preparation for the release of Nuxt v4 (particularly on the unjs side with preparations for Nitro v3!)

⚡️ Faster starts powered by jiti

Loading the nuxt config file, as well as modules and other build-time code, is now powered by jiti v2. You can see more about the release in the jiti v2 release notes, but one of the most important pieces is native node esm import (where possible), which should mean a faster start. ✨

📂 Shared folder for code and types shared with client/server

You should never import Vue app code in your nitro code (or the other way around). But this has meant a friction point when it comes to sharing types or utilities that don't rely on the nitro/vue contexts.

For this, we have a new shared/ folder (#​28682). You can't import Vue or nitro code into files in this folder, but it produces auto-imports you can consume throughout the rest of your app.

If needed you can use the new #shared alias which points to this folder.

The shared folder is alongside your server/ folder. (If you're using compatibilityVersion: 4, this means it's not inside your app/ folder.)

🦀 rspack builder

We're excited to announce a new first-class Nuxt builder for rspack. It's still experimental but we've refactored the internal Nuxt virtual file system to use unplugin to make this possible.

Let us know if you like it - and feel free to raise any issues you experience with it.

👉 To try it out, you can use this starter - or just install @nuxt/rspack-builder and set builder: 'rspack' in your nuxt config file.

✨ New composables

We have new useResponseHeader and useRuntimeHook composables (#​27131 and #​29741).

🔧 New module utilities

We now have a new addServerTemplate utility (#​29320) for adding virtual files for access inside nitro runtime routes.

🚧 v4 changes

We've merged some changes which only take effect with compatibilityVersion: 4, but which you can opt-into earlier.

  1. previously, if you had a component like ~/components/App/Header.vue this would be visible in your devtools as <Header>. From v4 we ensure this is <AppHeader>, but it's opt-in to avoid breaking any manual <KeepAlive> you might have implemented. (#​28745).

  2. Nuxt scans page metadata from your files, before calling pages:extend. But this has led to some confusing behaviour, as pages added at this point do not end up having their page metadata respected. So we now do not scan metadata before calling pages:extend. Instead, we have a new pages:resolved hook, which is called after pages:extend, after all pages have been augmented with their metadata. I'd recommend opting into this by setting experimental.scanPageMeta to after-resolve, as it solves a number of bugs.

🗺️ Roadmap to v3.15

They didn't quite make it in time for v3.14 but for the next minor release you can expect (among other things):

✅ 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
  • deps: Upgrade to latest version of jiti (#​27995)
  • kit,nuxt,vite,webpack: Reimplement cjs utils using jiti (#​29073)
  • nuxt: Normalise component names to match nuxt pattern (#​28745)
  • kit,schema: Add addServerTemplate utility (#​29320)
  • nuxt: Add useResponseHeader composable (#​27131)
  • rspack,webpack: Add rspack builder (#​29142)
  • nuxt,schema: pages:resolved hook + scan meta post extend (#​28861)
  • nuxt: Allow enabling route props in definePageMeta (#​29586)
  • schema,nuxt: Add shared/ folder and #shared alias (#​28682)
  • nuxt: Allow chunk error or manifest update -> reload (#​28160)
  • nuxt: Add useRuntimeHook composable (#​29741)
🔥 Performance
  • nuxt: Remove unneeded second call to useNuxtApp (#​29514)
  • vite: Avoid redundant postcss plugins overwrite (#​29619)
  • kit,nuxt,vite,webpack: Hoist regex patterns (#​29620)
🩹 Fixes
  • nuxt: Simplify plugin InjectionType template conditional (#​29023)
  • nuxt: Access server build from webpack memfs (#​29027)
  • nuxt: Do not resolve non-absolute component paths (#​29036)
  • nuxt: Defer unsetting error handler until suspense resolves (#​29037)
  • nuxt: Pass DOMException as fetch abort exception (#​29058)
  • vite: Don't force protocol if disabled devServer.https (#​29049)
  • nuxt: Empty nitro buildDir in dev mode (#​29068)
  • nuxt: Don't resolve relative import type paths for deps (#​29069)
  • kit: Handle passing 'bare' relative paths to modules (c7fecd8a1)
  • kit: Try resolving module path from each node_modules dir (70a622d43)
  • kit,vite,webpack: Resolve postcss paths from each modules dir (#​29096)
  • kit,vite,webpack: Strip node_modules/ from parent urls (5bd42c893)
  • nuxt: Add crossorigin attribute for stylesheets (#​29138)
  • nuxt: Use routeRules to hint pages to prerender (#​29172)
  • nuxt: Pass absolute external link urls to link:prefetch (#​29321)
  • nuxt: Error on build when required module is missing (#​29287)
  • nuxt: Prevent 404 when hitting component test endpoint (cb725f014)
  • nuxt: Avoid throwing 404 error before middleware finishes (#​29054)
  • schema: Use ConfigLayer type from c12 (#​29370)
  • nuxt: Fix nested page types in typedPages (#​29352)
  • nuxt: Allow islands to manipulate head client-side (#​29186)
  • vite: Dim repeat count in logs (#​29392)
  • schema: Mark configFile as required in layer type (3bbcd7d21)
  • nuxt: Remove vue compiler hints from auto import (#​29713)
  • vite: Update signature for createIsExternal (686be8168)
  • nuxt: Respect existing props value in definePageMeta (#​29683)
  • schema: Hoist nitropack/types to ensure api routes are typed (54096875e)
💅 Refactors
  • nuxt: Use addBuildPlugin internally (#​29157)
  • nuxt,schema,vite,webpack: Use unplugin for vfs (#​29165)
📖 Documentation
  • Use defineNuxtComponent instead of defineComponent (#​29011)
  • Remove duotone icons for clarity (#​29040)
  • Fix typo (#​29045)
  • Remove specific Nuxt 4 release date (#​29151)
  • Remove redundant newlines and indentations (#​29190)
  • Add links to short videos from daniel (#​29185)
  • Fix comments typo in auto-imports example (#​29195)
  • Add missing word (#​29230)
  • Add a section about useRequestFetch and event.$fetch (#​29099)
  • Add example of typing custom useFetch errors (#​29253)
  • Ensure manifest code snippet works with pnpm (#​29273)
  • Consistent directory structure (#​29292)
  • Update to new ofetch headers for interceptors (#​29118)
  • Mention upgrading third-party configs (#​27768)
  • Improve explanation of ssr + data fetching (#​29010)
  • Add a description for .env.test (#​29398)
  • Add section on 'updateAppConfig' in the 'app.config' page (#​29397)
  • Add example to navigateTo util (#​29611)
  • Remove mockImplementation() call (#​29669)
  • Update lifecycle hooks (#​29678)
  • Type cast api plugin in custom usefetch example (#​29756)
  • Correct some errors about proxying headers with $fetch (#​29755)
  • Add information on --envName flag (#​28909)
  • Add error expectation (09885b87e)
📦 Build
  • ui-templates: Switch to beasties (1b5391182)
🏡 Chore
✅ Tests
🤖 CI
❤️ Contributors

v3.13.2

Compare Source

3.13.2 is the next regularly scheduled patch release.

✅ 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: Remove interop default for dynamic components (#​28912)
🩹 Fixes
  • nuxt: Fix ssr log querySelector (#​28864)
  • schema: Enable propsDestructure by default (#​28830)
  • nuxt: Ensure injected route has enumerable keys (#​28841)
  • nuxt: Don't override vue instance with legacy asyncData (#​28842)
  • nuxt: Render server errors with ssr: false (#​28834)
  • nuxt: Resolve full component paths (#​28843)
  • nuxt: Improve accuracy of module resolution conditions (#​28846)
  • nuxt: Log more context of prerendering errors (#​28895)
  • nuxt: Enable injectAtEnd to reduce circular auto-imports (#​28822)
  • nuxt: Ensure we process files in buildDir for unimport (#​28899)
  • nuxt: Do not accept attrs on <NuxtErrorBoundary> (#​28901)
  • nuxt,schema: Accept any module in inline modules array (#​28922)
  • nuxt: Fall back to original component filePath (#​28925)
  • nuxt: Make runWithContext generic (#​28926)
  • nuxt: Set inheritAttrs: false for fragment components (#​28939)
  • nuxt: Use case-insensitive regexp for <script> blocks (4fd24381c)
  • nuxt: Ensure component imports are injected last (#​28944)
  • nuxt: Catch chunk errors directly in navigation (820908696)
  • nuxt: Add missing isNuxtMajorVersion export (#​29016)
  • nuxt: Correct type for useError (#​28996)
💅 Refactors
  • nuxt: Use vite:preloadError event (#​28862)
📖 Documentation
🏡 Chore
✅ Tests
  • Collect bundle sizes in parallel (1ce81069d)
  • Add regression test for using route in template (#​28967)
  • Convert set to array (6ee3b3adc)
  • Switch inline snapshot to object comparison (ae5135363)
🤖 CI
  • Access issue number from payload (8e4585c14)
  • Configure codeql to ignore tests (d5f98a757)
  • Add default permissions for workflows (3ede01cd4)
  • Scan source files with codeql (#​28943)
  • Skip setting up node before codeql scan (c4d7c92e9)
❤️ Contributors

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](https://redirect.github.com/nuxt/n

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

@renovate renovate bot added the dependencies label Jul 2, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch from 6eafd30 to 82b835d Compare July 5, 2024 22:40
@renovate renovate bot changed the title chore(deps): update all non-major dependencies to v3.12.3 chore(deps): update all non-major dependencies Jul 5, 2024
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 0a2f237 to 31e5c87 Compare July 11, 2024 14:53
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 005f0c6 to f71f6ff Compare July 23, 2024 18:34
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 696edfc to a4c9e71 Compare July 28, 2024 14:10
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from bbfcdda to ecacbf3 Compare August 7, 2024 00:58
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from e0725b1 to 7d88ee3 Compare August 14, 2024 15:32
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 7 times, most recently from d16877d to ddd6c09 Compare August 22, 2024 20:36
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 412acc1 to f4a9dfe Compare August 28, 2024 01:11
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from c0e55e8 to e8eb7bc Compare October 4, 2024 13:47
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from e0f86d5 to c15adf4 Compare October 14, 2024 06:31
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 7 times, most recently from bc7285e to 96e261f Compare October 23, 2024 06:22
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 7 times, most recently from 3ffa40b to eb0d39f Compare October 29, 2024 18:31
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 5 times, most recently from 37c1106 to 7c6ccf5 Compare November 6, 2024 13:36
@renovate renovate bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from e37e16c to 2ba5e9f Compare November 15, 2024 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants