#774903a579 Thanks @HiDeoo! - Support adding HTML attributes to sidebar links from config and frontmatter
#796372ec96 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
npminstallastro@latest
#447b45719b 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
---
#709140e729 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.
#529c2d0e7f Thanks @delucis! - For improved compatibility with Tailwind, some Starlight built-in class names are now prefixed with "sl-".
While not likely, if you were relying on one of these internal class names in your own components or custom CSS, you will need to update to use the prefixed version.
#488da35556 Thanks @mayank99! - Improved accessibility of LinkCard by only including the title as part of the link text, and using a pseudo-element to keep the card clickable.
#48935cd82e Thanks @HiDeoo! - Respect hidden sidebar frontmatter property when no sidebar configuration is provided
#4410119a49 Thanks @lorenzolewis! - Add support for hiding entries from an autogenerated sidebar:
---
title: About this project
sidebar:
hidden: true
---
#470d076aec Thanks @delucis! - Drop support for the --sl-hue-accent CSS custom property.
⚠️ BREAKING CHANGE — In previous Starlight versions you could control the accent color by setting the --sl-hue-accent custom property. This could result in inaccessible color contrast and unpredictable results.
You must now set accent colors directly. If you relied on setting --sl-hue-accent, migrate by setting light and dark mode colors in your custom CSS:
#47506a205e Thanks @Yan-Thomas! - Locales whose language tag includes a regional subtag now use built-in UI translations for their base language. For example, a locale with a language of pt-BR will use our pt UI translations.
#41938ff53c Thanks @lorenzolewis! - Improve styling of sidebar entries that wrap onto multiple lines
#418c7b2a4e Thanks @delucis! - Set tab-size: 2 on content code blocks to override default browser value of 8
#39931b8a5a Thanks @HiDeoo! - Add new global favicon option defaulting to '/favicon.svg' to set the path of the default favicon for your website. Additional icons can be specified using the head option.