Skip to content

[Snyk] Upgrade @astrojs/starlight from 0.21.5 to 0.39.2 - #51

Open
qbey wants to merge 1 commit into
mainfrom
snyk-upgrade-264008ce1f6b514e035e7f8b36a90a3e
Open

qbey wants to merge 1 commit into
mainfrom
snyk-upgrade-264008ce1f6b514e035e7f8b36a90a3e

Conversation

@qbey

@qbey qbey commented May 30, 2026

Copy link
Copy Markdown
Member

snyk-top-banner

Snyk has created this PR to upgrade @astrojs/starlight from 0.21.5 to 0.39.2.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 93 versions ahead of your current version.

  • The recommended version was released 22 days ago.

Release notes
Package name: @astrojs/starlight
  • 0.39.2 - 2026-05-08

    Patch Changes

    • #3890 2d05e18 Thanks @ tats-u! - Fixes CSS selector for text-autospace styles in Chromium browsers
  • 0.39.1 - 2026-05-07

    Patch Changes

    • #3885 010eed1 Thanks @ ArmandPhilippot! - Fixes the version mentioned in an error message related to autogenerated sidebar groups support.

    • #3887 b3c6990 Thanks @ delucis! - Adds 13 new icons: clock, desktop, mobile-android, window, database, server, code-branch, notes, question, question-circle, analytics, padlock, and solidjs.

  • 0.39.0 - 2026-05-07

    Minor Changes

    • #3618 dcf6d09 Thanks @ HiDeoo! - ⚠️ BREAKING CHANGE: This release changes how autogenerated links work in Starlight’s sidebar configuration.

      If you have sidebar groups using the autogenerate key, you must now wrap that configuration in an items array:

      {
          label: 'My group',
      -   autogenerate: { directory: 'some-dir' },
      +   items: [{ autogenerate: { directory: 'some-dir' } }],
      }

      This change unlocks the possibility to mix autogenerated links and other links in a single group, for example:

      {
        label: 'Mixed group',
        items: [
          'example-page',
          { autogenerate: { directory: 'examples' } },
          { label: 'More examples', link: 'https://example.com' },
        ],
      }

      This release also updates the shape of autogenerated sidebar entries in route data. Autogenerated links and groups in Astro.locals.starlightRoute.sidebar now include an autogenerate object with the configured directory value:

      {
        type: 'link',
        label: 'Example',
        href: '/examples/example/',
        isCurrent: false,
        autogenerate: { directory: 'examples' }
      }
    • #3618 dcf6d09 Thanks @ HiDeoo! - ⚠️ BREAKING CHANGE: This release changes the default collapsed state of autogenerated sidebar subgroups.

      Autogenerated subgroups no longer inherit the collapsed value from their parent group. They are now expanded by default unless explicitly configured with autogenerate.collapsed.

      If your sidebar configuration relies on a collapsed parent group to also collapse its autogenerated subgroups, update your configuration to set autogenerate.collapsed to true:

      {
        label: 'Reference',
        collapsed: true,
        items: [
      -   { autogenerate: { directory: 'reference' } },
      +   { autogenerate: { directory: 'reference', collapsed: true } },
        ],
      }
    • #3845 4d755f5 Thanks @ delucis! - Adds a <link rel="alternate" hreflang="x-default" href="..."> tag pointing to the default locale in multilingual sites. The x-default alternate is used as a signal of which language to fall back to if no other is available. Learn more in Google’s SEO localization docs.

    • #3862 ec70630 Thanks @ itrew! - Makes spacing of items in nested lists more consistent

    • #3872 417a66c Thanks @ tats-u! - Enables the CSS property text-autospace in Chinese and Japanese documents.

      If you would prefer to disable autospacing in Chinese and Japanese pages, you can add the following custom CSS to your site:

      [lang]:where(:lang(zh, ja)) {
        text-autospace: initial;
      }
    • #3797 9764ebd Thanks @ delucis! - Avoids the risk of layout shift when users expand and collapse sidebar groups

      This release can introduce additional padding to the site sidebar on certain devices to reserve space for scrollbars. You may wish to inspect your site sidebar visually when upgrading.

      If you would prefer to keep the previous styling, you can add the following custom CSS to your site:

      .sidebar-pane {
        scrollbar-gutter: auto;
      }
    • #3858 6672c35 Thanks @ delucis! - Updates i18next, used for Starlight’s localization APIs, from v23 to v26

      There should not be any user-facing changes from this update

  • 0.38.5 - 2026-05-05

    Patch Changes

  • 0.38.4 - 2026-04-23

    Patch Changes

  • 0.38.3 - 2026-04-07

    Patch Changes

  • 0.38.2 - 2026-03-20

    Patch Changes

    • #3759 f24ce99 Thanks @ MilesChou! - Fixes an issue where monolingual sites using a region-specific locale (e.g., zh-TW) as the default would incorrectly display base language translations (e.g., zh Simplified Chinese) instead of the region-specific ones (e.g., zh-TW Traditional Chinese).

    • #3768 a4c6c20 Thanks @ delucis! - Improves performance of sidebar generation for sites with very large sidebars

  • 0.38.1 - 2026-03-11
  • 0.38.0 - 2026-03-11
  • 0.37.7 - 2026-03-06
  • 0.37.6 - 2026-02-02
  • 0.37.5 - 2026-01-30
  • 0.37.4 - 2026-01-23
  • 0.37.3 - 2026-01-15
  • 0.37.2 - 2026-01-06
  • 0.37.1 - 2025-12-09
  • 0.37.0 - 2025-11-28
  • 0.36.3 - 2025-11-24
  • 0.36.2 - 2025-10-31
  • 0.36.1 - 2025-10-15
  • 0.36.0 - 2025-09-19
  • 0.35.3 - 2025-09-13
  • 0.35.2 - 2025-07-29
  • 0.35.1 - 2025-07-18
  • 0.35.0 - 2025-07-16
  • 0.34.8 - 2025-07-16
  • 0.34.7 - 2025-07-15
  • 0.34.6 - 2025-07-14
  • 0.34.5 - 2025-07-11
  • 0.34.4 - 2025-06-13
  • 0.34.3 - 2025-05-08
  • 0.34.2 - 2025-05-01
  • 0.34.1 - 2025-04-24
  • 0.34.0 - 2025-04-16
  • 0.33.2 - 2025-04-14
  • 0.33.1 - 2025-04-11
  • 0.33.0 - 2025-04-07
  • 0.32.6 - 2025-04-05
  • 0.32.5 - 2025-03-26
  • 0.32.4 - 2025-03-21
  • 0.32.3 - 2025-03-18
  • 0.32.2 - 2025-02-27
  • 0.32.1 - 2025-02-19
  • 0.32.0 - 2025-02-15
  • 0.31.1 - 2025-01-17
  • 0.31.0 - 2025-01-13
  • 0.30.6 - 2025-01-10
  • 0.30.5 - 2025-01-07
  • 0.30.4 - 2025-01-06
  • 0.30.3 - 2024-12-19
  • 0.30.2 - 2024-12-16
  • 0.30.1 - 2024-12-14
  • 0.30.0 - 2024-12-13
  • 0.29.3 - 2024-12-11
  • 0.29.2 - 2024-11-19
  • 0.29.1 - 2024-11-19
  • 0.29.0 - 2024-11-08
  • 0.28.6 - 2024-11-04
  • 0.28.5 - 2024-11-01
  • 0.28.4 - 2024-10-28
  • 0.28.3 - 2024-10-07
  • 0.28.2 - 2024-09-19
  • 0.28.1 - 2024-09-18
  • 0.28.0 - 2024-09-18
  • 0.27.1 - 2024-09-08
  • 0.27.0 - 2024-09-06
  • 0.26.4 - 2024-09-06
  • 0.26.3 - 2024-09-04
  • 0.26.2 - 2024-09-02
  • 0.26.1 - 2024-08-16
  • 0.26.0 - 2024-08-16
  • 0.25.5 - 2024-08-13
  • 0.25.4 - 2024-08-06
  • 0.25.3 - 2024-07-29
  • 0.25.2 - 2024-07-23
  • 0.25.1 - 2024-07-10
  • 0.25.0 - 2024-07-05
  • 0.24.5 - 2024-06-28
  • 0.24.4 - 2024-06-20
  • 0.24.3 - 2024-06-18
  • 0.24.2 - 2024-06-12
  • 0.24.1 - 2024-06-09
  • 0.24.0 - 2024-06-05
  • 0.23.4 - 2024-06-05
  • 0.23.3 - 2024-06-04
  • 0.23.2 - 2024-05-28
  • 0.23.1 - 2024-05-18
  • 0.23.0 - 2024-05-17
  • 0.22.4 - 2024-05-16
  • 0.22.3 - 2024-05-14
  • 0.22.2 - 2024-05-06
  • 0.22.1 - 2024-05-01
  • 0.22.0 - 2024-04-30
  • 0.21.5 - 2024-04-09
from @astrojs/starlight GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade @astrojs/starlight from 0.21.5 to 0.39.2.

See this package in npm:
@astrojs/starlight

See this project in Snyk:
https://app.eu.snyk.io/org/lasuite-dinum-default/project/79c0937d-1ee2-48f1-8afc-366fdb5bf1cb?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants