# What changed in @astrojs/starlight

> 31 changes in @astrojs/starlight 0.41 to 0.42 from its official release notes, upgrade guides and advisories: 7 breaking, 7 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/@astrojs/starlight/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @astrojs/starlight 0.42

### Breaking changes

- Starlight now requires Astro v7.2.10 or later; update Starlight and Astro together. (0.42.0) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.0)
- If used, this integration must be version 7.3.0 or later. (0.42.0) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.0)
- If used, this integration must be version 0.4.0 or later. (0.42.0) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.0)
- The attribute previously added to `<body>` while the mobile menu is open is removed; custom code depending on it must use a new selector to detect the open state. (0.42.0) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.0)
- The mobile menu button uses the `.sl-menu-button` class instead of a `starlight-menu-button` wrapper and no longer uses `aria-expanded`; use `:popover-open` to style its open state. (0.42.0) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.0)
- Official support drops for Chromium-based browsers before 116, Safari-based browsers before 17.0, and Firefox before 125. (0.42.0) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.0)
- The unused `tagline` configuration option is removed; configurations that include it can safely drop it without replacement. (0.42.0) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.0)

### New APIs and options

- Adds a CoffeeScript file icon for the <FileTree> component. (0.42.4) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.4)
- Adds the `fluxer` icon for developers to use. (0.42.2) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.2)

### Performance

- Rendering of large nested sidebars is optimized. (0.42.4) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.4)

### Tooling

- The package is now distributed as JavaScript files with dedicated type declaration files instead of TypeScript source files. (0.42.0) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.0)

### Fixes and other changes

- Fixes the codePen and node icons slightly extending beyond their bounding box. (0.42.6) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.6)
- Fixes `Failed to resolve dependency` warnings when running the development server in projects using the Cloudflare adapter. (0.42.6) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.6)
- Adds support for Icelandic. (0.42.6) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.6)
- Fixes a potential issue with icons being cut off in Firefox when pinch-zooming. (0.42.6) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.6)
- Pages that do not import components from @astrojs/starlight/components no longer include styles for Starlight components used on other pages. (0.42.6) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.6)
- Adds support for the Macedonian language. (0.42.5) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.5)
- Fixes `.ejs` and `npm-debug.log` files displaying the default file icon. (0.42.4) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.4)
- The sidebar pane no longer has the popover attribute on desktop viewports, preventing it from remaining in a hidden popover visibility state. (0.42.1) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.1)

## @astrojs/starlight 0.41

### New APIs and options

- Adds the `hypothesis` icon. (0.41.10) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.41.10)
- Adds the `npmx` icon. (0.41.10) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.41.10)
- Adds the goodreads icon for developers to use in Starlight. (0.41.9) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.41.9)
- Adds the whatsApp icon for developers to use. (0.41.8) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.41.8)
- Adds the forgejo icon for use in Starlight projects. (0.41.6) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.41.6)

### Performance

- Optimizes sidebar data generation logic to speed up sites with large sidebars. (0.41.11) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.41.11)

### Fixes and other changes

- Fixes layout issues and prevents anchor links from appearing for hidden headings when markdown.headingLinks is enabled or the AnchorHeading component is used. (0.41.11) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.41.11)
- Adds missing Expressive Code translations for Arabic, Hindi, Italian, Japanese, Korean, Portuguese, Simplified Chinese, and Traditional Chinese. (0.41.10) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.41.10)
- Fixes localization of code block UI elements when using the Sätteri Markdown processor. (0.41.8) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.41.8)
- Fixes processing of code examples in RTL languages when using Astro’s Sätteri Markdown processor. (0.41.7) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.41.7)
- Fixes support for modifying Zod enums when passing the extend option to docsSchema(). (0.41.4) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.41.4)
- Fixes support for links containing a protocol like mailto: in the sidebar. (0.41.4) — [release notes](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.41.4)
