Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

chore(deps): update nuxt core #59

Merged
merged 1 commit into from
Nov 6, 2023
Merged

chore(deps): update nuxt core #59

merged 1 commit into from
Nov 6, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 23, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@nuxt/kit 3.6.5 -> 3.8.0 age adoption passing confidence
@nuxt/module-builder 0.4.0 -> 0.5.2 age adoption passing confidence
@nuxt/schema 3.6.5 -> 3.8.0 age adoption passing confidence
@nuxt/test-utils 3.6.5 -> 3.8.0 age adoption passing confidence
nuxt 3.6.5 -> 3.8.0 age adoption passing confidence

Release Notes

nuxt/nuxt (@​nuxt/kit)

v3.8.0

Compare Source

👀 Highlights

We have a lot of exciting features in v3.8, and can't wait for you to try it out.

💻 Nuxi improvements

Just to remind you, we're now using the new Nuxt CLI which is now versioned separately. There are some exciting improvements there to follow, so do check out the latest releases. (For example, we now share the same port with the Vite websocket, meaning better support for docker containers in development.)

🚨 Built-in Nuxt DevTools

Nuxt DevTools v1.0.0 is out and we now think it's ready to be shipped as a direct dependency of Nuxt.

👉 You can check out the release notes for more information - and stay tuned for an article detailing our roadmap for the future.

📸 Nuxt Image auto-install

We've now made <NuxtImg> and <NuxtPicture> first-class built-in components, documenting them and auto-installing @nuxt/image the first time that they are used (#​23717).

autoinstall2.mp4

We would definitely advise using @nuxt/image if you're using images in your site; it can apply optimisations to make your site more performant.

📂 Deeper layout scanning

🚨 This is a behaviour change so do take care with this one: 🚨

We now support scanning layouts within subfolders in ~/layouts in the same way as we do with ~/components.

File | Layout name
-- | --
~/layouts/desktop/default.vue | 'desktop-default'
~/layouts/desktop-base/base.vue | 'desktop-base'
~/layouts/desktop/index.vue | 'desktop'

See #​20190 for more information

📊 App Manifest

