Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency @astrojs/starlight to ^0.30.3 #51

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@astrojs/starlight (source) ^0.28.2 -> ^0.30.3 age adoption passing confidence

Release Notes

withastro/starlight (@​astrojs/starlight)

v0.30.3

Compare Source

Patch Changes

v0.30.2

Compare Source

Patch Changes
  • #​2702 02d16f3 Thanks @​HiDeoo! - Fixes an issue with autogenerated sidebars when using Starlight with Astro's new Content Layer API with directories containing spaces or special characters.

  • #​2704 fd16470 Thanks @​delucis! - Fixes display of focus indicator around site title

v0.30.1

Compare Source

Patch Changes
  • #​2688 5c6996c Thanks @​HiDeoo! - Fixes an issue with autogenerated sidebars when using Starlight with Astro's new Content Layer API where group names would be sluggified.

v0.30.0

Compare Source

Minor Changes
Upgrade Astro and dependencies

⚠️ BREAKING CHANGE: Astro v4 is no longer supported. Make sure you update Astro and any other official integrations at the same time as updating Starlight:

npx @​astrojs/upgrade

Community Starlight plugins and Astro integrations may also need to be manually updated to work with Astro v5. If you encounter any issues, please reach out to the plugin or integration author to see if it is a known issue or if an updated version is being worked on.

Update your collections

⚠️ BREAKING CHANGE: Starlight's internal content collections, which organize, validate, and render your content, have been updated to use Astro's new Content Layer API and require configuration changes in your project.

  1. Move the content config file. This file no longer lives within the src/content/config.ts folder and should now exist at src/content.config.ts.

  2. Edit the collection definition(s). To update the docs collection, a loader is now required:

     // src/content.config.ts
     import { defineCollection } from "astro:content";
    +import { docsLoader } from "@​astrojs/starlight/loaders";
     import { docsSchema } from "@​astrojs/starlight/schema";
    
     export const collections = {
    -  docs: defineCollection({ schema: docsSchema() }),
    +  docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
     };

    If you are using the i18n collection to provide translations for additional languages you support or override our default labels, you will need to update the collection definition in a similar way and remove the collection type which is no longer available:

     // src/content.config.ts
     import { defineCollection } from "astro:content";
    +import { docsLoader, i18nLoader } from "@​astrojs/starlight/loaders";
     import { docsSchema, i18nSchema } from "@​astrojs/starlight/schema";
    
     export const collections = {
    -  docs: defineCollection({ schema: docsSchema() }),
    +  docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
    -  i18n: defineCollection({ type: 'data', schema: i18nSchema() }),
    +  i18n: defineCollection({ loader: i18nLoader(), schema: i18nSchema() }),
     };
  3. Update other collections. To update any other collections you may have, follow the “Updating existing collections” section in the Astro 5 upgrade guide.

If you are unable to make any changes to your collections at this time, including Starlight's default docs and i18n collections, you can enable the legacy.collections flag to upgrade to v5 without updating your collections. This legacy flag exists to provide temporary backwards compatibility, and will allow you to keep your collections in their current state until the legacy flag is no longer supported.

Patch Changes

v0.29.3

Compare Source

Patch Changes

v0.29.2

Compare Source

Patch Changes
  • #​2616 128cc51 Thanks @​delucis! - Fixes an edge case to correctly avoid a trailing slash when navigating from a root locale homepage to another language via Starlight’s language switcher when trailingSlash: 'never' is set

v0.29.1

Compare Source

Patch Changes

v0.29.0

Compare Source

Minor Changes
  • #​2551 154c8e3 Thanks @​hippotastic! - Updates the astro-expressive-code dependency to the latest version (0.38).

    The new version allows using ec.config.mjs to selectively override individual Expressive Code styles and settings provided by Starlight themes and plugins, speeds up Shiki language loading, and adds the config option expressiveCode.shiki.injectLangsIntoNestedCodeBlocks. See the Expressive Code release notes for full details.

  • #​2252 6116db0 Thanks @​HiDeoo! - Improves build performance for sites with large sidebars

    This release adds a caching layer to Starlight’s sidebar generation logic, reducing the number of times sidebars need to be regenerated while building a site. Some benchmarks for projects with a complex sidebar saw builds complete more than 35% faster with this change.

  • #​2503 a4c8edd Thanks @​HiDeoo! - Improves the accessibility of asides and tabs by removing some unnecessary HTML landmarks.

