fix(deps): update dependency @astrojs/starlight to ^0.30.0 #265
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.27.1
->^0.30.0
Release Notes
withastro/starlight (@astrojs/starlight)
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 titlev0.30.1
Compare Source
Patch Changes
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
8d5a4e8
Thanks @HiDeoo! - Adds support for Astro v5, drops support for Astro v4.Upgrade Astro and dependencies
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
Move the content config file. This file no longer lives within the
src/content/config.ts
folder and should now exist atsrc/content.config.ts
.Edit the collection definition(s). To update the
docs
collection, aloader
is now required: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 collectiontype
which is no longer available: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
andi18n
collections, you can enable thelegacy.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
#2669
310df7d
Thanks @aaronperezaguilera! - Adds Catalan UI translations#2664
62ff007
Thanks @HiDeoo! - Publishes provenance containing verifiable data to link a package back to its source repository and the specific build instructions used to publish it.#2670
0223b42
Thanks @aaronperezaguilera! - Adds Spanish UI translations for the Pagefind search modalv0.29.3
Compare Source
Patch Changes
#2642
12750ae
Thanks @dragomano! - Updates Russian UI translations#2656
4d543be
Thanks @HiDeoo! - Improves error message when an invalid configuration or no configuration is provided to the Starlight integration.#2645
cf12beb
Thanks @techfg! - Fixes support for favicon URLs that contain a search query and/or hash#2650
38db4ec
Thanks @raviqqe! - Moves@types/js-yaml
package to non-dev dependencies#2633
5adb720
Thanks @HiDeoo! - Fixes a VoiceOver issue with Safari where the content of a<script>
element could be read before the sidebar content.#2663
34755f9
Thanks @astrobot-houston! - Adds a newseti:vite
icon for Vite configuration files in the<FileTree>
componentv0.29.2
Compare Source
Patch Changes
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 whentrailingSlash: 'never'
is setv0.29.1
Compare Source
Patch Changes
#2611
6059d96
Thanks @HiDeoo! - Fixes a UI string type issue in projects with multiple data content collections.#2606
10b15a7
Thanks @delucis! - Makes<CardGrid>
more resilient to complex child content on smaller viewports#2605
ec7ab4f
Thanks @brianzelip! - ExposesSidebarPersister
component in package exports for use in custom overrides#2614
9a31980
Thanks @HiDeoo! - Fixes an issue with custom pages using the<StarlightPage />
component and a custom sidebar missing highlighting for the active page and navigation links.#2600
49aef17
Thanks @jdevega! - Adds Backstage social icon#2613
a73780f
Thanks @delucis! - Fixes support forsidebar
frontmatter options in sidebar entries usingslug
or the string shorthand for internal linksv0.29.0
Compare Source
Minor Changes
#2551
154c8e3
Thanks @hippotastic! - Updates theastro-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 optionexpressiveCode.shiki.injectLangsIntoNestedCodeBlocks
. See the Expressive Code release notes for full details.#2252
6116db0
Thanks @HiDeoo! - Improves build performance for sites with large sidebarsThis 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
241966b
Thanks @RafidMuhymin! - Adds social link icon for Nostrv0.28.6
Compare Source
Patch Changes
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 messagev0.28.4
Compare Source
Patch Changes
#2444
d585b3e
Thanks @HiDeoo! - Fixes a UI string translation issue for languages with a region subtag.#2518
0f69db8
Thanks @morinokami! - Updates Japanese UI translations#2507
bd6ced5
Thanks @HiDeoo! - Fixes a table of contents highlighting issue after resizing the window.#2444
d585b3e
Thanks @HiDeoo! - Refactors various components to use the new built-in localization system to access translated UI strings.v0.28.3
Compare Source
Patch Changes
#2408
0b4823d
Thanks @HiDeoo! - Fixes a link formatting issue when using the Astrobuild.format
option set tofile
with abase
.#2380
7b451cf
Thanks @delucis! - Loosen Starlight’s i18n schema to pass through unknown keys#2388
6bba3d8
Thanks @HiDeoo! - Fixes a potential type-checking issue in Starlight projects.#2443
a0f40b3
Thanks @kevinzunigacuellar! - Fixes CSS issue where bottom padding is not applied in the search dialog.v0.28.2
Compare Source
Patch Changes
a257b83
Thanks @HiDeoo! - Fixes an issue with synced<Tabs>
components containing nested<Tabs>
causing tab panels to not render correctly.v0.28.1
Compare Source
Patch Changes
79b9ade
Thanks @HiDeoo! - Fixes an issue with Expressive Code UI labels not displaying correctly.v0.28.0
Compare Source
Minor Changes
#1923
5269aad
Thanks @HiDeoo! - Overhauls the built-in localization system which is now powered by thei18next
library and available to use anywhere in your documentation website.See the “Using UI translations” guide to learn more about how to access built-in UI labels or your own custom strings in your project. Plugin authors can also use the new
injectTranslations()
helper to add or update translation strings.Astro.props.labels
props has been removed from the props passed down to custom component overrides.If you are relying on
Astro.props.labels
(for example to read a built-in UI label), you will need to update your code to use the newAstro.locals.t()
helper instead.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.
This PR was generated by Mend Renovate. View the repository job log.