Starlight Changelog
0.24.0
Minor Changes
-
#1841
ee0cd38a
Thanks @HiDeoo! - Adds support forAstro.currentLocale
and Astro’s i18n routing.⚠️ Potentially breaking change: Starlight now configures Astro’s
i18n
option for you based on itslocales
config.If you are currently using Astro’s
i18n
option as well as Starlight’slocales
option, you will need to remove one of these. In general we recommend using Starlight’slocales
, but if you have a more advanced configuration you may choose to keep Astro’si18n
config instead. -
#1958
081d1a96
Thanks @delucis! - Allows users to opt into displaying a “Built with Starlight” link in the site footer -
#1530
dd64836a
Thanks @kevinzunigacuellar! - Adds a new<Badge>
component
0.23.4
Patch Changes
- #1955
15ef1f4b
Thanks @HiDeoo! - Reverts a change to prevent a numbering issue with the<Steps>
component in future versions of Chrome.
0.23.3
Patch Changes
-
#1948
68c0c077
Thanks @HiDeoo! - Fixes a<Steps>
component numbering issue with the next Chrome stable version when a step contains a nested list. -
#1909
c98c7088
Thanks @joshka! - Adds Discourse to social icons
0.23.2
Patch Changes
-
#1913
7ebe8f75
Thanks @delucis! - Fixes support for Astro’sbuild: { format: 'preserve' }
configuration option -
#1941
2f3240c9
Thanks @astrobot-houston! - Adds icon support for.otf
files in<FileTree>
0.23.1
Patch Changes
0.23.0
Minor Changes
-
#1846
2de67039
Thanks @delucis! - Updates@astrojs/mdx
to v3 and enables MDX optimization by default⚠️ Potentially breaking change: MDX optimization speeds up builds (Starlight’s docs are building ~40% faster for example), but restricts some advanced MDX features. See full details in the MDX optimization documentation.
Most Starlight users should be unaffected, but if you are using MDX files outside of Starlight pages with the
components
prop, you may see issues. You can disable optimization by adding MDX manually to yourintegrations
array inastro.config.mjs
:import { defineConfig } from 'astro/config';import mdx from '@astrojs/mdx';import starlight from '@astrojs/starlight';// https://astro.build/configexport default defineConfig({integrations: [starlight({title: 'My docs',// ...}),mdx(),],}); -
#1735
1a9ab50d
Thanks @HiDeoo! - Adds custom styles for<details>
and<summary>
elements in Markdown content. -
#1846
2de67039
Thanks @delucis! - ⚠️ BREAKING CHANGE: The minimum supported version of Astro is now 4.8.6Please update Astro and Starlight together:
Terminal window npx @astrojs/upgrade
0.22.4
Patch Changes
-
#1871
03bb126b
Thanks @delucis! - Adds ablueSky
icon and social link option -
#1873
13f33b81
Thanks @ekfuhrmann! - Adds 1 new icon:alpine
-
#1857
32cdfaf0
Thanks @tarikcoskun! - Updates Turkish UI translations -
#1736
cfa94a34
Thanks @julien-deramond! - Prevent list items from overflowing Markdown content
0.22.3
Patch Changes
-
#1838
9fe84754
Thanks @delucis! - Adds extra information to the errors thrown by the<Steps>
component to help locate misformatted code -
#1863
50be60bb
Thanks @torn4dom4n! - Update Vietnamese translation -
#1837
a33a1223
Thanks @delucis! - Adds three new icons:comment
,comment-alt
,heart
-
#1842
c7838636
Thanks @delucis! - Moves thehref
used in the site title link to Starlight’s route data object. This makes it possible for overrides to change the title link while reusing Starlight’s default component implementation. -
#1840
cb85563c
Thanks @MiahaCybersec! - Adds 1 new icon:hackerone
0.22.2
Patch Changes
-
#1811
fe06aa13
Thanks @HiDeoo! - Fixes a<Tabs>
sync issue when inconsistently using theicon
prop or not on<TabItem>
components. -
#1826
52ea7381
Thanks @dragomano! - Updates Russian UI translations