We now support a built-in app manifest (see #​21641), which generates a manifest at /_nuxt/builds/meta/<buildId>.json.

Initially this enables loading payloads only for prerendered routes, if a site is static (preventing 404s). It also enables client-side route rules. To begin with, only redirect route rules will have an effect; they will now redirect when performing client-side navigation. (More coming soon...!)

The app manifest also enables future enhancements including detection of outdated deployments by checking /_nuxt/builds/latest.json.

You can switch off this behaviour if you need to (but do let us know if you have any issues):

export default defineNuxtConfig({
  experimental: {
    appManifest: false
  }
})
🤝 Scope and context improvements

We now define a 'scope' for Nuxt composables executed in plugins (#​23667), which allows running synchronous cleanup before navigating away from your site, using the Vue onScopeDispose lifecycle method. This should fix an edge case with cookies (#​23697) and also improves memory management, for example in Pinia stores (#​23650). You can read more about Vue effect scopes.

We also now support native async context for the Vue composition API (#​23526). In case you're unaware, we support native async context on Node and Bun, enabled with experimental.asyncContext. This can help address issues with missing a Nuxt instance. But it didn't previously affect missing Vue instances.

If you experience issues with 'Nuxt instance unavailable', enabling this option may solve your issues, and once we have cross-runtime support we are likely to enable it by default.

export default defineNuxtConfig({
  experimental: {
    asyncContext: true
  }
})
🔗 NuxtLink defaults

We've supported defining your own NuxtLink components with the defineNuxtLink utility. We now support customising the options for the built-in <NuxtLink>, directly in your nuxt.config file (#​23724). This can enable you to enforce trailing slash behaviour across your entire site, for example.

export default defineNuxtConfig({
  experimental: {
    defaults: {
      nuxtLink: {
        activeClass: 'nuxt-link-active',
        trailingSlash: 'append'
      }
    }
  }
})
⚡️ Data fetching improvements: deep and caching

We have two very significant new features for useAsyncData and useFetch:

  1. You can now set deep: false to prevent deep reactivity on the data object returned from these composables (#​23600). It should be a performance improvement if you are returning large arrays or objects. The object will still update when refetched; it just won't trigger reactive effects if you change a property deep within the data.
  2. You can now use the getCachedData option to handle custom caching for these composables (#​20747)
const nuxtApp = useNuxtApp()
const { data } = await useAsyncData(() => { /* fetcher */ }, {
  // this will not refetch if the key exists in the payload
  getCachedData: key => nuxtApp.payload.static[key] ?? nuxtApp.payload.data[key]
})

We also support configuring some default values for these composables in an app-wide way (#​23725):

export default defineNuxtConfig({
  experimental: {
    defaults: {
      useAsyncData: {
        deep: false
      },
      useFetch: {
        retry: false,
        retryDelay: 100,
        retryStatusCodes: [500],
        timeout: 100
      }
    }
  }
})
🔢 Layer improvements

We now more carefully load layer plugins (#​22889 and #​23148) and middleware (#​22925 and #​23552) in the order of the layers, always loading your own plugins and middleware last. This should mean you can rely on utilities that layers may inject.

We've also added a test suite to cover these layer resolution changes.

And probably one of the most significant changes - if you are using remote layers we now clone these within your node_modules/ folder (#​109) so layers can use dependencies with your project. See c12 release notes for full details.

😴 Nightly release channel

Every commit to the main branch of Nuxt is automatically deployed to a new release, for easier testing before releases. We've renamed this from the 'edge release channel' to the 'nightly release channel' to avoid confusion with edge deployments. And probably also with Microsoft Edge (though I haven't heard that anyone was confused with that one!)

➡️ nuxt3 is now nuxt-nightly
➡️ nuxi-edge is now nuxi-nightly
➡️ @​nuxt/kit-edge is now @​nuxt/kit-nightly

... and so on.

You can read more about how it works.

⚗️ Nitro v2.7

Nitro v2.7 has been released with lots of improvements and bug fixes - do check out the full changelog.

🔥 One of the most significant is that we now save ~40% of bundle size in production by using native fetch (which is supported in Node 18+) (#​1724). So if possible, we'd recommend you update your Node version to at least 18.

💪 Type import changes

🚨 This is likely to need code changes in your project 🚨

Vue requires that type imports be explicit (so that the Vue compiler can correctly optimise and resolve type imports for props and so on). See core Vue tsconfig.json.

We've therefore taken the decision to turn on verbatimModuleSyntax by default in Nuxt projects, which will throw a type error if types are imported without an explicit type import. To resolve it you will need to update your imports:

- import { someFunction, SomeOptions } from 'some-library'
+ import { someFunction } from 'some-library'
+ import type { SomeOptions } from 'some-library'

You may also encounter modules in the Nuxt ecosystem that need to be updated; please open an issue for those modules. I'm also very happy to help if you're encountering any problems with this, if you're a module author. Just tag me and I'll take a look.

If for whatever reason you need to undo this change in your project you can set the following configuration:

export default defineNuxtConfig({
  typescript: {
    tsConfig: {
      compilerOptions: {
        verbatimModuleSyntax: false
      }
    }
  }
})

However, we'd recommend only doing that temporarily, as Vue does need this option to be set for best results.

✅ Upgrading

As usual, our recommendation for upgrading is to run:

nuxi upgrade

👉 Changelog

compare changes

🚀 Enhancements
  • kit: Add addServerImports and addServerImportsDir (#​23288)
  • nuxt: Warn when nesting nuxt links when SSR on dev (#​23286)
  • nuxt: Add prerenderRoutes ssr composable (#​22863)
  • nuxt: Enable appManifest by default (#​23448)
  • nuxt: Native async-context in vue's withAsyncContext (#​23526)
  • nuxt: Auto-install optional features on StackBlitz (#​23607)
  • kit,nuxt,vite,webpack: Support -nightly extension (#​23508)
  • nuxt: Add @nuxt/devtools as dependency and enable (#​23576)
  • nuxt: Support deep: false for data composables (#​23600)
  • nuxt: Custom cache support for data fetching composables (#​20747)
  • nuxt: Scan and register layouts in nested folders (#​20190)
  • nuxt: Prompt to autoinstall @nuxt/image when it is used (#​23717)
  • nuxt: Allow configuring default <NuxtLink> options (#​23724)
  • nuxt: Allow customising defaults for data composables (#​23725)
🔥 Performance
  • vite: Don't print server compressed size after vite build (#​23359)
  • nuxt: Verbatim module syntax + restrict type discovery (#​23447)
🩹 Fixes
  • nuxt: Initialise asyncData errors with null (#​23428)
  • nuxt: Apply scoped styles to islands (#​23386)
  • nuxt: Rename stub to avoid shadowing vue-router (#​23440)
  • nuxt: Stringify cookie values before broadcasting them (#​23449)
  • kit: Don't force config.autoImport in addServerImports (#​23472)
  • nuxt: Ignore prefix if clearNuxtState called w/o keys (#​23483)
  • nuxt: Decrement hydration count when rendering no route (#​23476)
  • nuxt: Compute fetch cache key with headers (#​23462)
  • nuxt: Mock hookable methods on nuxt 2 (#​23502)
  • kit: Revert accidental change to addPrerenderRoutes name (#​23509)
  • nuxt: Use test/dev as manifest buildId when appropriate (#​23512)
  • nuxt: Don't print warnings for unresolved ids (#​23604)
  • nuxt: Use import alias when checking if plugin is wrapped (#​23617)
  • nuxt: Tree shake all occurrences of <DevOnly> (#​23466)
  • nuxt: Give priority to later middleware when deduping (#​23552)
  • nuxt: Clear cookie BroadcastChannel when scope is disposed (#​23664)
  • nuxt: Provide global scope for nuxt plugin context (#​23667)
  • nuxt: Resolve type error in options of useFetch (#​23693)
  • webpack: Remove lodash-es + simplify postcss resolution (#​23692)
  • nuxt: Skip hydration mismatches with client components (#​19231)
  • nuxt: Write cookie values before navigating away (#​23697)
  • nuxt: Refetch both undefined/null values in useAsyncData (#​23351)
  • nuxt: Don't mark redirected routes as prerendered (#​23707)
  • nuxt: Respect custom export in component transform (#​23715)
  • nuxt: Don't use prerenderedAt to override app manifest (#​23781)
  • nuxt: Restore prerenderedAt behaviour pending next patch (108b1bdf7)
📖 Documentation
  • Mention listhen options on nuxi dev page (#​23415)
  • Add examples for index.ts files on server routes (#​23390)
  • Improve data fetching section (#​23420)
  • Remove duplicated arrows (#​23436)
  • Extend description of handler for useAsyncData (#​23389)
  • Clarify bridge needs nitro to use runtimeConfig (#​23454)
  • Fix typo in README (#​23500)
  • Clarify that bridge.typescript option must be set. (#​23503)
  • Use html instead of xml for highlight (45c1e7f51)
  • Fix component library example in docs (#​23596)
  • Typo in modules (#​23602)
  • Reword local module info (#​23557)
  • Add server concept (#​23372)
  • Improve nuxt kit section (#​22375)
  • Update additional mentions to nightly release channel (c63f9a95d)
  • Rename /edge-channel page to /nightly-release-channel (#​23648)
  • Add section about computed url for data fetching (#​23605)
  • Fix typo (#​23656)
  • Remove extraneous brace (b9cb08cda)
  • Fix other issues with routeRules example (818dc626c)
  • Fix typo (#​23716)
  • Update types for useFetch/useAsyncData (#​23730)
  • Add info about <NuxtImg> and <NuxtPicture> (#​23741)
  • Update to new website (#​23743)
  • Remove redundant trailing slashes from links (#​23744)
  • Fix broken link (#​23750)
🏡 Chore
  • Fix various typos and update to US English (#​23580)
  • Add description field for packages (#​23734)
  • Bump nuxt devtools to 1.0 (#​23752)
  • Allow markdownlint upgrades (3d779fcf3)
  • Remove huntr + encourage GitHub vulnerability reporting (#​23754)
  • Refresh lockfile (#​23755)
  • Update to nitropack 2.7.0 (#​23780)
  • Upgrade to c12 1.5 with configurable layers (#​23782)
✅ Tests
  • nuxt: Add test suite for app resolution behaviour (#​23520)
  • Update prerender test (8d62c2add)
🤖 CI
  • Retry failing links 6 times (ad2a900fd)
  • Only dedupe dependencies if they affect bundle size (#​23736)
❤️ Contributors

v3.7.4

Compare Source

3.7.4 is a regularly scheduled patch release.

✅ Upgrading

As usual, our recommendation for upgrading is to run:

nuxi upgrade

👉 Changelog

compare changes

🩹 Fixes
  • nuxt: Use original escapes/quotes in page re-exports (#​23191)
  • schema: Default devServer host to undefined (#​23206)
  • nuxt: Correct islandsTransform slot regex (#​23226)
  • nuxt: Handle vite preload-helper id with extension (#​23230)
  • nuxt: Load layer middlewares before project middlewares (#​22925)
  • nuxt: Don't incl overridden layer pages as nested children (#​23238)
  • vite: Explicitly set vite manifest path (#​23276)
  • nuxt: Experimental build manifest + client route rules (#​21641)
  • nuxt: Generate empty file when shim is disabled (#​23333)
  • nuxt: Apply right types to modules and their runtime files (#​23240)
  • nuxt: Add import protection for nuxt/* exports (#​23357)
  • nuxt: Detect nested pages with /index segments (#​23404)
  • schema: Ignore pnpm store directory (3510cedc3)
💅 Refactors
  • nuxt: Use built-in consola prompts (#​23205)
  • kit,nuxt,schema: Use consola and improve test dx (#​23302)
📖 Documentation
  • Add documentation on nuxt2 command (#​23211)
  • Clarify nuxi start command usage (#​23215)
  • Close code-block in migration guide (#​23224)
  • Typo on callHook method (#​23231)
  • nuxt: Remove hanging word in modules docs (#​23242)
  • Update latest node.js version to 20.x (#​23252)
  • Add more files to srcDir JSDoc (#​23250)
  • Add steps for contributing to docs locally (#​23270)
  • Add support details and update roadmap (#​21867, #​21893)
  • Add nuxtApp.runWithContext (#​23258)
  • Update 'scheduled' status name (#​23307)
  • Fix links to configuration options (#​23324)
  • Update link to devtools.nuxt.com (#​23350)
  • Add explicit await to clarify sendRedirect is async (#​23345)
  • Remove version from npm links to redirect to latest (#​23371)
  • Add tryUseNuxt to kit context utils list (#​23373)
🏡 Chore
🤖 CI
  • Add lychee link checker (#​23254)
  • Rename linkChecker job to link-checker (#​23319)
  • Don't run link checker on pushes to main (e0ddcfa9e)
❤️ Contributors

v3.7.3

Compare Source

3.7.3 is a hotfix release to address a regression introduced in 3.7.2.

👉 Changelog

compare changes

🩹 Fixes
  • nuxt: Ensure plugins retain original order (#​23174)
  • nuxt: Allow importing server components from #components (#​23188)
💅 Refactors
  • nuxt: Don't wrap server placeholders/client fallbacks (#​21980)
📖 Documentation
  • Added missing leading slash (#​23169)
  • Update internal issue decision making flowchart link (#​23162)
❤️ Contributors

v3.7.2

Compare Source

3.7.2 is a regularly scheduled patch release.

✅ Upgrading

As usual, our recommendation for upgrading is to run:

nuxi upgrade

👉 Changelog

compare changes

🩹 Fixes
  • nuxt: Scroll to top by default on dynamic routes (#​22403)
  • nuxt: Don't joinURL with remote sources on NuxtIsland (#​23093)
  • nuxt: Exclude data-v attrs from server component props (#​23095)
  • nuxt: Handle optional params within a path segment (#​23070)
  • nuxt: Include method when creating useFetch auto key (#​23086)
  • vite: Add css to manifest without cssCodeSplit (#​23049)
  • nuxt: Find parent routes by exact path match (#​23040)
  • nuxt: Load spaLoadingTemplate if file exists (#​23048)
  • nuxt: Handle unset spa-loading fallback (#​23120)
  • kit: Improve generated tsconfig.json defaults (#​23121)
  • vite: Remove dev styles injected via absolute path (#​23126)
  • nuxt: Default scanned layer components to priority 0 (#​23127)
  • nuxt: Allow granularly overriding pages in layers (#​23134)
  • nuxt: Respect layer order for other layer plugins (#​23148)
  • nuxt: Allow changing dirs within modules (#​23133)
  • nuxt: Allow overriding components + only warn if clash (#​23156)
📖 Documentation
  • Remove 'caching' section from data fetching (fe29948fe)
  • Fix broken links on experimental features (#​23052)
  • Fix typo (#​23060)
  • Add name param to PageMeta interface description (#​23107)
  • Fix typo for experimental.componentIslands (#​23138)
  • Change NuxtLabs UI to Nuxt UI (#​23150)
  • Fix typo in nuxi init command (#​23155)
🏡 Chore
🤖 CI
❤️ Contributors

v3.7.1

Compare Source

3.7.1 is a regularly scheduled patch release.

✅ Upgrading

As usual, our recommendation for upgrading is to run:

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

🔥 Performance
  • nuxt: Prevent head dom from rendering twice (#​22974)
  • nuxt: Decrease default bundle size (#​22999)
🩹 Fixes
  • nuxt: Exclude resolved vite virtual modules prefix (#​22834)
  • nuxt: Ensure typed layout prop persists through build (#​22855)
  • nuxt: Render server components when ssr: false (#​22869)
  • kit: Respect priority when registering components dirs (#​22882)
  • kit: Allow passing a string to addLayout (#​22902)
  • nuxt: Ensure middleware is processed when returning true (#​22905)
  • nuxt: Unpause dom updates on error (#​22945)
  • nuxt: Disallow write: false for type templates (#​22972)
  • vite: Don't set explicit conditions in shouldExternalize (#​22991)
  • nuxt: Render inlined ssr styles before stylesheets (#​22986)
  • nuxt: Improve types within plugin templates (#​22998)
  • nuxt: Load layer plugins before project plugins (#​22889)
  • nuxt: Use destr in more places over JSON.parse (#​22997)
  • nuxt: Resolve head instance from Nuxt app (#​22973)
  • nuxt: Always use increment for id with client side islands (#​22975)
📖 Documentation
  • Add info about dynamic nested routes (#​22862)
  • Update nuxt bridge migration guide (#​22815)
  • Rename nuxt-community to nuxt-modules (9991da634)
  • Add banner for readme (e92d99db3)
  • Simplify readme (681f92915)
  • Text center on banner (ea5142176)
  • Clarify that 'it' is <NuxtPage> (#​22912)
  • Update examples of dynamic pageKey (#​22920)
  • Fix types in 'server utilities' example (#​22978)
  • Describe env object for nuxt plugins (#​22963)
  • Docs/3.api/3.utils/define-page-meta.md (#​23006)
  • Accessing custom props for NuxtLayout (#​22989)
  • Add information about server component context (#​22964)
🏡 Chore
  • Fix variable name in release scripts (adb6ec674)
  • Track nuxi-edge rather than nuxi-ng (9610cf03d)
🤖 CI
  • Create 2.x release branch as well (cdf9b5547)
  • Use GITHUB_REF_NAME to get branch for release (d49ea58de)
  • Use changelogen utility to get current branch (7431e2258)
❤️ Contributors

v3.7.0

Compare Source

👀 Highlights
🐣 A New CLI

We've refactored nuxi using unjs/citty and this marks the first Nuxt release that depends on the new version, safely in its own repository. We have grand plans for this - check out some of the features + roadmap discussions in nuxt/cli and please feel free to contribute!

Nuxi is now decoupled from the main nuxt version - we plan to iterate and release nuxi more quickly in future so you can expect new things coming soon!

🕸️ Native Web Streams and Response

With improvements in unjs/h3 and unjs/nitro, it's now possible to directly return a Response object from server routes, meaning it's also possible to return and handle streams natively in Nuxt.

👉 Check out the full detail in the unjs/h3 and unjs/nitro release notes.

🔥 HTML Rendering Optimisations

This release comes with a couple of improvements in rendering HTML responses from the server. We now determine whether to preload/prefetch resources at build time (so you can customise this in the build:manifest hook). We also now manage rendering the HTML for them directly in unhead (#​22179), which means you can configure the order for <link>, <meta>, <script>, <style>, and more. And - in our preliminary testing - it's even faster!

It's possible to opt-in to upcoming head improvements with the experimental.headNext flag. This currently includes a new ordering algorithm based on capo.js (#​22431) and allows enabling future optimisations as they are released in unhead:

export default defineNuxtConfig({
  experimental: {
    headNext: true
  }
})

We'd love your thoughts - you can respond with any issues/feedback in this discussion.

🛠️ Build Environment Shortcuts

In your Nuxt config you can now use $client and $server shortcuts to easily define configuration that is specific to just the Vite client/server (#​22302) or webpack client/server (#​22304) builds. This previously was only possible with the vite:extendConfig and webpack:config hooks.

For example:

export default defineNuxtConfig({
  vite: {
    $client: {
      build: {
        rollupOptions: {
          output: {
            chunkFileNames: '_nuxt/[hash].js',
            assetFileNames: '_nuxt/[hash][extname]',
            entryFileNames: '_nuxt/[hash].js'
          }
        }
      }
    }
  }
})
⚡️ Vite 4.4

We've chosen to unpin Vite from minor versions, meaning whenever Vite releases a new feature version you can opt-in straight away. Vite 4.4 brings a lot of exciting things, including experimental Lightning CSS support - and much more!

👉 Check out the Vite release notes for more.

💪 TypeScript Updates

We now use purely relative paths in the generated tsconfig.json instead of setting a baseUrl. This means better support for dev environments like docker images where the absolute path may not match your IDE (#​22410).

We also set a couple of additional compiler flag defaults to match Vite/TS recommendations (#​22468).

Plus, you should now get type hinted access to layouts in setPageLayout and also in <NuxtLayout name> (#​22363).

🦄 Async Context support

If you've ever got an issue with 'Nuxt context unavailable' this might be one for you. We now support native async context for Bun and Node under an experimental flag, in both Nuxt and Nitro (#​20918).

This enables using Nuxt composables on the server without needing to ensure they are being called directly in a setup function. It also allows the same in Nitro, with a new useEvent() utility that is usable in server routes.

To try it out, you can enable experimental.asyncContext:

export default defineNuxtConfig({
  experimental: {
    asyncContext: true
  }
})
👓 Watcher Updates

We've fixed a couple of issues with watchers, meaning that you should need to restart your server less often - and you should see a significant performance increase if you are using layers.

⚗️ Nitro 2.6

There lots more exciting features coming directly from Nitro 2.6, including smaller, lighter servers and new persistent data storage in a .data directory.

👉 Read more in the full release article.

✅ Upgrading

As usual, our recommendation for upgrading is to run:

npx 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

🚀 Enhancements
  • vite: Unpin vite from minor (#​22031)
  • nuxt: Polyfill idle callback utils (#​21863)
  • nuxt: Smooth scroll behavior option (#​21948)
  • schema,vite: Allow $client and $server vite env overrides (#​22302)
  • schema,webpack: Allow $client and $server overrides (#​22304)
  • nuxt: Allow dynamic scrollToTop page meta (#​21741)
  • nuxt: Expose filtered templates in app:templatesGenerated hook (#​21935)
  • nuxt: Render all head tags on server with unhead (#​22179)
  • nuxt: Auto-install @nuxt/webpack-builder when needed (#​21747)
  • nuxt: Allow remote sources for islands (#​21592)
  • nuxt: Environment-specific plugin execution for islands (#​20726)
  • kit,nuxi: Add writeTypes utility (#​22385)
  • nuxt: Autocomplete layouts in setPageLayout/<NuxtLayout> (#​22362)
  • nuxt: Allow 'lazy' (non-blocking) server components (#​21918)
  • nuxt: Use build plugin to access nuxt route injection (#​21585)
  • vite,webpack: Tree-shakable import.meta.* build flags (#​22428)
  • nuxt: Resolve unresolved paths within node_modules (#​22478)
  • nuxt: Experimental native async context support (#​20918)
  • nuxt: Warn on external webpack/nitro/postcss config (#​22521)
  • nuxt: Allow experimental global: 'sync' components (#​22558)
  • nuxt: Make app.rootId optional (#​22528)
  • nuxt: Add experimental.headNext unhead integration (#​22620)
  • cli: Detect bun package manager (#​22673)
  • nuxt: Upgrade nitro + reduce node-specific usage (#​22515)
  • nuxt: Add support for routeRules defined within pages (#​20391)
  • schema: Support setting hidden sourcemaps (#​22787)
  • kit,nuxt: Respect nuxt ignore patterns in nitro (#​22808)
  • nuxt: Migrate to new nuxt/cli (#​22799)
  • schema: Export ./schema/config.schema.json subpath (#​22813)
🔥 Performance
  • nuxt: Export DefineNuxtConfig interface from nuxt/config (#​22391)
  • nuxt: Write templates in single sync step + improve logs (#​22384)
  • nuxt: Render css/inline css higher than resource hints (#​21793)
  • nuxt: Experimental support of capo.js head tag order (#​22431)
  • nuxt: Use LRU prerender cache and limit cached items (#​22465)
  • nuxt: Reduce multiple calls to .toLowerCase() (#​22743)
  • nuxt: Reduce multiple calls to dirname (#​22800)
🩹 Fixes
  • nuxt: Await prerender:routes hook (#​22247)
  • nuxt: Access resolved scrollBehaviorType (#​22264)
  • nuxt: Add overloads for asyncData generic + default (#​22258)
  • nuxt: Bind createClientOnly render function to ctx (#​22289)
  • webpack: Remove legacy support for build.extend (#​22305)
  • nuxt: Allow validate return typing to be either error or boolean (#​22323)
  • kit: Handle tuple-format modules in hasNuxtModule (#​22316)
  • nuxt: Components auto-import for JSX (#​22330)
  • nuxt: Pass (and handle) relative paths in builder:watch (#​22333)
  • nuxt: Use computed path value for useFetch hash (#​22378)
  • cli: Only strip extensions from files (#​22399)
  • nuxt: Disallow redirects to more script protocols (#​22366)
  • nuxt: Test watch paths against all layer srcDirs (#​22307)
  • nuxt: name is an optional prop for <NuxtLayout> (0d9a0b753)
  • kit: Don't unsubscribe from file writing (716a5b834)
  • nuxt: Support uppercase route methods in useFetch (#​22418)
  • kit: Remove baseUrl and use relative paths in tsconfig (#​22410)
  • nuxt: Print name of missing island component (#​22440)
  • nuxt: Broken capo.js injectHead usage (#​22447)
  • kit: Apply preferred options for esbuild transpilation (#​22468)
  • nuxt: Correctly update object cookies in useCookie (#​22474)
  • nuxt: Use internal:nuxt namespace (9b0d371b0)
  • nuxt: Remove unused normalize call (14bf2b02f)
  • cli: Display log when restarting nuxt (#​22500)
  • nuxt: Resolve type import paths (#​22476)
  • schema: webpack options should be optional (#​22524)
  • nuxt: Enable hmr of app.config.ts files (#​22494)
  • vite: Add hookable to externals list (4552d39c4)
  • vite: Disable assignement in replace plugin (37ba58630)
  • schema: Ignore empty string in app.{rootId ([rootTag} (#​22543)](nuxt/nuxt@rootTag}\` (#​22543)))
  • vite: Include import.meta build vars in define as well (#​22576)
  • nuxt: Provide fallback route (#​22580)
  • nuxt: Trigger immediate DOM update on page:finish (#​22566)
  • nuxt: Unsub from hooks when unmounting indicator (#​22592)
  • cli: Only watch distDir after first build (#​22614)
  • nuxt: Use relative paths when augmenting types (#​22633)
  • nuxt: Don't prompt to install packages in CI (#​22636)
  • cli: Ignore error if nitro is not enabled on bridge (#​22642)
  • nuxt: Remove experimental hash hydration (#​22648)
  • nuxt: Correct revive payload data type (#​22667)
  • vite: Use '' key for root scope in variable collector (#​22679)
  • nuxt: Warn when ignoring duplicate island/server component (#​22709)
  • nuxt: Add exclude paths to nitro tsconfig.server.json (#​22768)
  • nuxt: Recreate asyncData when immediate is disabled (#​20980)
  • nuxt: Respect ignorelist when scanning auto-imports (#​22782)
  • schema: Mark schema as free of side effects (#​22793)
  • nuxt: Default spaLoadingTemplate to false (#​22798)
  • nuxt: Fully resolve unctx where possible (#​22811)
  • vite: Only mark nitro deps as externals when building (#​22812)
💅 Refactors
  • nuxi,schema: Move loading template into schema (#​22336)
  • nuxt: Add additional flag to enable remote sources (#​22409)
  • nuxt: Use nuxi-ng for edge releases (#​22413)
  • nuxt: Import useNitroApp from subpath (#​22785)
📖 Documentation
  • Mention #components import for dynamic component (#​22231)
  • Fix typo (#​22308)
  • Add information on how to type custom hooks (#​22312)
  • Correct manually typing runtime config example (#​22393)
  • Update .env section (#​22369)
  • Add example for accessing vite config programmatically (#​18812)
  • Add recommendation to ins

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "before 4am on Monday" (UTC).

🚦 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/nuxt branch 7 times, most recently from accd6c2 to 5edd3cc Compare October 30, 2023 01:24
@renovate renovate bot merged commit 3b76a35 into main Nov 6, 2023
2 checks passed
@renovate renovate bot deleted the renovate/nuxt branch November 6, 2023 00:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants