Skip to content

Starlight Changelog

0.11.1

Patch Changes

0.11.0

Minor Changes

  • #774 903a579 Thanks @HiDeoo! - Support adding HTML attributes to sidebar links from config and frontmatter

  • #796 372ec96 Thanks @HiDeoo! - Add the @astrojs/sitemap and @astrojs/mdx integrations only if they are not detected in the Astro configuration.

    ⚠️ BREAKING CHANGE The minimum supported version of Astro is now v3.2.0. Make sure you update Astro at the same time as updating Starlight:

    Terminal window
    npm install astro@latest
  • #447 b45719b Thanks @andremralves! - Add titleDelimiter configuration option and include site title in page <title> tags

    ⚠️ BREAKING CHANGE — Previously, every page’s <title> only included its individual frontmatter title. Now, <title> tags include the page title, a delimiter character (| by default), and the site title. For example, in the Startlight docs, <title>Configuration Reference</title> is now <title>Configuration Reference | Starlight</title>.

    If you have a page where you need to override this new behaviour, set a custom title using the head frontmatter property:

    ---
    title: My Page
    head:
    - tag: title
    content: Custom Title
    ---
  • #709 140e729 Thanks @delucis! - Add support for overriding Starlight’s built-in components

    ⚠️ BREAKING CHANGE — The page footer is now included on pages with template: splash in their frontmatter. Previously, this was not the case. If you are using template: splash and want to continue to hide footer elements, disable them in your frontmatter:

    ---
    title: Landing page
    template: splash
    # Disable unwanted footer elements as needed
    editUrl: false
    lastUpdated: false
    prev: false
    next: false
    ---

    ⚠️ BREAKING CHANGE — This change involved refactoring the structure of some of Starlight’s built-in components slightly. If you were previously overriding these using other techniques, you may need to adjust your code.

Patch Changes

0.10.4

Patch Changes

0.10.3

Patch Changes

0.10.2

Patch Changes

0.10.1

Patch Changes

0.10.0

Minor Changes

  • #692 2a58e1a Thanks @delucis! - Upgrade Pagefind to v1 and display page headings in search results

Patch Changes

0.9.1

Patch Changes

  • #647 ea57726 Thanks @bgmort! - Fix translated 404 pages not being excluded from search results

  • #667 9828f73 Thanks @delucis! - Break inline <code> across lines to avoid overflow

  • #642 e623d92 Thanks @fk! - Don’t hard-code nav height in table of contents highlighting script

  • #676 6419006 Thanks @vedmalex! - Upgrade and pin Pagefind to latest beta release.

  • #647 ea57726 Thanks @bgmort! - Add frontmatter option to exclude a page from Pagefind search results

0.9.0

Minor Changes

  • #626 5dd22b8 Thanks @delucis! - Throw an error for duplicate MDX or sitemap integrations

  • #615 7b75b3e Thanks @delucis! - Bump minimum required Astro version to 3.0

    ⚠️ BREAKING CHANGE Astro v2 is no longer supported. Make sure you update Astro and any other integrations at the same time as updating Starlight.

0.8.1

Patch Changes