fix(deps): update dependency @astrojs/starlight to ^0.21.0 - autoclosed #106
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.12.0
->^0.21.0
Release Notes
withastro/starlight (@astrojs/starlight)
v0.21.1
Compare Source
Patch Changes
#1584
8851d5cd
Thanks @HiDeoo! - Adds 2 new icons:apple
andlinux
.#1577
0ba77890
Thanks @morinokami! - TranslatesfileTree.directory
UI string into Japanese.#1593
fa7ed245
Thanks @liruifengv! - TranslatesfileTree.directory
UI string into simplified Chinese.#1585
bd4e278f
Thanks @HiDeoo! - TranslatesfileTree.directory
UI string into French.#1587
c5794260
Thanks @Eveeifyeve! - Adds 1 new icon:homebrew
.v0.21.0
Compare Source
Minor Changes
#1568
5f99a71d
Thanks @HiDeoo! - Adds support for optionally setting an icon on a<TabItem>
component to make it easier to visually distinguish between tabs.#1308
9a918a5b
Thanks @HiDeoo! - Adds<FileTree>
component to display the structure of a directory.#1308
9a918a5b
Thanks @HiDeoo! - Adds 144 new file-type icons from the Seti UI icon set, available with theseti:
prefix, e.g.seti:javascript
.#1564
d880065e
Thanks @delucis! - Adds a<Steps>
component for styling more complex guided tasks.#1308
9a918a5b
Thanks @HiDeoo! - Adds 5 new icons:astro
,biome
,bun
,mdx
, andpnpm
.v0.20.1
Compare Source
Patch Changes
8e091147
Thanks @hippotastic! - Updates Expressive Code to v0.33.4 to fix potential race condition bug in Shiki.v0.20.0
Compare Source
Minor Changes
#1541
1043052f
Thanks @hippotastic! - Updatesastro-expressive-code
dependency to the latest minor release (0.33).This unlocks support for word wrap and line numbers, as well as updating the syntax highlighter to the latest Shiki release, which includes new and updated language grammars.
See the Expressive Code release notes for more information including details of potentially breaking changes.
Patch Changes
#1542
b3b7a606
Thanks @delucis! - Improves error messages shown by Starlight for configuration errors.#1544
65dc6586
Thanks @torn4dom4n! - Update Vietnamese UI translationsv0.19.1
Compare Source
Patch Changes
#1527
163bc84
Thanks @HiDeoo! - Exports theStarlightPageProps
TypeScript type representing the props expected by the<StarlightPage />
component.#1504
fc83a05
Thanks @mingjunlu! - Adds Traditional Chinese UI translations#1534
aada680
Thanks @delucis! - Improves DX of thesidebar
prop used by the new<StarlightPage>
component.v0.19.0
Compare Source
Minor Changes
#1485
2cb3578
Thanks @timokoessler! - Add support for setting html attributes of hero action links#1175
dd11b95
Thanks @HiDeoo! - Adds a new<StarlightPage>
component to use the Starlight layout in custom pages.To learn more about this new feature, check out the new “Using Starlight’s design in custom pages” guide.
#1499
97bf523
Thanks @delucis! - Adds a new<Aside>
componentThe new component is in addition to the existing custom Markdown syntax.
v0.18.1
Compare Source
Patch Changes
#1487
6a72bda
Thanks @NavyStack! - Improves Korean UI translations#1489
b0d36de
Thanks @HiDeoo! - Fixes a potential text rendering issue with text containing colons.v0.18.0
Compare Source
Minor Changes
#1454
1d9ef56
Thanks @Fryuni! - Makes Starlight compatible with on-demand server rendering (sometimes referred to as server-side rendering or SSR).Starlight pages are always prerendered, even when using
output: 'server'
.#1454
1d9ef56
Thanks @Fryuni! - Enables Astro’sexperimental.globalRoutePriority
option and bumps the minimum required Astro version.v0.17.4
Compare Source
Patch Changes
#1473
29da505
Thanks @delucis! - Fixes a CSS bug for users with JavaScript disabled#1465
ce3108c
Thanks @delucis! - Updates internal MDX, sitemap, and Expressive Code dependencies to the latest versionsv0.17.3
Compare Source
Patch Changes
#1461
2e17880
Thanks @liruifengv! - Improves the table of contents title translation in Simplified Chinese#1462
4741ccc
Thanks @delucis! - Fixes overflow of very long site titles on narrow viewports#1459
9a8e0ec
Thanks @delucis! - Fixes a bug where table of contents highlighting could break given very specific combinations of content and viewport size#1458
8c88642
Thanks @delucis! - Silences i18n content collection warnings for projects without custom translations.v0.17.2
Compare Source
Patch Changes
#1442
1a642e4
Thanks @delucis! - Fixes URLs in language picker for sites withbuild.format: 'file'
#1440
2ea1e88
Thanks @hippotastic! - Adds JS support to the@astrojs/starlight/expressive-code
export to allow importing from non-TS environments.v0.17.1
Compare Source
Patch Changes
#1437
655aed4
Thanks @hippotastic! - Adds Starlight-specific types todefineEcConfig
function and exportsStarlightExpressiveCodeOptions
.This provides Starlight types and IntelliSense support for your Expressive Code configuration options inside an
ec.config.mjs
file. See the Expressive Code documentation for more information.#1420
275f87f
Thanks @abdelhalimjean! - Fix rarefont-family
issue if users have a font installed with a name of""
#1365
a0af7cc
Thanks @kevinzunigacuellar! - Correctly format Pagefind search result links whentrailingSlash: 'never'
is usedv0.17.0
Compare Source
Minor Changes
#1389
21b3620
Thanks @connor-baer! - Adds newdisable404Route
config option to disable injection of Astro’s default 404 route#1395
ce05dfb
Thanks @hippotastic! - Adds a new<Code>
component to render dynamic code strings with Expressive Codev0.16.0
Compare Source
Minor Changes
#1383
490c6ef
Thanks @delucis! - Refactors Starlight’s internal virtual module system for components to avoid circular referencesThis is a change to an internal API.
If you were importing the internal
virtual:starlight/components
module, this no longer exists.Update your imports to use the individual virtual modules now available for each component, for example
virtual:starlight/components/EditLink
.#1151
134292d
Thanks @kevinzunigacuellar! - Fixes sidebar auto-generation issue when a file and a directory, located at the same level, have identical names.For example,
src/content/docs/guides.md
andsrc/content/docs/guides/example.md
will now both be included andsrc/content/docs/guides.md
is treated in the same way asrc/content/docs/guides/index.md
file would be.#1386
0163634
Thanks @delucis! - Tightensline-height
on<LinkCard>
titles to fix regression from original designIf you want to preserve the previous
line-height
, you can add the following custom CSS to your site:#1376
8398432
Thanks @delucis! - Tweaks vertical spacing in Markdown content styles.This is a subtle change to Starlight’s default content styling that should improve most sites:
1.5rem
to1rem
.The overall impact is to tighten up content that belongs together and improve the visual hierarchy of headings to break up sections.
Although this is a subtle change, we recommend visually inspecting your site in case this impacts layout of any custom CSS or components.
If you want to preserve the previous spacing, you can add the following custom CSS to your site:
#1372
773880d
Thanks @HiDeoo! - Updates the table of contents highlighting styles to prevent UI shifts when scrolling through a page.If you want to preserve the previous, buggy styling, you can add the following custom CSS to your site:
v0.15.4
Compare Source
Patch Changes
0f4a31d
Thanks @delucis! - Updates dependencies:@astrojs/mdx
,@astrojs/sitemap
, andastro-expressive-code
v0.15.3
Compare Source
Patch Changes
#1303
3eefd21
Thanks @lilnasy! - chore: fix type errors in Starlight internals#1351
932c022
Thanks @roberto-butti! - Adds Italian translation forsearch.devWarning
UI#1298
c7e995c
Thanks @kevinzunigacuellar! - Fixes incorrect sorting behavior for some autogenerated sidebars#1347
8994d00
Thanks @kevinzunigacuellar! - RefactorgetLastUpdated
to usenode:child_process
instead ofexeca
.#1353
90fe8da
Thanks @delucis! - Fixes sidebar scrollbar hiding behind navbarv0.15.2
Compare Source
Patch Changes
#1254
e9659e8
Thanks @Pukimaa! - Adds Open Collective social link icon#1295
c3732a9
Thanks @juchym! - Improve Ukrainian UI translationsv0.15.1
Compare Source
Patch Changes
#1273
ae53155
Thanks @natemoo-re! - Updates<SocialIcon />
styling for improved accessibility. Specifically, the component now meets the Target Size (Minimum) success criteria defined by Web Content Accessibility Guidelines (WCAG) 2.2.#1289
9bd343f
Thanks @HiDeoo! - Adds French translations for Expressive Code UI#1280
6b1693d
Thanks @kevinzunigacuellar! - Adds Spanish translations for Expressive Code UI#1276
667f23d
Thanks @hippotastic! - Updatesastro-expressive-code
dependency to the latest version#1266
c9edf30
Thanks @alex-way! - Removes redundant subprocess calls in git last-updated time utility to improve performance#1278
e88abb0
Thanks @HiDeoo! - Exports theStarlightUserConfig
TypeScript type representing the user's Starlight configuration received by plugins.v0.15.0
Compare Source
Minor Changes
#1238
02a808e
Thanks @delucis! - Add support for Astro v4, drop support for Astro v3Use the new
@astrojs/upgrade
command to upgrade Astro and Starlight together:#1242
d8fc9e1
Thanks @delucis! - Enables link prefetching on hover by defaultAstro v4’s prefetch support is now enabled by default. If
prefetch
is not set inastro.config.mjs
, Starlight will useprefetch: { prefetchAll: true, defaultStrategy: 'hover' }
by default.If you want to preserve previous behaviour, disable link prefetching in
astro.config.mjs
:Patch Changes
#1226
909afa2
Thanks @tlandmangh! - Add Dutch translations of default aside labels#1243
ee234eb
Thanks @khajimatov! - Fix typo in Russian untranslated content notice#1170
bcc2301
Thanks @tmcw! - Fix timezone-reliance in LastUpdated#1203
4601449
Thanks @orhun! - Adds Matrix social link iconv0.14.0
Compare Source
Minor Changes
#1144
7c0b8cb
Thanks @delucis! - Adds a configuration option to disable site indexing with Pagefind and the default search UI#942
efd7fdc
Thanks @HiDeoo! - Adds plugin APISee the plugins reference to learn more about creating plugins for Starlight using this new API.
#1135
e5a863a
Thanks @delucis! - Exposes localized UI strings in route dataComponent overrides can now access a
labels
object in their props which includes all the localized UI strings for the current page.#1162
00d101b
Thanks @delucis! - Adds support for extending Starlight’s content collection schemasv0.13.1
Compare Source
Patch Changes
#1111
cb19d07
Thanks @at-the-vr! - Fix minor punctuation typo in Hindi UI string#1156
631c5ae
Thanks @votemike! - Updates@astrojs/sitemap
dependency to the latest version#1109
0c25c1f
Thanks @HiDeoo! - Internal: fix import issue with expressive-codev0.13.0
Compare Source
Minor Changes
#1023
a3b80f7
Thanks @kevinzunigacuellar! - Respect thetrailingSlash
andbuild.format
Astro options when creating Starlight navigation links.This change will cause small changes in link formatting for most sites.
These are unlikely to break anything, but if you care about link formatting, you may want to change some Astro settings.
If you want to preserve Starlight’s previous behavior, set
trailingSlash: 'always'
in yourastro.config.mjs
:#742
c6a4bcb
Thanks @hippotastic! - Adds Expressive Code as Starlight’s default code block rendererThis addition changes how Markdown code blocks are rendered. By default, Starlight will now use Expressive Code.
If you were already customizing how code blocks are rendered and don't want to use the features provided by Expressive Code, you can preserve the previous behavior by setting the new config option
expressiveCode
tofalse
.If you had previously added Expressive Code manually to your Starlight project, you can now remove the manual set-up in
astro.config.mjs
:expressiveCode
option.astro-expressive-code
integration.For example:
Note that the built-in Starlight version of Expressive Code sets some opinionated defaults that are different from the
astro-expressive-code
defaults. You may need to set somestyleOverrides
if you wish to keep styles exactly the same.#517
5b549cb
Thanks @liruifengv! - Add i18n support for default aside labelsPatch Changes
#1088
4fe5537
Thanks @Lootjs! - i18n(ru): added Russian aside labels translation#1083
e03a653
Thanks @at-the-vr! - i18n(hi): Add Hindi language support#1075
2f2adf2
Thanks @russbiggs! - Add Slack social link icon#1065
2d72ed6
Thanks @HiDeoo! - Ignore search keyboard shortcuts for elements with contents that are editable#1081
f27f781
Thanks @farisphp! - i18n(id): Add Indonesian aside labels translation#1082
ce27486
Thanks @bogdaaamn! - i18n(ro): Add Romanian UI translationsv0.12.1
Compare Source
Patch Changes
#1069
b86f360
Thanks @Genteure! - Fix sidebar highlighting and navigation buttons for pages with path containing non-ASCII characters#1025
0d1e75e
Thanks @HiDeoo! - Internal: fix import issue in translation string loading mechanism#1044
a5a9754
Thanks @HiDeoo! - Fix last updated dates for pages displaying fallback content#1049
c27495d
Thanks @HiDeoo! - Expose Markdown content styles in@astrojs/starlight/style/markdown.css
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 has been generated by Mend Renovate. View repository job log here.