Releases: withastro/starlight
@astrojs/starlight@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’si18n
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
@astrojs/starlight@0.23.4
@astrojs/starlight@0.23.3
@astrojs/starlight@0.23.2
@astrojs/starlight-tailwind@2.0.3
@astrojs/starlight@0.23.1
@astrojs/starlight@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/config export 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:
npx @astrojs/upgrade
@astrojs/starlight@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
@astrojs/starlight@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 implemenation. -
#1840
cb85563c
Thanks @MiahaCybersec! - Adds 1 new icon:hackerone