-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore: update dependency @astrojs/starlight to ^0.30.3 #55
base: main
Are you sure you want to change the base?
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
29a6a05
to
f6aebda
Compare
f6aebda
to
5071da3
Compare
5071da3
to
fddf345
Compare
f6993ab
to
46e9178
Compare
46e9178
to
659a0d9
Compare
659a0d9
to
94f3117
Compare
94f3117
to
4f41960
Compare
4f41960
to
7cb1945
Compare
7cb1945
to
91ad3f6
Compare
91ad3f6
to
95b7445
Compare
95b7445
to
2b0a7e5
Compare
2b0a7e5
to
acaec85
Compare
acaec85
to
f85edd7
Compare
f85edd7
to
658c135
Compare
658c135
to
131f14c
Compare
131f14c
to
45eceb0
Compare
45eceb0
to
228ada4
Compare
228ada4
to
0e1f698
Compare
0e1f698
to
79cd08a
Compare
79cd08a
to
9f81c41
Compare
9f81c41
to
e7deec6
Compare
9296755
to
333e6d6
Compare
5125a9e
to
740c5ee
Compare
740c5ee
to
b3f1f3c
Compare
This PR contains the following updates:
^0.21.5
->^0.30.3
Release Notes
withastro/starlight (@astrojs/starlight)
v0.30.3
Compare Source
Patch Changes
#2717
c5fcbb3
Thanks @delucis! - Fixes a list item spacing issue where line break elements (<br>
) could receive a margin, breaking layout in Firefox#2724
02d7ac6
Thanks @dionysuzx! - Adds social link support for Farcaster#2635
ec4b851
Thanks @HiDeoo! - Fixes an issue where the language picker in multilingual sites could display the wrong language when navigating between pages with the browser back/forward buttons.#2726
e54ebd5
Thanks @techfg! - Adds icon for phonev0.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.v0.27.1
Compare Source
Patch Changes
f92791a
Thanks @delucis! - Fixes resolution for the internal module Git virtual module in projects with special characters in the file pathv0.27.0
Compare Source
Minor Changes
#1255
6f3202b
Thanks @Fryuni! - Adds support for server-rendered Starlight pages.When building a project with
hybrid
orserver
output mode, a newprerender
option on Starlight config can be set tofalse
to make all Starlight pages be rendered on-demand:Patch Changes
#2242
756e85e
Thanks @delucis! - Refactors the logic for persisting and restoring sidebar state across navigations for better performance on slow or busy devices#1255
6f3202b
Thanks @Fryuni! - Improves performance of computing the last updated times from Git history.Instead of executing
git
for each docs page, it is now executed twice regardless of the number of pages.#1255
6f3202b
Thanks @Fryuni! - Fixes last updated times on projects with customsrcDir
v0.26.4
Compare Source
Patch Changes
#2288
b15f725
Thanks @matthewp! - Safely handle Zod errorsPrevents bugs where errors without the
.received
props would through and cause builds to fail unnecessarily.v0.26.3
Compare Source
Patch Changes
#2281
5062d30
Thanks @HiDeoo! - Fixes a potential text rendering issue that could include extra whitespaces for text containing colons.#2279
62d59e2
Thanks @HiDeoo! - Fixes an issue with frontmatter schemas containing collection references used with the<StarlightPage />
component and an Astro version greater than4.14.0
.v0.26.2
Compare Source
Patch Changes
#2273
746e0cd
Thanks @delucis! - Fixes type error when using Starlight with Astro v4.15#2265
25b661e
Thanks @SeraphicRav! - Adds TikTok social icon#2272
d1969dd
Thanks @o-az! - Adds new icon:jsr
#2250
c0a6166
Thanks @HiDeoo! - Removes internal E2E tests from the package published to the npm registry.#2253
72bc76a
Thanks @HiDeoo! - Fixes an issue preventing to use theclass
attribute in hero action link buttons.v0.26.1
Compare Source
Patch Changes
74d4716
Thanks @HiDeoo! - Fixes a sidebar persistence issue when navigating between pages with different sidebar content.v0.26.0
Compare Source
Minor Changes
#1784
68f56a7
Thanks @HiDeoo! - Adds<LinkButton>
component for visually distinct and emphasized call to action links#2150
9368494
Thanks @delucis! - Adds state persistence across page navigations to the main site sidebar#2087
caa84ea
Thanks @HiDeoo! - Adds persistence to synced<Tabs>
so that a user's choices are reflected across page navigations.#2051
ec3b579
Thanks @HiDeoo! - Adds a guideline to the last step of the<Steps>
component.If you want to preserve the previous behaviour and hide the guideline on final steps, you can add the following custom CSS to your site:
#1784
68f56a7
Thanks @HiDeoo! - Changes the hero component action button default variant fromminimal
toprimary
.variant
will need to be updated to include thevariant
property with the valueminimal
.hero: actions: - text: View on GitHub link: https://github.com/astronaut/my-project icon: external + variant: minimal
#2168⚠️ BREAKING CHANGE: Updates the
e044fee
Thanks @HiDeoo! -<StarlightPage />
componentsidebar
prop to accept an array ofSidebarItem
s like the main Starlightsidebar
configuration inastro.config.mjs
.This change simplifies the definition of sidebar items in the
<StarlightPage />
component, allows for shared sidebar configuration between the globalsidebar
option and<StarlightPage />
component, and also enables the usage of autogenerated sidebar groups with the<StarlightPage />
component.If you are using the
<StarlightPage />
component with a customsidebar
configuration, you will need to update thesidebar
prop to an array ofSidebarItem
objects.For example, the following custom page with a custom
sidebar
configuration defines a “Resources” group with a “New” badge, a link to the “Showcase” page which is part of thedocs
content collection, and a link to the Starlight website:v0.25.5
Compare Source
Patch Changes
#2171
c8258d7
Thanks @delucis! - Improves build performance slightly for bigger sites#2199
91557fd
Thanks @connorjs! - Adds Azure DevOps (azureDevOps
) icon for use in social links.v0.25.4
Compare Source
Patch Changes
#2155
8bed886
Thanks @delucis! - Improves page load performance on slower devices#2167
9ac7725
Thanks @delucis! - Fixes an issue detecting the built-in locale when running Starlight in a web container environment on Firefox#2166
4f12049
Thanks @delucis! - Updates@astrojs/mdx
,@astrojs/sitemap
,astro-expressive-code
,unified
, andvfile
dependencies to the latest versionv0.25.3
Compare Source
Patch Changes
#2154
0b381d5
Thanks @mktbsh! - Updates<head>
logic to deduplicate<link rel="canonical">
tags. This means that custom canonicals set via frontmatter now override the default canonical generated by Starlight.#2157
6757d97
Thanks @astrobot-houston! - Updates file tree icon mapping to correctly map.cjs
and.mjs
extensions in several contexts#2156
904ad47
Thanks @delucis! - Fixes builds for projects with a space in their pathname#2137
703903b
Thanks @cevdetardaharan! - Removestwitter:title
andtwitter:description
meta tags from<head>
v0.25.2
Compare Source
Patch Changes
#2126
ada51ee
Thanks @essential-randomness! - Adds support for markdown formatting in aside titles#2135
9bbb969
Thanks @oluwatobiss! - Adds Pinterest social iconv0.25.1
Compare Source
Patch Changes
#2122
359a642
Thanks @HiDeoo! - Fixes an i18n configuration issue for multilingual sites when using Astro’si18n
config withprefixDefaultLocale
set tofalse
.#2107
61e223b
Thanks @sanabel-al-firdaws! - Updates Arabic UI translations#2105
81f8a2c
Thanks @delucis! - Fixes an edge case in custom pagination link processingCustom link values for
prev
/next
in page frontmatter are now always used as authored.Previously this was not the case in some edge cases such as for the first and final pages in the sidebar.
#2119
464685a
Thanks @evadecker! - Improves styling of<hr>
,<blockquote>
, and<code>
within asidesv0.25.0
Compare Source
Minor Changes
#2025
47f32c1
Thanks @HiDeoo! - Removes the/
search shortcut for accessibility reasons.search.shortcutLabel
UI string has been removed. If you were using this string in your custom UI, you will need to update your code.#2064
c5b47cb
Thanks @SnowDingo! - Improves styling of Markdown tables to work better in different contexts, including against different background colours like when used in asides.#2031
2bab648
Thanks @delucis! - Makes sidebar entry parsing stricter in Starlight configlink
anditems
was considered valid, withitems
being ignored. Now, it is an error to include more than one oflink
,items
, orautogenerate
in a sidebar entry.If you see errors after updating, look for sidebar entries in the Starlight configuration in
astro.config.mjs
that include too many keys and remove the one that was previously ignored.#1874
eeba06e
Thanks @lorenzolewis! - Adds a new syntax for specifying sidebar link items for internal linksYou can now specify an internal page using only its slug, either as a string, or as an object with a
slug
property:Starlight will use the linked page’s frontmatter to configure the sidebar link.
Patch Changes
f0181d2
Thanks @andrii-bodnar! - Updates the Ukrainian UI translationsv0.24.5
Compare Source
Patch Changes
#2062
5ac0ac6
Thanks @evadecker! - Increase theme and language select inline padding#2056
87e9ad0
Thanks @HiDeoo! - Fixes an issue preventing remark plugins injected by Starlight plugins to handle Markdown text and leaf directives.#2063
3ee1a94
Thanks @delucis! - TranslatefileTree.directory
andaside.*
UI string into Norwegian (Bokmål).#2054
dbfd3ee
Thanks @HiDeoo! - Fixes an issue when using the<StarlightPage>
component in a custom page with a user-definedsrcDir
configuration.v0.24.4
Compare Source
Patch Changes
#2038
87f3f92
Thanks @dragomano! - Updates Russian UI translations#2043
53f4cd4
Thanks @playmr365! - Updates Czech UI translations#2041
8af5a60
Thanks @HiDeoo! - Fixes<Steps>
numbering bug caused by Chrome v126 CSS counter rewritev0.24.3
Compare Source
Patch Changes
#2028
af81ad3
Thanks @HiDeoo! - Fixes a search dialog height issue in Safari.#2022
80f82b1
Thanks @playmr365! - Updates Czech UI translationsv0.24.2
Compare Source
Patch Changes
#2008
40359c7
Thanks @vnepogodin! - Add Slovak language UI translation.#2004
0aa2f06
Thanks @liruifengv! - Removes an outdated export inpackage.json
#2007
44ca490
Thanks @delucis! - Updates internal dependencies#1993
60165b2
Thanks @HiDeoo! - Fixes an i18n configuration issue when using a single root locale.v0.24.1
Compare Source
Patch Changes
#1978
a5ab8cd6
Thanks @kylewlacy! - Add new social icon for Zulip#1962
2ef19a94
Thanks @torn4dom4n! - Updates Vietnamese UI translations#1976
5a61f73c
Thanks @jsparkdev! - Updates Korean UI translations#1987
0b8a8439
Thanks @HiDeoo! - Fixes issues with the locale text direction detection mechanism in some environments like WebContainers or Bun.v0.24.0
Compare Source
Minor Changes
#1841
ee0cd38a
Thanks @HiDeoo! - Adds support forAstro.currentLocale
and Astro’s i18n routing.i18n
option for you based on itslocales
config.If you are currently using Astro’s
i18n
option as well as Starlight’slocales
option, you will need to remove one of these.In general we recommend using Starlight’s
locales
, but if you have a more advanced configuration you may choose to keep Astro’si18n
config instead.#1958
081d1a96
Thanks @delucis! - Allows users to opt into displaying a “Built with Starlight” link in the site footer#1530
dd64836a
Thanks @kevinzunigacuellar! - Adds a new<Badge>
componentv0.23.4
Compare Source
Patch Changes
15ef1f4b
Thanks @HiDeoo! - Reverts a change to prevent a numbering issue with the<Steps>
component in future versions of Chrome.v0.23.3
Compare Source
Patch Changes
#1948
68c0c077
Thanks @HiDeoo! - Fixes a<Steps>
component numbering issue with the next Chrome stable version when a step contains a nested list.#1909
c98c7088
Thanks @joshka! - Adds Discourse to social iconsv0.23.2
Compare Source
Patch Changes
#1913
7ebe8f75
Thanks @delucis! - Fixes support for Astro’sbuild: { format: 'preserve' }
configuration option#1941
2f3240c9
Thanks @astrobot-houston! - Adds icon support for.otf
files in<FileTree>
v0.23.1
Compare Source
Patch Changes
01de9be8
Thanks @delucis! - Internal refactor: simplify some CSS for the<details>
elementv0.23.0
Compare Source
Minor Changes
#1846
2de67039
Thanks @delucis! - Updates@astrojs/mdx
to v3 and enables MDX optimization by defaultMost Starlight users should be unaffected, but if you are using MDX files outside of Starlight pages with the
components
prop, you may see issues. You can disable optimization by adding MDX manually to yourintegrations
array inastro.config.mjs
:#1735
1a9ab50d
Thanks @HiDeoo! - Adds custom styles for<details>
and<summary>
elements in Markdown content.#1846⚠️ BREAKING CHANGE: The minimum supported version of Astro is now 4.8.6
2de67039
Thanks @delucis! -Please update Astro and Starlight together:
v0.22.4
Configuration
📅 Schedule: Branch creation - "after 10am on monday,before 5pm on monday" in timezone Asia/Tokyo, 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.