Skip to content

build(deps): bump @astrojs/starlight from 0.38.4 to 0.39.2#187

Merged
parse merged 2 commits into
mainfrom
dependabot/npm_and_yarn/astrojs/starlight-0.39.2
May 13, 2026
Merged

build(deps): bump @astrojs/starlight from 0.38.4 to 0.39.2#187
parse merged 2 commits into
mainfrom
dependabot/npm_and_yarn/astrojs/starlight-0.39.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 13, 2026

Bumps @astrojs/starlight from 0.38.4 to 0.39.2.

Release notes

Sourced from @​astrojs/starlight's releases.

@​astrojs/starlight@​0.39.2

Patch Changes

@​astrojs/starlight@​0.39.1

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.

@​astrojs/starlight@​0.39.0

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' }
    }

... (truncated)

Changelog

Sourced from @​astrojs/starlight's changelog.

0.39.2

Patch Changes

0.39.1

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

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/',

... (truncated)

Commits

@dependabot dependabot Bot requested a review from a team as a code owner May 13, 2026 18:10
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 13, 2026
@erode-release erode-release Bot enabled auto-merge (squash) May 13, 2026 18:11
@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented May 13, 2026

Greptile Summary

Bumps @astrojs/starlight from 0.38.4 to 0.39.2 and applies the single required migration for the 0.39.0 breaking change to sidebar autogenerate configuration.

  • packages/web/package.json: Version range updated from ^0.38.4 to ^0.39.2.
  • packages/web/astro.config.mjs: The Model Formats sidebar group is correctly migrated from the old flat autogenerate key to the new items: [{ autogenerate: { directory: '...' } }] shape required by 0.39.0.
  • package-lock.json: Lockfile regenerated to reflect the new package resolution.

Confidence Score: 5/5

Safe to merge — the dependency bump and its required config migration are both applied correctly.

The 0.39.0 breaking change (wrapping autogenerate in an items array) is properly handled in astro.config.mjs, and no other sidebar groups use the old syntax. The change is minimal and self-contained.

No files require special attention.

Important Files Changed

Filename Overview
packages/web/package.json Bumps @astrojs/starlight from ^0.38.4 to ^0.39.2; no other dependency changes.
packages/web/astro.config.mjs Migrates the 'Model Formats' sidebar group to the new items: [{ autogenerate: ... }] shape required by the 0.39.0 breaking change.
package-lock.json Lockfile updated to reflect the new @astrojs/starlight version and its transitive dependencies.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["@astrojs/starlight 0.38.4"] -->|bump| B["@astrojs/starlight 0.39.2"]
    B --> C{Breaking Change in 0.39.0}
    C --> D["autogenerate must be wrapped in items array"]
    D --> E["astro.config.mjs updated\nModel Formats sidebar group migrated"]
    E --> F["Build: ✅ Config valid"]
Loading

Reviews (7): Last reviewed commit: "fix(web): update autogenerate sidebar sy..." | Re-trigger Greptile

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/astrojs/starlight-0.39.2 branch from 28b8548 to 1450ef9 Compare May 13, 2026 18:13
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/astrojs/starlight-0.39.2 branch from 1450ef9 to dd26549 Compare May 13, 2026 18:17
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/astrojs/starlight-0.39.2 branch from dd26549 to 970884a Compare May 13, 2026 18:20
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/astrojs/starlight-0.39.2 branch from 970884a to e45f775 Compare May 13, 2026 18:24
Bumps [@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight) from 0.38.4 to 0.39.2.
- [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.39.2/packages/starlight)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/astrojs/starlight-0.39.2 branch from e45f775 to f89041c Compare May 13, 2026 18:27
@parse
Copy link
Copy Markdown
Contributor

parse commented May 13, 2026

@copilot can you fix this?

packages/web/astro.config.mjs (unchanged): line 87 uses { label: 'Model Formats', autogenerate: { directory: 'docs/models' } } — the deprecated syntax. It must become { label: 'Model Formats', items: [{ autogenerate: { directory: 'docs/models' } }] } before or alongside this upgrade.

auto-merge was automatically disabled May 13, 2026 18:43

Head branch was pushed to by a user without write access

Copy link
Copy Markdown
Contributor

Copilot AI commented May 13, 2026

@copilot can you fix this?

packages/web/astro.config.mjs (unchanged): line 87 uses { label: 'Model Formats', autogenerate: { directory: 'docs/models' } } — the deprecated syntax. It must become...

Fixed in 4e22e97 — updated line 87 of astro.config.mjs to use items: [{ autogenerate: { directory: 'docs/models' } }] instead of the deprecated top-level autogenerate syntax.

Copilot finished work on behalf of parse May 13, 2026 18:43
Copilot AI requested a review from parse May 13, 2026 18:43
@parse parse merged commit 399643b into main May 13, 2026
8 checks passed
@parse parse deleted the dependabot/npm_and_yarn/astrojs/starlight-0.39.2 branch May 13, 2026 18:46
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.

2 participants