Patch Changes

v0.28.6

Compare Source

Patch Changes
  • #​2565 236467b Thanks @​HiDeoo! - Fixes an issue with custom UI strings defined in YAML files not being loaded in some contexts.

v0.28.5

Compare Source

Patch Changes
  • #​2546 bf42300 Thanks @​HiDeoo! - Fixes an issue where i18n content collection related errors, e.g. malformed JSON or YAML, would not be reported.

  • #​2548 07673c8 Thanks @​HiDeoo! - Fixes a URL localization edge case. In projects without a root locale configured, slugs without a locale prefix did not fall back to the default locale as expected.

  • #​2547 91e1dd7 Thanks @​HiDeoo! - Fixes a Firefox Markdown content rendering issue for text sentences separated by a line break.

  • #​2524 1b46783 Thanks @​jsparkdev! - Fixes a broken link to Astro’s Docs in an error message

v0.28.4

Compare Source

Patch Changes

v0.28.3

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - "* 0-3 1 * *" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies This updates dependency files label Nov 1, 2024
Copy link

github-actions bot commented Nov 1, 2024

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/development/telescopium/-/pipelines/1595916779

Status: Failed
Duration: 22 seconds

@renovate renovate bot changed the title Update dependency @astrojs/starlight to ^0.28.4 Update dependency @astrojs/starlight to ^0.28.5 Nov 1, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 661c0ea to 069df10 Compare November 1, 2024 16:03
@renovate renovate bot changed the title Update dependency @astrojs/starlight to ^0.28.5 Update dependency @astrojs/starlight to ^0.28.6 Nov 4, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 069df10 to f520f27 Compare November 4, 2024 14:32
@renovate renovate bot changed the title Update dependency @astrojs/starlight to ^0.28.6 Update dependency @astrojs/starlight to ^0.29.0 Nov 8, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from f520f27 to 45cf7a6 Compare November 8, 2024 19:16
@renovate renovate bot changed the title Update dependency @astrojs/starlight to ^0.29.0 Update dependency @astrojs/starlight to ^0.29.1 Nov 19, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 45cf7a6 to b640a35 Compare November 19, 2024 15:01
@renovate renovate bot changed the title Update dependency @astrojs/starlight to ^0.29.1 Update dependency @astrojs/starlight to ^0.29.2 Nov 19, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from b640a35 to 47a5f2b Compare November 19, 2024 20:33
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 47a5f2b to d026159 Compare December 11, 2024 21:01
@renovate renovate bot changed the title Update dependency @astrojs/starlight to ^0.29.2 Update dependency @astrojs/starlight to ^0.29.3 Dec 11, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from d026159 to e019928 Compare December 14, 2024 00:49
@renovate renovate bot changed the title Update dependency @astrojs/starlight to ^0.29.3 Update dependency @astrojs/starlight to ^0.30.0 Dec 14, 2024
Copy link
Contributor Author

renovate bot commented Dec 14, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/astro
npm error   astro@"^4.15.10" from the root project
npm error
npm error Could not resolve dependency:
npm error peer astro@"^5.0.0" from @astrojs/[email protected]
npm error node_modules/@astrojs/starlight
npm error   @astrojs/starlight@"^0.30.3" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/renovate/cache/others/npm/_logs/2024-12-19T12_20_27_938Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-12-19T12_20_27_938Z-debug-0.log

@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from e019928 to 7d49c83 Compare December 14, 2024 15:27
@renovate renovate bot changed the title Update dependency @astrojs/starlight to ^0.30.0 Update dependency @astrojs/starlight to ^0.30.1 Dec 14, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from 7d49c83 to d7ff65d Compare December 16, 2024 19:39
@renovate renovate bot changed the title Update dependency @astrojs/starlight to ^0.30.1 Update dependency @astrojs/starlight to ^0.30.2 Dec 16, 2024
@renovate renovate bot force-pushed the renovate/astrojs-starlight-0.x branch from d7ff65d to 4e9ea4e Compare December 19, 2024 12:20
@renovate renovate bot changed the title Update dependency @astrojs/starlight to ^0.30.2 Update dependency @astrojs/starlight to ^0.30.3 Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies This updates dependency files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant