Starlight Changelog
0.35.2 Latest
Patch Changes
-
#3341
10f6fe2
Thanks @HiDeoo! - Prevents potential build issues with the Astro Cloudflare adapter due to the dependency on Node.js builtins. -
#3327
bf58c60
Thanks @delucis! - Fixes a routing bug for docs pages with a slug authored with non-normalized composition. This could occur for filenames containing diacritics in some circumstances, causing 404s.
0.35.1
Patch Changes
0.35.0
Minor Changes
-
#2261
778b743
Thanks @shubham-padia! - Adds support for using any of Starlight’s built-in icons in asides. -
#3272
e7fe267
Thanks @delucis! - Adds a newgenerateId
option to Starlight’sdocsLoader()
This enables overriding the default sluggifier used to convert content filenames to URLs.
-
#3276
3917b20
Thanks @delucis! - Excludes banner content from search resultsPreviously, content set in
banner
in page frontmatter was indexed by Starlight’s default search provider Pagefind. This could cause unexpected search results, especially for sites setting a common banner content on multiple pages. Starlight’s defaultBanner
component is now excluded from search indexing.This change does not impact
Banner
overrides using custom components. -
#3266
1161af0
Thanks @HiDeoo! - Adds support for custom HTML attributes on autogenerated sidebar links using theautogenerate.attrs
option. -
#3274
80ccff7
Thanks @HiDeoo! - Fixes an issue where some Starlight remark and rehype plugins were transforming Markdown and MDX content in non-Starlight pages.⚠️ BREAKING CHANGE:
Previously, some of Starlight’s remark and rehype plugins, most notably the plugin transforming Starlight’s custom Markdown syntax for rendering asides, were applied to all Markdown and MDX content. This included content from individual Markdown pages and content from content collections other than the
docs
collection used by Starlight.This change restricts the application of Starlight’s remark and rehype plugins to only Markdown and MDX content loaded using Starlight’s
docsLoader()
. If you were relying on this behavior, please let us know about your use case in the dedicated#starlight
channel in the Astro Discord or by opening an issue.
Patch Changes
-
#3266
1161af0
Thanks @HiDeoo! - Ensures invalid sidebar group configurations using theattrs
option are properly reported as a type error.Previously, invalid sidebar group configurations using the
attrs
option were not reported as a type error but only surfaced at runtime. This change is only a type-level change and does not affect the runtime behavior of Starlight which does not support theattrs
option for sidebar groups. -
#3274
80ccff7
Thanks @HiDeoo! - Prevents Starlight remark and rehype plugins from transforming Markdown and MDX content when using the AstrorenderMarkdown()
content loader API.
0.34.8
Patch Changes
- #3306
21fcd94
Thanks @HiDeoo! - Fixes a regression in Starlight version0.34.5
that caused multilingual sites with a default locale explicitly set toroot
to report a configuration error.
0.34.7
Patch Changes
- #3298
7bd02e3
Thanks @HiDeoo! - Fixes a potential issue withabsolutePathToLang()
plugin API not handling paths with spaces correctly.
0.34.6
Patch Changes
- #3293
88f0d34
Thanks @HiDeoo! - Fixes an issue preventing to override the slug of a page with theslug
frontmatter property using the/
value.
0.34.5
Patch Changes
-
#3282
7680e87
Thanks @alvinometric! - Moves padding of<main>
element to a--sl-main-pad
CSS custom property to simplify setting custom values -
#3288
131371e
Thanks @HiDeoo! - Fixes a potential configuration issue for multilingual sites with a default language including a regional subtag.
0.34.4
Patch Changes
-
#3205
95d124a
Thanks @sgalcheung! - Fixes an issue preventing to use the<StarlightPage>
component when thedocs
content collection that Starlight uses does not exist. -
#3206
e6ea584
Thanks @HiDeoo! - Fixes a text selection issue for heading with a clickable anchor link when using double click to select text in Chrome and Safari. -
#3233
3064c40
Thanks @torn4dom4n! - Updates Vietnamese UI translations. -
#3248
16c1239
Thanks @HiDeoo! - Prevents icons in the<Card>
component from being shrunk in some narrow viewports. -
#3225
21b93b8
Thanks @randomguy-2650! - Updates German UI translations
0.34.3
Patch Changes
-
#3058
274cc06
Thanks @techfg! - Fixes display of focus indicator around site title -
#3181
449c822
Thanks @HiDeoo! - Fixes an issue where all headings in Markdown and MDX content were rendered with a clickable anchor link, even in non-Starlight pages. -
#3168
ca693fe
Thanks @jsparkdev! - Updates Korean langage support with improvements and missing translations
0.34.2
Patch Changes
-
#3153
ea31f46
Thanks @SuperKXT! - Fixes hover styles for highlighted directory in FileTree component. -
#2905
b5232bc
Thanks @HiDeoo! - Fixes a potential issue for projects with dynamic routes added by an user, an Astro integration, or a Starlight plugin where some styles could end up being missing. -
#3165
80a7871
Thanks @KianNH! - IncreasesmaxBuffer
for an internalspawnSync()
call to support larger Git commit histories when using Starlight’slastUpdated
feature. -
#3158
d1f3c8b
Thanks @heisenberg0924! - Adds Hungarian language support