---
title: "@astrojs/starlight 0.43.1 Breaking Changes on npm"
description: "What each @astrojs/starlight release removed, renamed or changed: 29 breaking changes in 9 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@astrojs/starlight
last_updated: 2026-12-04
---

# @astrojs/starlight breaking changes

@astrojs/starlight 0.43.1 (November 13, 2026) is its newest release with breaking changes. The first: Behavior changed Aside. Every breaking API change we have recorded in @astrojs/starlight on npm: 29 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.43.2`, released November 26, 2026. [Source repository](https://github.com/withastro/starlight)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.39.0](#v-0-39-0) to [0.43.1](#v-0-43-1): 24 breaking changes in 8 versions.

## @astrojs/starlight 0.43.1 breaking changes

@astrojs/starlight 0.43.1, released November 13, 2026: 1 breaking change.

- **Behavior changed** `Aside`  

The icon of the Aside component was rendered smaller than Markdown asides; this patch restores its size. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.43.1)

## @astrojs/starlight 0.43.0 breaking changes

@astrojs/starlight 0.43.0, released November 13, 2026: 2 breaking changes.

- **Removed** `StarlightThemeProvider.updatePickers`  

The global API used by theme select components has been removed, so StarlightThemeProvider.updatePickers() no longer works. Check any custom ThemeSelect override still works after updating. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.43.0)
- **Default changed** `scopedStyleStrategy`  

Starlight no longer forces the where strategy and now defaults to Astro's attribute strategy, which can change styling. Check your site for visual changes, or set scopedStyleStrategy to where in astro.config.mjs to keep the old behavior. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.43.0)

## @astrojs/starlight 0.42.11 breaking changes

@astrojs/starlight 0.42.11, released November 12, 2026: 1 breaking change.

- **Behavior changed**  

The twitter:site meta tag no longer includes a trailing slash when the configured X or Twitter social link ends with a slash. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.11)

## @astrojs/starlight 0.42.9 breaking changes

@astrojs/starlight 0.42.9, released November 4, 2026: 1 breaking change.

- **Behavior changed**  

The YAML parser used internally is switched to reduce install size by about 400 KB. Projects using Astro 7.3.6 or later get the new parser automatically; no change is needed in user code. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.9)

## @astrojs/starlight 0.42.0 breaking changes

@astrojs/starlight 0.42.0, released September 2, 2026: 15 breaking changes.

- **Removed**  

Official support for Chromium-based browsers before 116, Safari-based browsers before 17.0, and Firefox before 125 has been dropped. Check the linked browserslist query for currently supported versions. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.0)
- **Removed** `data-mobile-menu-expanded`  

The attribute that was added to body while the mobile menu is open has been removed. Custom code should use a new selector, such as body:has(sl-sidebar-pane:popover-open), to detect an open menu. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.0)
- **Removed** `tagline`  

The tagline option was never used and has been removed. If your configuration includes it, remove it without replacement. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.0)
- **Behavior changed**  

Starlight now requires astro v7.2.10 or later, @astrojs/markdown-satteri 0.4.0 or later if used, and @astrojs/markdown-remark 7.3.0 or later if used. Update Starlight and Astro together, for example with npx @astrojs/upgrade. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.0)
- **Behavior changed**  

The package is distributed as JavaScript files with dedicated type declarations instead of TypeScript source files. Code that imported the TypeScript source files may need to change. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.0)
- **Behavior changed** `MobileMenuToggle`  

The menu button is no longer wrapped in a starlight-menu-button custom element and no longer uses aria-expanded. Update theme plugins, custom styles and component overrides to target .sl-menu-button and :popover-open. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.42.0)
- **Signature changed** `internal:useTranslations`  

Was const useTranslations; now const useTranslations: (lang: string | undefined) => I18nT. [npmjs.com](https://www.npmjs.com/package/@astrojs/starlight/v/0.42.0)
- **Signature changed** `loaders:docsLoader`  

Was function docsLoader({generateId}: {generateId?: GenerateIdFunction;} = {}): Loader; now function docsLoader({generateId}?: {generateId?: GenerateIdFunction;}): Loader. [npmjs.com](https://www.npmjs.com/package/@astrojs/starlight/v/0.42.0)
- **Signature changed** `locals:initializeStarlightRoute`  

Was function initializeStarlightRoute(context: APIContext); now function initializeStarlightRoute(context: APIContext): void. [npmjs.com](https://www.npmjs.com/package/@astrojs/starlight/v/0.42.0)
- **Signature changed** `locals:onRequest`  

Was const onRequest; now const onRequest: any. [npmjs.com](https://www.npmjs.com/package/@astrojs/starlight/v/0.42.0)

And 5 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @astrojs/starlight 0.41.8 breaking changes

@astrojs/starlight 0.41.8, released August 24, 2026: 1 breaking change.

- **Behavior changed** `Tabs`  

Numbered id attributes in the Tabs component are now unique per page instead of using a global counter, so markup that depended on the old ids may change. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.41.8)

## Older versions

3 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @astrojs/starlight 0.41.0 breaking changes

@astrojs/starlight 0.41.0, released June 23, 2026: 2 breaking changes.

- **Removed**  

Chromium-based browsers before version 111 and Safari-based browsers before version 16.4 are no longer officially supported. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.41.0)
- **Removed**  

Starlight 0.41.0 adds Astro v7 support and no longer supports Astro v6. Update Astro and official integrations together with Starlight. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.41.0)

### @astrojs/starlight 0.40.0 breaking changes

@astrojs/starlight 0.40.0, released June 9, 2026: 1 breaking change.

- **Behavior changed**  

Starlight 0.40.0 now requires Astro v6.4.5 or later. Update Starlight and Astro together, for example with npx @astrojs/upgrade. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.40.0)

### @astrojs/starlight 0.39.0 breaking changes

@astrojs/starlight 0.39.0, released May 7, 2026: 5 breaking changes.

- **Behavior changed**  

Multilingual sites now emit an x-default alternate link, and sidebar padding may change on some devices; custom CSS can restore the old styling. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.39.0)
- **Behavior changed**  

Chinese and Japanese pages now get automatic spacing; custom CSS can disable it. [github.com](https://github.com/withastro/starlight/releases/tag/%40astrojs/starlight%400.39.0)

And 3 more in this version.

## Related packages

- [@astrojs/cloudflare](https://since.dev/packages/npm/@astrojs/cloudflare.md)
- [@astrojs/compiler](https://since.dev/packages/npm/@astrojs/compiler.md)
- [@astrojs/markdown-remark](https://since.dev/packages/npm/@astrojs/markdown-remark.md)
- [@astrojs/markdown-satteri](https://since.dev/packages/npm/@astrojs/markdown-satteri.md)
- [@astrojs/mdx](https://since.dev/packages/npm/@astrojs/mdx.md)
- [@astrojs/node](https://since.dev/packages/npm/@astrojs/node.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
