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 nuxt core #68

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

chore(deps): update nuxt core #68

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 15, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@nuxt/content (source) ^2.12.1 -> ^2.13.4 age adoption passing confidence
@nuxt/devtools (source) ^1.3.1 -> ^1.6.0 age adoption passing confidence
@nuxt/eslint-config (source) ^0.3.12 -> ^0.6.1 age adoption passing confidence
@nuxt/kit (source) 3.11.2 -> 3.13.2 age adoption passing confidence
@nuxt/module-builder ^0.6.0 -> ^0.8.4 age adoption passing confidence
@nuxt/schema (source) 3.11.2 -> 3.13.2 age adoption passing confidence
@nuxt/test-utils 3.12.1 -> 3.14.4 age adoption passing confidence

Release Notes

nuxt/content (@​nuxt/content)

v2.13.4

Compare Source

compare changes

🏡 Chore
❤️ Contributors

v2.13.3

Compare Source

compare changes

🩹 Fixes
  • module: Allow using @nuxtjs/mdc utils via content module (#​2775)
  • search: Add charset=utf-8 to headers of indexed mode (#​2729)
  • docs: Add warning about using ssr: false with Content (#​2776)
  • Corrected .gradient class (#​2723)
  • build: Keep parser deps out of main bundle (#​2780)
  • navigation: Respect query locale (#​2772)
  • Import defineNitroPlugin from #imports (34f65172)
  • Respect draft key as _draft (#​2738)
  • Draft field order (b0b5eb2d)
📖 Documentation
  • Fix incorrect TS types import path in documentation (#​2773)
  • Missing imports and typo in code blocks (#​2741)
  • Changed types path (#​2735)
  • Fix typo in SSR warning on Installation page (#​2777)
  • Update link to downloads count badge (c1d6ad14)
🏡 Chore
❤️ Contributors

v2.13.2

Compare Source

compare changes

🚀 Enhancements
🩹 Fixes
  • Add string type to gt/lt/gte/lte type definitions (#​2704)
  • search: Non-md file might not have dscription file (#​2706)
  • module: Disable MDC plugin if user disabled it (#​2707)
  • Unwatch storage on nitro close (ec7105ad)
📖 Documentation
  • Add missing await for searchContent docs (#​2692)
  • Prerender home (4253f0bf)
  • Update nuxt-og-image and add postinstall script (#​2705)
  • Update ContentSlot Documentation (#​2713)
🤖 CI
❤️ Contributors

v2.13.1

Compare Source

compare changes

🔥 Performance
  • dev-cache: Improve localhost markdown page navigation performance (when having 2,000+ pages) (#​2675)
🩹 Fixes
  • module: Do not force prerender index page (#​2681)
  • Hot reload on dev server for documentDriven: false (#​2686)
📖 Documentation
  • Typo in configuration (#​2677)
  • Add missing await keyword in search documentation (#​2687)
🏡 Chore
❤️ Contributors

v2.13.0

Compare Source

compare changes

🚀 Enhancements
  • Top level content/ directory in Nuxt 4 compatibility version (#​2649)
🩹 Fixes
  • Optimise nested dependencies (#​2583)
  • Opt in to import.meta.* properties (#​2597)
  • Ignore unsupported files from contents list (#​2607)
  • module: Convert content-slot to MDCSlot (#​2632)
  • Fix typo in logger warning message (#​2626)
  • search: Keep page's beginning paragraphs (#​2658)
  • Add Nitro hooks types declarations (#​2655)
  • Filter draft files in production (#​2648)
  • search: Use page title as default title for sections (9d81acc2)
  • Init storage only when used (#​2670)
  • Use runtimeconfig only when necessary (6f06f356)
  • Do not update devDependencies (062fb97f)
  • search: Improve sections with root node (#​2672)
  • prerender: Ensure / exists inside prerender rotues (#​2673)
📖 Documentation
🏡 Chore
❤️ Contributors
nuxt/devtools (@​nuxt/devtools)

v1.6.0

Compare Source

Bug Fixes

1.5.2 (2024-10-02)

Bug Fixes
  • try downgrade vite-plugin-vue-inspector (572a0d6)

1.5.1 (2024-09-23)

Bug Fixes

v1.5.2

Compare Source

Bug Fixes
  • try downgrade vite-plugin-vue-inspector (572a0d6)

v1.5.1

Compare Source

Bug Fixes

v1.5.0

Compare Source

Bug Fixes

1.4.2 (2024-09-10)

Bug Fixes

1.4.1 (2024-08-26)

Bug Fixes

v1.4.2

Compare Source

Bug Fixes

v1.4.1

Compare Source

Bug Fixes

v1.4.0

Compare Source

Features
  • kit: introduce host-client utility (167373c)

1.3.14 (2024-08-20)

1.3.13 (2024-08-20)

1.3.12 (2024-08-20)

1.3.11 (2024-08-20)

1.3.10 (2024-08-20)

Bug Fixes
Features

1.3.9 (2024-07-02)

Bug Fixes
  • capture for circular reference in state editor (841fd76)
  • introduce client.revision to trigger state editor update (418a22e)
  • modules: update compatibility check for Nuxt 3 and 4 (#​689) (2354da7)
  • use ofetch for fast-npm-meta (4188f8d)

1.3.8 (2024-07-02)

Performance Improvements
  • avoid deps on npm-registry-fetch, save install size (3d74691)

1.3.7 (2024-06-27)

Bug Fixes
Features
Performance Improvements
  • use npm-registry-fetch instead of pacote to deduce the package size (a049c52)

1.3.6 (2024-06-21)

Features

1.3.5 (2024-06-21)

Bug Fixes
  • downgrade module-builder (de79dc4)

1.3.4 (2024-06-21)

Bug Fixes

1.3.3 (2024-06-04)

Bug Fixes

1.3.2 (2024-05-27)

Bug Fixes

1.3.1 (2024-05-10)

Bug Fixes
  • module builder chunk path patch (87199a1)

v1.3.14

Compare Source

v1.3.9

Compare Source

Bug Fixes
  • capture for circular reference in state editor (841fd76)
  • introduce client.revision to trigger state editor update (418a22e)
  • modules: update compatibility check for Nuxt 3 and 4 (#​689) (2354da7)
  • use ofetch for fast-npm-meta (4188f8d)

v1.3.8

Compare Source

Performance Improvements
  • avoid deps on npm-registry-fetch, save install size (3d74691)

v1.3.7

Compare Source

Bug Fixes
Features
Performance Improvements
  • use npm-registry-fetch instead of pacote to deduce the package size (a049c52)

v1.3.6

Compare Source

Features

v1.3.5

Compare Source

Bug Fixes
  • downgrade module-builder (de79dc4)

v1.3.4

Compare Source

Bug Fixes

v1.3.3

Compare Source

Bug Fixes

v1.3.2

Compare Source

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

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

v0.3.13

Compare Source

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

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

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 changed the title chore(deps): update devdependency @nuxt/test-utils to v3.13.0 chore(deps): update nuxt core May 17, 2024
@renovate renovate bot force-pushed the renovate/nuxt branch 2 times, most recently from 17bb6c3 to e1ee5c7 Compare May 22, 2024 18:05
@renovate renovate bot force-pushed the renovate/nuxt branch 3 times, most recently from 8884942 to 77c4746 Compare June 11, 2024 13:28
@renovate renovate bot force-pushed the renovate/nuxt branch 2 times, most recently from f4d1c89 to 438a843 Compare June 16, 2024 09:02
@renovate renovate bot force-pushed the renovate/nuxt branch 4 times, most recently from edef0a7 to cdcd643 Compare June 21, 2024 21:53
@renovate renovate bot force-pushed the renovate/nuxt branch 3 times, most recently from 51ea05b to b66e9a5 Compare July 2, 2024 17:13
@renovate renovate bot force-pushed the renovate/nuxt branch 2 times, most recently from 01da934 to 0531ca3 Compare July 19, 2024 19:04
@renovate renovate bot force-pushed the renovate/nuxt branch 2 times, most recently from ff15605 to 415603d Compare July 27, 2024 22:59
@renovate renovate bot force-pushed the renovate/nuxt branch 4 times, most recently from 4f2ed1e to a3854f0 Compare August 19, 2024 13:50
@renovate renovate bot force-pushed the renovate/nuxt branch 3 times, most recently from a211ec0 to 714d69b Compare August 29, 2024 13:32
@renovate renovate bot force-pushed the renovate/nuxt branch 3 times, most recently from 03abe0c to cb51ff4 Compare September 4, 2024 10:01
@renovate renovate bot force-pushed the renovate/nuxt branch 5 times, most recently from 2684e00 to dfa204a Compare September 11, 2024 10:58
@renovate renovate bot force-pushed the renovate/nuxt branch 2 times, most recently from eedaf08 to 39338ec Compare September 20, 2024 16:12
@renovate renovate bot force-pushed the renovate/nuxt branch 2 times, most recently from 5527800 to 699e7b4 Compare October 7, 2024 13:12
@renovate renovate bot force-pushed the renovate/nuxt branch 3 times, most recently from c76cc10 to cb9ee27 Compare October 15, 2024 15:25
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