Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix: Deduplicate changelog URLs by date

Sushmithamallesh03626f48f7fa
diff --git a/docs/app/sitemap.ts b/docs/app/sitemap.ts
index f845ea64c..25d60c15b 100644
--- a/docs/app/sitemap.ts
+++ b/docs/app/sitemap.ts
@@ -49,9 +49,10 @@ export default function sitemap(): MetadataRoute.Sitemap {
url: `${baseUrl}/toolkits/${toolkit.slug}`,
}));
- // Changelog pages
- const changelogPages = [...changelogEntries].map((entry) => ({
- url: `${baseUrl}${dateToChangelogUrl(entry.date)}`,
+ // Changelog pages (deduplicate by date since multiple entries can share the same date)
+ const uniqueChangelogDates = [...new Set([...changelogEntries].map((entry) => entry.date))];
+ const changelogPages = uniqueChangelogDates.map((date) => ({
+ url: `${baseUrl}${dateToChangelogUrl(date)}`,
}));
return [