Skip to content

Latest commit

 

History

History
137 lines (76 loc) · 7.12 KB

CHANGELOG.md

File metadata and controls

137 lines (76 loc) · 7.12 KB

@astrojs/sitemap

1.0.0

Major Changes

0.3.0

Minor Changes

  • #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',
    });

Patch Changes

0.2.6

Patch Changes

0.2.5

Patch Changes

0.2.4

Patch Changes

0.2.3

Patch Changes

  • #3723 52f75369 Thanks @alextim! - fix: if serialize function returns undefined for the passed entry, such entry will be excluded from sitemap

0.2.2

Patch Changes

  • #3689 3f8ee70e Thanks @bholmesdev! - Add warning log for sitemap + SSR adapter, with suggestion to use customPages configuration option

0.2.1

Patch Changes

0.2.0

Minor Changes

  • #3579 1031c06f Thanks @alextim! - # Key features

    • Split up your large sitemap into multiple sitemaps by custom limit.
    • Ability to add sitemap specific attributes such as lastmod etc.
    • Final output customization via JS function.
    • Localization support.
    • Reliability: all config options are validated.

    Important changes

    The integration always generates at least two files instead of one:

    • sitemap-index.xml - index file;
    • sitemap-{i}.xml - actual sitemap.

0.1.2

Patch Changes

0.1.1

Patch Changes

0.1.0

Minor Changes

Patch Changes

  • e425f896 Thanks @FredKSchott! - Add new sitemap configuration options:
    • filter: filter pages to include in your sitemap
    • canonicalURL: override your astro.config site with a custom base URL

0.0.2

Patch Changes

  • #2847 3b621f7a Thanks @tony-sull! - Adds keywords to the official integrations to support discoverability on Astro's Integrations site

0.0.2-next.0

Patch Changes

  • #2847 3b621f7a Thanks @tony-sull! - Adds keywords to the official integrations to support discoverability on Astro's Integrations site