fix(deps): update dependency @astrojs/starlight to ^0.28.0 #8
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.24.4
->^0.28.0
Release Notes
withastro/starlight (@astrojs/starlight)
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.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.