Skip to content

Update dependency @nuxtjs/sitemap to v8#129

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/nuxtjs-sitemap-8.x
Open

Update dependency @nuxtjs/sitemap to v8#129
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/nuxtjs-sitemap-8.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 6, 2026

This PR contains the following updates:

Package Change Age Confidence
@nuxtjs/sitemap 7.6.08.0.15 age confidence

Release Notes

nuxt-modules/sitemap (@​nuxtjs/sitemap)

v8.0.15

Compare Source

   🏎 Performance
    View changes on GitHub

v8.0.14

Compare Source

   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v8.0.13

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v8.0.12

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v8.0.11

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v8.0.9

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v8.0.8

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v8.0.7

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v8.0.6

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v8.0.5

Compare Source

No significant changes

    View changes on GitHub

v8.0.4

Compare Source

No significant changes

    View changes on GitHub

v8.0.3

Compare Source

No significant changes

    View changes on GitHub

v8.0.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v8.0.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v8.0.0

Compare Source

The v8 release focuses on a fully rewritten devtools experience and several quality of life improvements for Nuxt Content v3 and i18n users.

⚠️ Breaking Changes

Site Config v4

Nuxt Site Config is a module used internally by Nuxt Sitemap.

The major update to v4.0.0 shouldn't have any direct effect on your site, however, you may want to double-check
the breaking changes.

asSitemapCollection() Deprecated

The asSitemapCollection() composable has been replaced by defineSitemapSchema(). The old API still works but will log a deprecation warning.

import { defineCollection, z } from '#content/collections'
- import { asSitemapCollection } from '#sitemap/content'
+ import { defineSitemapSchema } from '#sitemap/content'

export const collections = {
-  content: defineCollection(asSitemapCollection({
-    type: 'page',
-    source: '**/*.md',
-    schema: z.object({ title: z.string() })
-  }))
+  content: defineCollection({
+    type: 'page',
+    source: '**/*.md',
+    schema: z.object({
+      title: z.string(),
+      sitemap: defineSitemapSchema()
+    })
+  })
}

🚀 New Features

defineSitemapSchema() Composable

A new composable for Nuxt Content v3 that provides a cleaner API for integrating sitemap configuration into your content collections. Supports filter, onUrl, and name options.

import { defineCollection, z } from '#content/collections'
import { defineSitemapSchema } from '#sitemap/content'

export const collections = {
  content: defineCollection({
    type: 'page',
    source: '**/*.md',
    schema: z.object({
      title: z.string(),
      sitemap: defineSitemapSchema({
        filter: entry => !entry.path?.startsWith('/draft'),
        onUrl: (url) => {
          // customize URL entries
          return url
        }
      })
    })
  })
}
definePageMeta Sitemap Configuration

You can now configure sitemap options directly in your page components using definePageMeta.

<script setup>
definePageMeta({
  sitemap: {
    changefreq: 'daily',
    priority: 0.8
  }
})
</script>
i18n Multi-Sitemap with Custom Sitemaps

Custom sitemaps with includeAppSources: true are now automatically expanded per locale, generating {locale}-{name} formatted sitemaps.

Debug Production Endpoint

A new /__sitemap__/debug-production.json endpoint is available in development mode, allowing you to inspect what the production sitemap output will look like during development.

🐛 Bug Fixes

  • Content v3: Filter .navigation paths from sitemap URL generation
  • Content v3: Guard afterParse hook to prevent silent HMR failures
  • i18n: Include base URL in multi-sitemap redirect
  • i18n: Fix exclude filters when base URL and i18n prefixes are present
  • i18n: Respect autoI18n: false to generate single sitemap instead of per-locale sitemaps
  • Types: Use robots instead of index in route rules type definition
  • Chunked sitemaps: Fix path resolution with sitemapsPathPrefix: '/'

⚡ Performance

  • Replaced chalk with consola/utils for a smaller bundle
  • Use URL.canParse() instead of try/catch new URL() for URL validation
  • Use addPrerenderRoutes() API instead of manual route pushing
   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "on Monday"
  • 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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • 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 force-pushed the renovate/nuxtjs-sitemap-8.x branch from 165475f to 5d7eb54 Compare April 7, 2026 13:49
@renovate renovate Bot changed the title chore(deps): update dependency @nuxtjs/sitemap to v8 Update dependency @nuxtjs/sitemap to v8 Apr 8, 2026
@renovate renovate Bot force-pushed the renovate/nuxtjs-sitemap-8.x branch from 5d7eb54 to 41c5390 Compare April 8, 2026 20:45
@renovate renovate Bot force-pushed the renovate/nuxtjs-sitemap-8.x branch from 41c5390 to 6d3c498 Compare April 16, 2026 11:00
@renovate renovate Bot force-pushed the renovate/nuxtjs-sitemap-8.x branch 3 times, most recently from 8f9b334 to 4012671 Compare May 1, 2026 14:47
@renovate renovate Bot force-pushed the renovate/nuxtjs-sitemap-8.x branch from 4012671 to ba9177d Compare May 12, 2026 10:57
@renovate renovate Bot force-pushed the renovate/nuxtjs-sitemap-8.x branch from ba9177d to 54dd05e Compare May 18, 2026 14:43
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