Skip to content

Commit

Permalink
Misc formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
iamvishnusankar committed Mar 2, 2023
1 parent 53dd4b3 commit 7dc5374
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

v4.0.x added support for next13.2+ `appDir` via [Custom Route Handlers](https://nextjs.org/blog/next-13-2#custom-route-handlers)

### API Changes
#### API Changes

Generating dynamic/server-side sitemaps

- getServerSideSitemapIndex: Generates index sitemaps based on urls provided and returns application/xml response. Supports next13+ route.{ts,js} file.
- `getServerSideSitemapIndex`: Generates index sitemaps based on urls provided and returns application/xml response. Supports next13+ route.{ts,js} file.

- To continue using inside pages directory, import getServerSideSitemapIndexLegacy instead.
- To continue using inside pages directory, import `getServerSideSitemapIndexLegacy` instead.

- getServerSideSitemap: Generates sitemap based on field entires and returns application/xml response. Supports next13+ route.{ts,js} file.
- `getServerSideSitemap`: Generates sitemap based on field entires and returns application/xml response. Supports next13+ route.{ts,js} file.

- To continue using inside pages directory, import getServerSideSitemapLegacy instead.
- To continue using inside pages directory, import `getServerSideSitemapLegacy` instead.

0 comments on commit 7dc5374

Please sign in to comment.