Starlight Changelog
0.22.0
Minor Changes
-
#640
7dc503eaThanks @HiDeoo! - Adds support for syncing multiple sets of tabs on the same page. -
#1620
ca0678caThanks @emjio! - Adds support for translating the site title⚠️ Potentially breaking change: The shape of the
titlefield on Starlight’s internal config object has changed. This used to be a string, but is now an object.If you are relying on
config.title(for example in a custom<SiteTitle>or<Head>component), you will need to update your code. We recommend using the newsiteTitleprop available to component overrides:---import type { Props } from '@astrojs/starlight/props';// The site title for this page’s language:const { siteTitle } = Astro.props;--- -
#1613
61493e55Thanks @HiDeoo! - Adds newdraftfrontmatter option to exclude a page from production builds. -
#640
7dc503eaThanks @HiDeoo! - Updates the defaultline-heightfrom1.8to1.75. This change avoids having a line height with a fractional part which can cause scripts accessing dimensions involving the line height to get an inconsistent rounded value in various browsers.If you want to preserve the previous
line-height, you can add the following custom CSS to your site::root {--sl-line-height: 1.8;} -
#1720
749ddf85Thanks @jacobdalamb! - Updatesastro-expressive-codedependency to the latest minor release (0.35) and exposes a new@astrojs/starlight/expressive-code/hastmodule for users who need to use Expressive Code’s version ofhast.This includes a potentially breaking change if you use custom Expressive Code plugins. See the Expressive Code release notes for full details.
-
#1769
bd5f1cbdThanks @ncjones! - Adds support for accessing frontmatter data as a variable when using Markdoc
Patch Changes
-
#1788
681a4273Thanks @dragomano! - Adds Russian translations for Expressive Code labels -
#1780
4db6025aThanks @MiahaCybersec! - Adds 1 new icon:signal -
#1785
65009c9cThanks @dreyfus92! - Adds 5 new icons:node,cloudflare,vercel,netlifyanddeno -
#1786
d05d693aThanks @delucis! - Fixes type inference for i18n strings added by extending the default schema -
#1777
6949404bThanks @HiDeoo! - Fixes an issue where TypeScript could fail to serialize the frontmatter schema when configured to emit declaration files -
#1734
4493dcfaThanks @delucis! - Refactors<ThemeSelect>custom element logic to improve performance -
#1731
f08b0dffThanks @techfg! - Fixes responding to system color scheme changes when theme isauto -
#1793
2616f0c7Thanks @Mrahmani71! - Updates the Farsi UI translations
0.21.5
Patch Changes
-
#1709
c5cd1811Thanks @HiDeoo! - Fixes a UI strings translation issue for sites configured with a single non-root language different from English. -
#1723
3b29b3abThanks @OliverSpeir! - Fixes accessibility by usingaria-selected="false"for inactive tabs instead of removingaria-selected="true"in the tablist of Starlight’s<Tabs>component -
#1706
f171ac4dThanks @jorenbroekema! - Fixes some minor type errors
0.21.4
Patch Changes
-
#1703
b26238f2Thanks @HiDeoo! - Fixes aside custom titles rendering for nested asides. -
#1708
a72cb966Thanks @HiDeoo! - Fixes translation issues with Expressive Code when using a default language other than English
0.21.3
Patch Changes
-
#1622
3a074badThanks @SamuelLHuber! - Adds 1 new icon:farcaster -
#1616
a86f9b71Thanks @dragomano! - Updates Russian UI strings -
#1698
67b892fdThanks @liruifengv! - Adds 1 new icon:starlight -
#1687
6fa9ea7eThanks @mingjunlu! - TranslatesfileTree.directoryUI string into Traditional Chinese.
0.21.2
Patch Changes
-
#1614
78fc9042Thanks @kpodurgiel! - Adds Polish UI translations -
#1596
13ed30cdThanks @HiDeoo! - Adds support for toggling the built-in search modal using theCtrl+kkeyboard shortcut. -
#1608
4096e1b7Thanks @HiDeoo! - Removes nested CSS from the<FileTree>component to prevent a potential warning when using Tailwind CSS. -
#1626
67459cb4Thanks @hippotastic! - Fixes a bundling issue that caused imports from@astrojs/starlight/componentsto fail when using the config settingexpressiveCode: false.
0.21.1
Patch Changes
-
#1584
8851d5cdThanks @HiDeoo! - Adds 2 new icons:appleandlinux. -
#1577
0ba77890Thanks @morinokami! - TranslatesfileTree.directoryUI string into Japanese. -
#1593
fa7ed245Thanks @liruifengv! - TranslatesfileTree.directoryUI string into simplified Chinese. -
#1585
bd4e278fThanks @HiDeoo! - TranslatesfileTree.directoryUI string into French. -
#1587
c5794260Thanks @Eveeifyeve! - Adds 1 new icon:homebrew.
0.21.0
Minor Changes
-
#1568
5f99a71dThanks @HiDeoo! - Adds support for optionally setting an icon on a<TabItem>component to make it easier to visually distinguish between tabs. -
#1308
9a918a5bThanks @HiDeoo! - Adds<FileTree>component to display the structure of a directory. -
#1308
9a918a5bThanks @HiDeoo! - Adds 144 new file-type icons from the Seti UI icon set, available with theseti:prefix, e.g.seti:javascript. -
#1564
d880065eThanks @delucis! - Adds a<Steps>component for styling more complex guided tasks. -
#1308
9a918a5bThanks @HiDeoo! - Adds 5 new icons:astro,biome,bun,mdx, andpnpm.
0.20.1
Patch Changes
- #1553
8e091147Thanks @hippotastic! - Updates Expressive Code to v0.33.4 to fix potential race condition bug in Shiki.
0.20.0
Minor Changes
-
#1541
1043052fThanks @hippotastic! - Updatesastro-expressive-codedependency to the latest minor release (0.33).This unlocks support for word wrap and line numbers, as well as updating the syntax highlighter to the latest Shiki release, which includes new and updated language grammars.
See the Expressive Code release notes for more information including details of potentially breaking changes.
Patch Changes
-
#1542
b3b7a606Thanks @delucis! - Improves error messages shown by Starlight for configuration errors. -
#1544
65dc6586Thanks @torn4dom4n! - Update Vietnamese UI translations
0.19.1
Patch Changes
-
#1527
163bc84Thanks @HiDeoo! - Exports theStarlightPagePropsTypeScript type representing the props expected by the<StarlightPage />component. -
#1504
fc83a05Thanks @mingjunlu! - Adds Traditional Chinese UI translations -
#1534
aada680Thanks @delucis! - Improves DX of thesidebarprop used by the new<StarlightPage>component.