Releases: withastro/starlight
@astrojs/starlight@0.12.0
Minor Changes
-
#995
5bf4457
Thanks @kevinzunigacuellar! - Adds support for adding sidebar badges to group headings -
#988
977fe13
Thanks @magicDGS! - Include social icon links in mobile menu -
#280
72cca2d
Thanks @cbontems! - Support light & dark variants of the hero image.⚠️ Potentially breaking change: Thehero.image
schema is now slightly stricter than previously.The
hero.image.html
property can no longer be used alongside thehero.image.alt
orhero.image.file
properties.
Previously,html
was ignored when used withfile
andalt
was ignored when used withhtml
.
Now, those combinations will throw errors.
If you encounter errors, remove theimage.hero
property that is not in use.
Patch Changes
@astrojs/starlight-tailwind@2.0.1
Patch Changes
- #903
232f512
Thanks @torn4dom4n! - Showtailwind.config.mjs
file in docs
@astrojs/starlight@0.11.2
Patch Changes
-
#944
7a6446e
Thanks @HiDeoo! - Fix issue with sidebar autogenerated groups configured with a directory containing leading or trailing slash -
#985
92b3b57
Thanks @delucis! - Fix edit URLs for pages displaying fallback content -
#986
0470734
Thanks @dreyfus92! - Prevent overscrolling on mobile table of contents by setting 'overscroll-behavior: contain'. -
#924
39d6302
Thanks @kevinzunigacuellar! - Remove extra margin from markdown lists that uses inline code -
#814
1e517d9
Thanks @julien-deramond! - Prevent text from overflowing pagination items
@astrojs/starlight@0.11.1
Patch Changes
-
#892
2b30321
Thanks @delucis! - Add Patreon social link icon -
#852
344c92e
Thanks @Lootjs! - Improve Russian language support -
#891
395920c
Thanks @Frikadellios! - Add Ukrainian language support -
#890
63ea8e8
Thanks @delucis! - Updateexeca
dependency to v8 -
#859
eaa7a90
Thanks @oggnimodd! - Improve Indonesian language support
@astrojs/starlight@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:npm install astro@latest
-
#447
b45719b
Thanks @andremralves! - AddtitleDelimiter
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 withtemplate: splash
in their frontmatter. Previously, this was not the case. If you are usingtemplate: 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
-
#810
dbe977b
Thanks @hasham-qaiser! - Use<span>
instead of<h2>
in sidebar group headings -
#807
7c73dd1
Thanks @torn4dom4n! - Add Vietnamese translations for Starlight UI -
#756
f55a8f0
Thanks @julien-deramond! - Prevent text from overflowing in several cases
@astrojs/starlight@0.10.4
Patch Changes
@astrojs/starlight@0.10.3
Patch Changes
-
#783
f94727e
Thanks @kevinzunigacuellar! - Fix GitHub edit link to include src path from project config -
#781
a293ef9
Thanks @dreyfus92! - Removed role from Banner component to avoid duplication in header. -
#745
006d606
Thanks @TheOtterlord! - Prevent Starlight crashing when the content folder doesn't exist, or is empty -
#775
2ef3036
Thanks @delucis! - Fix content collection schema compatibility with Astro 3.1 and higher -
#773
423d575
Thanks @tlandmangh! - Fix Dutch UI translation for “Previous page” links