Skip to content

Bump @astrojs/starlight from 0.38.4 to 0.42.8 - #98

Merged
martastn merged 2 commits into
mainfrom
dependabot/npm_and_yarn/astrojs/starlight-0.42.4
Nov 4, 2026
Merged

martastn merged 2 commits into
mainfrom
dependabot/npm_and_yarn/astrojs/starlight-0.42.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @astrojs/starlight from 0.38.4 to 0.42.8.

Release notes

Sourced from @​astrojs/starlight's releases.

@​astrojs/starlight@​0.42.8

Patch Changes

  • #4309 3490c80 Thanks @​athulsreekumar! - Fixes autogenerated sidebar groups omitting directories whose names match Object.prototype properties, such as constructor or toString

  • #4290 bf93823 Thanks @​RaphaelFakhri! - Fixes missing last-updated dates in production builds for pages whose file path contains special characters

  • #4295 af9557e Thanks @​delucis! - Fixes a formatting issue in some error messages impacting projects with Zod ≥4.5 installed

  • #4299 a103f38 Thanks @​clean99! - Fixes empty sidebars when autogenerating entries from the docs root directory using directory: ''

@​astrojs/starlight@​0.42.7

Patch Changes

  • #4264 94e0985 Thanks @​chrispezza! - Fixes a layout shift where the table of contents could be painted at the start of the content area and then jump to the end when a page's HTML arrived in several chunks

  • #4285 6f22edd Thanks @​tunetheweb! - Improves hero image loading by adding fetchpriority="high" hint for browsers

@​astrojs/starlight@​0.42.6

Patch Changes

  • #4252 40a2584 Thanks @​olafur-andri! - Adds Icelandic language support

  • #4229 e4a3d82 Thanks @​HiDeoo! - Fixes a potential issue with icons being cut off in Firefox when pinch-zooming.

  • #4226 fb562dd Thanks @​HiDeoo! - Fixes an issue where pages not importing components from @astrojs/starlight/components included styles of Starlight components used on other pages.

  • #4250 531af7d Thanks @​HiDeoo! - Fixes Failed to resolve dependency warnings logged when running the development server in projects using the Cloudflare adapter.

  • #4229 e4a3d82 Thanks @​HiDeoo! - Fixes the codePen and node icons slightly extending beyond their bounding box.

@​astrojs/starlight@​0.42.5

Patch Changes

@​astrojs/starlight@​0.42.4

Patch Changes

@​astrojs/starlight@​0.42.3

Patch Changes

... (truncated)

Changelog

Sourced from @​astrojs/starlight's changelog.

0.42.8

Patch Changes

  • #4309 3490c80 Thanks @​athulsreekumar! - Fixes autogenerated sidebar groups omitting directories whose names match Object.prototype properties, such as constructor or toString

  • #4290 bf93823 Thanks @​RaphaelFakhri! - Fixes missing last-updated dates in production builds for pages whose file path contains special characters

  • #4295 af9557e Thanks @​delucis! - Fixes a formatting issue in some error messages impacting projects with Zod ≥4.5 installed

  • #4299 a103f38 Thanks @​clean99! - Fixes empty sidebars when autogenerating entries from the docs root directory using directory: ''

0.42.7

Patch Changes

  • #4264 94e0985 Thanks @​chrispezza! - Fixes a layout shift where the table of contents could be painted at the start of the content area and then jump to the end when a page's HTML arrived in several chunks

  • #4285 6f22edd Thanks @​tunetheweb! - Improves hero image loading by adding fetchpriority="high" hint for browsers

0.42.6

Patch Changes

  • #4252 40a2584 Thanks @​olafur-andri! - Adds Icelandic language support

  • #4229 e4a3d82 Thanks @​HiDeoo! - Fixes a potential issue with icons being cut off in Firefox when pinch-zooming.

  • #4226 fb562dd Thanks @​HiDeoo! - Fixes an issue where pages not importing components from @astrojs/starlight/components included styles of Starlight components used on other pages.

  • #4250 531af7d Thanks @​HiDeoo! - Fixes Failed to resolve dependency warnings logged when running the development server in projects using the Cloudflare adapter.

  • #4229 e4a3d82 Thanks @​HiDeoo! - Fixes the codePen and node icons slightly extending beyond their bounding box.

