---
title: "Nuxt Sitemap v7.0.0"
description: "Release notes for v7.0.0 of Nuxt Sitemap."
canonical_url: "https://nuxtseo.com/docs/sitemap/releases/v7"
last_updated: "2026-05-20T20:37:00.616Z"
---

## Introduction

The v7 major of Nuxt Sitemap is a simple release to remove deprecations and add support for the [Nuxt SEO v2 stable](/announcement).

## <icon name="i-noto-warning"></icon> Breaking Features

### Site Config v3

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

The major update to v3.0.0 shouldn't have any direct effect on your site, however, you may want to double-check
the [breaking changes](https://github.com/harlan-zw/nuxt-site-config/releases/tag/v3.0.0).

### Removed `inferStaticPagesAsRoutes` config

If you set this value to `false` previously, you will need to change it to the below:

```diff
export default defineNuxtConfig({
    sitemap: {
-       inferStaticPagesAsRoutes: false,
+       excludeAppSources: ['nuxt:pages', 'nuxt:route-rules', 'nuxt:prerender']
    }
})
```

### Removed `dynamicUrlsApiEndpoint` config

The `sources` config supports multiple API endpoints and allows you to provide custom fetch options, use this instead.

```diff
export default defineNuxtConfig({
    sitemap: {
-       dynamicUrlsApiEndpoint: '/__sitemap/urls',
+       sources: ['/__sitemap/urls']
    }
})
```

### Removed `cacheTtl` config

Please use the `cacheMaxAgeSeconds` as its a clearer config.

```diff
export default defineNuxtConfig({
    sitemap: {
-       cacheTtl: 10000,
+       cacheMaxAgeSeconds: 10000
    }
})
```

### Removed `index` route rule / Nuxt Content support

If you were using the `index: false` in either route rules or your Nuxt Content markdown files, you will need to update this to use the `robots` key.

```diff
export default defineNuxtConfig({
  routeRules: {
    // use the `index` shortcut for simple rules
-    '/secret/**': { index: false },
+    '/secret/**': { robots: false },
  }
})
```
