Skip to content

Releases: nuxt-modules/sitemap

v1.0.6

28 Jan 09:14
Compare
Choose a tag to compare

Bug Fixes

v1.0.5

25 Jan 02:40
Compare
Choose a tag to compare
chore: release v1.0.5

v1.0.4

25 Jan 02:33
Compare
Choose a tag to compare

Bug Fixes

  • opt-out of page route mapping with inferStaticPagesAsRoutes (dbf44c6)

v1.0.3

24 Jan 01:42
Compare
Choose a tag to compare
chore: release v1.0.3

v1.0.2

21 Jan 08:49
Compare
Choose a tag to compare
chore: release v1.0.2

v1.0.1

21 Jan 08:33
Compare
Choose a tag to compare

Bug Fixes

v1.0.0

21 Jan 08:28
Compare
Choose a tag to compare

✨ v1 Release

With support for non-prerendered apps and development previews now available, the module is now at a stable release version.

If you have any feedback on the release, please submit an issue or get in touch 🙂!

🚀 Features

Prerendering is no longer required

When the module starts, it will now detect all your static routes and automatically add them to the sitemap.

You can opt-out of any of the discovered URLs with the nitro route rules { index: false }.

Dev Sitemap preview

Previewing the sitemap in development is now possible for static routes, you can visit /sitemap.preview.xml.

It won't be able to accurately show you dynamic routes if you're relying on the nitro crawler though.

New config: defaults

  • Type: object
  • Default: {}

Default values for the sitemap entries. See sitemaps.org for all available options.

New config: urls

  • Type: () => MaybePromise<SitemapEntry[]> | MaybePromise<SitemapEntry[]>
  • Default: []

Provide custom URLs to be included in the sitemap.xml.

New config: devPreview

  • Type: boolean
  • Default: true

Whether to generate the sitemap preview in development.
It can be useful to disable if you have fetch requests to external APIs.

🐛 Fixes

  • Nitro route rules for the sitemap now have the correct types

v0.5.10

16 Jan 08:32
Compare
Choose a tag to compare

Bug Fixes

  • types: return of sitemap:generate hook (e979826)

v0.5.9

12 Jan 02:08
Compare
Choose a tag to compare

Bug Fixes

v0.5.8

05 Jan 23:44
Compare
Choose a tag to compare

Bug Fixes

  • avoid duplicate sitemap entries (cfde25e), closes #3
  • trailing slash urls can discover route rules (55b440a)