0.42.5

Patch Changes

0.42.4

Patch Changes

... (truncated)

Commits

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 1, 2026
@martastn martastn self-assigned this Nov 4, 2026
@martastn

martastn commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight) from 0.38.4 to 0.42.8.
- [Release notes](https://github.com/withastro/starlight/releases)
- [Changelog](https://github.com/withastro/starlight/blob/main/packages/starlight/CHANGELOG.md)
- [Commits](https://github.com/withastro/starlight/commits/@astrojs/starlight@0.42.8/packages/starlight)

---
updated-dependencies:
- dependency-name: "@astrojs/starlight"
  dependency-version: 0.42.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump @astrojs/starlight from 0.38.4 to 0.42.4 Bump @astrojs/starlight from 0.38.4 to 0.42.8 Nov 4, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/astrojs/starlight-0.42.4 branch from 5b37944 to ea364bc Compare November 4, 2026 14:15
@martastn
martastn deployed to github-pages November 4, 2026 14:28 — with GitHub Actions Active
@martastn

martastn commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Verdict: Merge after patch

Bump: @astrojs/starlight 0.38.4 → 0.42.8 (4 minors, pre-1.0 → breaking; direct dependency)

Changes: 0.39 autogenerate groups must be wrapped in items · 0.41 drops Astro 6 (requires Astro 7) · 0.42 requires astro ≥ 7.2.10, removes the tagline option, new mobile-menu markup · 0.41.2 changes content/TOC widths when a custom --sl-content-width is set · 0.42.5–0.42.8: bug fixes only (icon overflow: visible, per-page component CSS, TOC layout-shift fix)

Usage in repo: astro.config.mjs (sidebar with 4 autogenerate groups, tagline), content.config.ts, Tabs/Card/LinkCard in MDX, custom.css (--sl-content-width: 55rem), Mermaid plugin (remark)

Impact: npm ci/npm install fail with ERESOLVE (peer astro@^7.2.10, repo is on 6.3.1). With --legacy-peer-deps, the build fails on autogenerate and Unrecognized key: "tagline".

Fix: astro ^7.4.5, @astrojs/react ^7.1.2, + @astrojs/markdown-remark ^7.3.5 with markdown.processor: unified() (otherwise Mermaid silently renders as a code block), compressHTML: true (keeps Astro 6 whitespace), overrides for the Mermaid plugin's peer dependency, sidebar items: [{ autogenerate }], tagline removed, 2 CSS rules restoring the old content/TOC widths.

Verified (main vs main+bump+patch):

  • npm ci ✅ · npm install leaves lockfile unchanged ✅ · astro check 0/0/0 ✅ · build ✅ (48 pages, same files, identical sitemap, dist 9480 → 9452 kB) · links ✅ (same 2 pre-existing 404s) · npm audit 30 → 17 (critical in astro gone)
  • Layout fingerprint (position, size, color, font of every element) identical on 9 pages at 375/1100/1280/1400/1600 px, dark and light themes. Mermaid, Swagger, Tabs (sync), search, theme switch, mobile menu, copy buttons, hover/focus, 404 and console all behave the same.

Notes: This is effectively an Astro 6 → 7 migration. The Mermaid plugin (@pasqal-io/starlight-client-mermaid 0.1.0, no release since 2025-02) runs on Astro 7 only through an overrides entry.

@martastn
martastn merged commit 78b7517 into main Nov 4, 2026
4 checks passed
@martastn
martastn deleted the dependabot/npm_and_yarn/astrojs/starlight-0.42.4 branch November 4, 2026 14:33

This branch was successfully deployed

1 active deployment
github-pages — aff49be1 Deployed Nov 4, 2026 by martastn via deploy #247
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant