๐ฟ Minor Changes
- #6534
ad907196cThanks @atilafassina! - Adds support to SSR routes to sitemap generation.
ad907196c Thanks @atilafassina! - Adds support to SSR routes to sitemap generation.1ec1df126 Thanks @andremralves! - Fix sitemap generation with a base patha13e9d7e3 Thanks @Yan-Thomas! - Consistency improvements to several package descriptionsafbbc4d5b Thanks @Princesseuh! - Updated compilation settings to disable downlevelling for Node 1404ad44563 - > Astro v1.0 is out! Read the official announcement post.
No breaking changes. This package is now officially stable and compatible with astro@1.0.0!
#4015 6fd161d76 Thanks @matthewp! - New output configuration option
This change introduces a new โoutput targetโ configuration option (output). Setting the output target lets you decide the format of your final build, either:
"static" (default): A static site. Your final build will be a collection of static assets (HTML, CSS, JS) that you can deploy to any static site host."server": A dynamic server application. Your final build will be an application that will run in a hosted server environment, generating HTML dynamically for different requests.If output is omitted from your config, the default value "static" will be used.
When using the "server" output target, you must also include a runtime adapter via the adapter configuration. An adapter will adapt your final build to run on the deployed platform of your choice (Netlify, Vercel, Node.js, Deno, etc).
To migrate: No action is required for most users. If you currently define an adapter, you will need to also add output: 'server' to your config file to make it explicit that you are building a server. Here is an example of what that change would look like for someone deploying to Netlify:
import { defineConfig } from 'astro/config';import netlify from '@astrojs/netlify/functions';
export default defineConfig({ adapter: netlify(), output: 'server',});#3978 b37d7078a Thanks @Chrissdroid! - Update README to reflect @astrojs/sitemap@0.2.0 changes
#4004 ef9c4152b Thanks @sarah11918! - [READMEs] removed โexperimentalโ from astro add instructions
3f8ee70e Thanks @bholmesdev! - Add warning log for sitemap + SSR adapter, with suggestion to use customPages configuration option#3579 1031c06f Thanks @alextim! - # Key features
lastmod etc.The integration always generates at least two files instead of one:
sitemap-index.xml - index file;sitemap-{i}.xml - actual sitemap.c601ce59 Thanks @caioferrarezi! - Prevent sitemap URLs with trimmed paths#2885 6b004363 Thanks @bholmesdev! - Add README across Astro built-in integrations
#2847 3b621f7a Thanks @tony-sull! - Adds keywords to the official integrations to support discoverability on Astroโs Integrations site
3b621f7a Thanks @tony-sull! - Adds keywords to the official integrations to support discoverability on Astroโs Integrations site