Skip to content

Releases: withastro/starlight

@astrojs/starlight@0.24.0

05 Jun 17:34
56436bc
Compare
Choose a tag to compare

Minor Changes

  • #1841 ee0cd38a Thanks @HiDeoo! - Adds support for Astro.currentLocale and Astro’s i18n routing.

    ⚠️ Potentially breaking change: Starlight now configures Astro’s i18n option for you based on its locales config.

    If you are currently using Astro’s i18n option as well as Starlight’s locales option, you will need to remove one of these.
    In general we recommend using Starlight’s locales, but if you have a more advanced configuration you may choose to keep Astro’s i18n 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

05 Jun 07:38
377945f
Compare
Choose a tag to compare

Patch Changes

  • #1955 15ef1f4b Thanks @HiDeoo! - Reverts a change to prevent a numbering issue with the <Steps> component in future versions of Chrome.

@astrojs/starlight@0.23.3

04 Jun 18:41
fb1e263
Compare
Choose a tag to compare

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

@astrojs/starlight@0.23.2

28 May 13:15
aa50ad8
Compare
Choose a tag to compare

Patch Changes

@astrojs/starlight-tailwind@2.0.3

21 May 10:23
f9f9f2f
Compare
Choose a tag to compare

Patch Changes

  • #1906 b079ae11 Thanks @delucis! - Fixes default font-family in non-Starlight pages when using Tailwind plugin

@astrojs/starlight@0.23.1

18 May 13:55
67262f6
Compare
Choose a tag to compare

Patch Changes

@astrojs/starlight@0.23.0

17 May 16:58
8f22a97
Compare
Choose a tag to compare

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 your integrations array in astro.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.6

    Please update Astro and Starlight together:

    npx @astrojs/upgrade

@astrojs/starlight@0.22.4

16 May 21:19
02385f5
Compare
Choose a tag to compare

Patch Changes

@astrojs/starlight@0.22.3

14 May 22:45
2d54c64
Compare
Choose a tag to compare

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 the href 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

@astrojs/starlight@0.22.2

06 May 19:23
8607594
Compare
Choose a tag to compare

Patch Changes