Repository navigation
Releases
v1.0.0-beta.2
v1.0.0-beta.2 (2026-10-22)
⚠️ Breaking Changes
- Update Payload to 4.0.0-beta.4 and Node.js to 24.22.1+ (015bb8d) by @maximseshuk
⚙️ CI
- Skip Payload 4 canary releases in Dependabot (c7f3095) by @maximseshuk
v1.0.0-beta.1
v1.0.0-beta.1 (2026-10-14)
First beta of the 1.x line: Sitemap for Payload 4. It has the same features and options as 0.x, which stays the line for Payload 3. Sitemap for Payload builds sitemap.xml from your Payload content, stores the files through any Payload storage adapter and keeps them fresh.
pnpm add @seshuk/payload-plugin-sitemap@betaUpgrade from 0.x
- Update Payload to 4 and Node.js to 24.15+.
- Your plugin options stay the same.
- Move the storage adapter for the sitemap files collection from
pluginsto the top-levelstoragelist, like your other upload collections. jobs.enableConcurrencyControlis no longer needed: sitemap jobs never run in parallel.- Payload 4 keeps the draft status per locale. A document is listed in a locale only when it is published in that locale.
- Run
payload generate:importmapagain.
Requirements
- Payload 4 and Node.js 24.15+.
- Something that runs Payload jobs (
jobs.autoRun,payload jobs:runon a cron, or your own worker), orjobs: falseto start runs yourself. - Run
payload generate:importmapafter you add the plugin.
Features
- Index and child sitemaps. Split at the spec limits (50,000 URLs or 50 MB), with images and hreflang.
- Any source. Collections, static pages and your own URL lists in one
sourcesarray.url: '/blog/:slug'is enough. Every option is checked at startup. - Only public pages. By default, read as an anonymous visitor. Drafts are never listed.
- Editors in control. Exclude a page or set its priority right in the document.
- Locales and tenants. A domain per locale, and a sitemap per tenant with
@payloadcms/plugin-multi-tenant. - Any storage. S3, R2, Bunny, Vercel Blob, local disk or your own
upload. Optional publish to a CDN. - Fresh and safe. Edits queue one job, unchanged files are skipped, and a failed run keeps the old files online.
- Stable URLs.
/api/sitemap.xmlwithETagand304, or the same files on your site domain withsitemapProxy. - Admin page and widget. Status, file table and a Regenerate button, in every language Payload ships.
The plugin sends anonymous usage telemetry: plugin, Payload and Node.js versions and which features are on. Turn it off with telemetry: false, SITEMAP_TELEMETRY_DISABLED=1 or DO_NOT_TRACK=1.
⚠️ Breaking Changes
- Support Payload 4 (648f093) by @maximseshuk
v0.1.0
v0.1.0 (2026-10-14)
First release of Sitemap for Payload. It builds sitemap.xml from your Payload content, stores the files through any Payload storage adapter and keeps them fresh. This line is for Payload 3. For Payload 4, use the beta tag (1.x).
pnpm add @seshuk/payload-plugin-sitemapRequirements
- Payload 3.83+ and Node.js 22+.
- Something that runs Payload jobs (
jobs.autoRun,payload jobs:runon a cron, or your own worker), orjobs: falseto start runs yourself. - Run
payload generate:importmapafter you add the plugin.
Features
- Index and child sitemaps. Split at the spec limits (50,000 URLs or 50 MB), with images and hreflang.
- Any source. Collections, static pages and your own URL lists in one
sourcesarray.url: '/blog/:slug'is enough. Every option is checked at startup. - Only public pages. By default, read as an anonymous visitor. Drafts are never listed.
- Editors in control. Exclude a page or set its priority right in the document.
- Locales and tenants. A domain per locale, and a sitemap per tenant with
@payloadcms/plugin-multi-tenant. - Any storage. S3, R2, Bunny, Vercel Blob, local disk or your own
upload. Optional publish to a CDN. - Fresh and safe. Edits queue one job, unchanged files are skipped, and a failed run keeps the old files online.
- Stable URLs.
/api/sitemap.xmlwithETagand304, or the same files on your site domain withsitemapProxy. - Admin page and widget. Status, file table and a Regenerate button, in every language Payload ships.
The plugin sends anonymous usage telemetry: plugin, Payload and Node.js versions and which features are on. Turn it off with telemetry: false, SITEMAP_TELEMETRY_DISABLED=1 or DO_NOT_TRACK=1.
🚀 Features
- Initial commit (d46d2c2) by @maximseshuk