Skip to content

Releases: withastro/starlight

@astrojs/starlight@0.22.2

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

Patch Changes

@astrojs/starlight@0.22.1

01 May 16:48
b41ff94
Compare
Choose a tag to compare

Patch Changes

  • 1c0fc384 Thanks @HiDeoo! - Fixes an issue where the siteTitle property would not be set when using the <StarlightPage /> component.

@astrojs/starlight@0.22.0

30 Apr 15:28
a70a1db
Compare
Choose a tag to compare

Minor Changes

  • #640 7dc503ea Thanks @HiDeoo! - Adds support for syncing multiple sets of tabs on the same page.

  • #1620 ca0678ca Thanks @emjio! - Adds support for translating the site title

    鈿狅笍 Potentially breaking change: The shape of the title field on Starlight鈥檚 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 new siteTitle prop available to component overrides:

    ---
    import type { Props } from '@astrojs/starlight/props';
    
    // The site title for this page鈥檚 language:
    const { siteTitle } = Astro.props;
    ---
  • #1613 61493e55 Thanks @HiDeoo! - Adds new draft frontmatter option to exclude a page from production builds.

  • #640 7dc503ea Thanks @HiDeoo! - Updates the default line-height from 1.8 to 1.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 749ddf85 Thanks @jacobdalamb! - Updates astro-expressive-code dependency to the latest minor release (0.35) and exposes a new @astrojs/starlight/expressive-code/hast module for users who need to use Expressive Code鈥檚 version of hast.

    This includes a potentially breaking change if you use custom Expressive Code plugins. See the Expressive Code release notes for full details.

  • #1769 bd5f1cbd Thanks @ncjones! - Adds support for accessing frontmatter data as a variable when using Markdoc

Patch Changes

@astrojs/starlight@0.21.5

09 Apr 11:19
d220ef3
Compare
Choose a tag to compare

Patch Changes

  • #1728 0a75680d Thanks @delucis! - Adds 1 new icon: pkl

  • #1709 c5cd1811 Thanks @HiDeoo! - Fixes a UI strings translation issue for sites configured with a single non-root language different from English.

  • #1723 3b29b3ab Thanks @OliverSpeir! - Fixes accessibility by using aria-selected="false" for inactive tabs instead of removing aria-selected="true" in the tablist of Starlight鈥檚 <Tabs> component

  • #1706 f171ac4d Thanks @jorenbroekema! - Fixes some minor type errors

@astrojs/starlight-tailwind@2.0.2

09 Apr 11:19
d220ef3
Compare
Choose a tag to compare

Patch Changes

  • #1726 1aae51ac Thanks @delucis! - Adds warning log if a user tries to set colors.white in their Tailwind theme config with an object instead of a string.

@astrojs/starlight@0.21.4

05 Apr 18:43
88468d0
Compare
Choose a tag to compare

Patch Changes

  • #1703 b26238f2 Thanks @HiDeoo! - Fixes aside custom titles rendering for nested asides.

  • #1708 a72cb966 Thanks @HiDeoo! - Fixes translation issues with Expressive Code when using a default language other than English

@astrojs/starlight@0.21.3

01 Apr 12:30
7477179
Compare
Choose a tag to compare

Patch Changes

@astrojs/starlight@0.21.2

20 Mar 10:19
db7cff6
Compare
Choose a tag to compare

Patch Changes

  • #1628 24c0823c Thanks @o-az! - Adds 1 new icon: nix

  • #1614 78fc9042 Thanks @kpodurgiel! - Adds Polish UI translations

  • #1596 13ed30cd Thanks @HiDeoo! - Adds support for toggling the built-in search modal using the Ctrl+k keyboard shortcut.

  • #1608 4096e1b7 Thanks @HiDeoo! - Removes nested CSS from the <FileTree> component to prevent a potential warning when using Tailwind CSS.

  • #1626 67459cb4 Thanks @hippotastic! - Fixes a bundling issue that caused imports from @astrojs/starlight/components to fail when using the config setting expressiveCode: false.

@astrojs/starlight@0.21.1

04 Mar 09:45
6204cf2
Compare
Choose a tag to compare

Patch Changes

@astrojs/starlight@0.21.0

01 Mar 18:06
ab38709
Compare
Choose a tag to compare

Minor Changes

  • #1568 5f99a71d Thanks @HiDeoo! - Adds support for optionally setting an icon on a <TabItem> component to make it easier to visually distinguish between tabs.

  • #1308 9a918a5b Thanks @HiDeoo! - Adds <FileTree> component to display the structure of a directory.

  • #1308 9a918a5b Thanks @HiDeoo! - Adds 144 new file-type icons from the Seti UI icon set, available with the seti: prefix, e.g. seti:javascript.

  • #1564 d880065e Thanks @delucis! - Adds a <Steps> component for styling more complex guided tasks.

  • #1308 9a918a5b Thanks @HiDeoo! - Adds 5 new icons: astro, biome, bun, mdx, and pnpm.