docnix
docnix copied to clipboard
Update all dependencies
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence | Type | Update |
|---|---|---|---|---|---|---|---|
| @astrojs/starlight (source) | ^0.12.0 -> ^0.24.0 |
dependencies | minor | ||||
| actions/deploy-pages | v2 -> v4 |
action | major | ||||
| actions/upload-pages-artifact | v2 -> v3 |
action | major | ||||
| astro (source) | ^3.0.6 -> ^4.0.0 |
dependencies | major | ||||
| cachix/cachix-action | v12 -> v15 |
action | major | ||||
| cachix/install-nix-action | v23 -> v27 |
action | major | ||||
| expect-test | 1.4.1 -> 1.5.0 |
dev-dependencies | minor | ||||
| pagefind | 1.0.3 -> 1.1.0 |
dependencies | minor | ||||
| regex | 1.9.5 -> 1.10.5 |
dependencies | minor | ||||
| rowan | 0.15.11 -> 0.15.15 |
dependencies | patch | ||||
| textwrap | 0.16.0 -> 0.16.1 |
dependencies | patch | ||||
| walkdir | 2.4.0 -> 2.5.0 |
dependencies | minor |
Release Notes
withastro/starlight (@astrojs/starlight)
v0.24.1
Patch Changes
-
#1978
a5ab8cd6Thanks @kylewlacy! - Add new social icon for Zulip -
#1962
2ef19a94Thanks @torn4dom4n! - Updates Vietnamese UI translations -
#1976
5a61f73cThanks @jsparkdev! - Updates Korean UI translations -
#1987
0b8a8439Thanks @HiDeoo! - Fixes issues with the locale text direction detection mechanism in some environments like WebContainers or Bun.
v0.24.0
Minor Changes
-
#1841
ee0cd38aThanks @HiDeoo! - Adds support forAstro.currentLocaleand Astro’s i18n routing.⚠️ Potentially breaking change: Starlight now configures Astro’s
i18noption for you based on itslocalesconfig.If you are currently using Astro’s
i18noption as well as Starlight’slocalesoption, you will need to remove one of these. In general we recommend using Starlight’slocales, but if you have a more advanced configuration you may choose to keep Astro’si18nconfig instead. -
#1958
081d1a96Thanks @delucis! - Allows users to opt into displaying a “Built with Starlight” link in the site footer -
#1530
dd64836aThanks @kevinzunigacuellar! - Adds a new<Badge>component
v0.23.4
Patch Changes
- #1955
15ef1f4bThanks @HiDeoo! - Reverts a change to prevent a numbering issue with the<Steps>component in future versions of Chrome.
v0.23.3
Patch Changes
-
#1948
68c0c077Thanks @HiDeoo! - Fixes a<Steps>component numbering issue with the next Chrome stable version when a step contains a nested list. -
#1909
c98c7088Thanks @joshka! - Adds Discourse to social icons
v0.23.2
Patch Changes
-
#1913
7ebe8f75Thanks @delucis! - Fixes support for Astro’sbuild: { format: 'preserve' }configuration option -
#1941
2f3240c9Thanks @astrobot-houston! - Adds icon support for.otffiles in<FileTree>
v0.23.1
Patch Changes
v0.23.0
Minor Changes
-
#1846
2de67039Thanks @delucis! - Updates@astrojs/mdxto v3 and enables MDX optimization by default⚠️ Potentially breaking change: MDX optimization speeds up builds (Starlight’s docs are building ~40% faster for example), but restricts some advanced MDX features. See full details in the MDX optimization documentation.
Most Starlight users should be unaffected, but if you are using MDX files outside of Starlight pages with the
componentsprop, you may see issues. You can disable optimization by adding MDX manually to yourintegrationsarray inastro.config.mjs:import { defineConfig } from 'astro/config'; + import mdx from '@​astrojs/mdx'; import starlight from '@​astrojs/starlight'; // https://astro.build/config export default defineConfig({ integrations: [ starlight({ title: 'My docs', // ... }), + mdx(), ], }); -
#1735
1a9ab50dThanks @HiDeoo! - Adds custom styles for<details>and<summary>elements in Markdown content. -
#1846
2de67039Thanks @delucis! - ⚠️ BREAKING CHANGE: The minimum supported version of Astro is now 4.8.6Please update Astro and Starlight together:
npx @​astrojs/upgrade
v0.22.4
Patch Changes
-
#1871
03bb126bThanks @delucis! - Adds ablueSkyicon and social link option -
#1873
13f33b81Thanks @ekfuhrmann! - Adds 1 new icon:alpine -
#1857
32cdfaf0Thanks @tarikcoskun! - Updates Turkish UI translations -
#1736
cfa94a34Thanks @julien-deramond! - Prevent list items from overflowing Markdown content
v0.22.3
Patch Changes
-
#1838
9fe84754Thanks @delucis! - Adds extra information to the errors thrown by the<Steps>component to help locate misformatted code -
#1863
50be60bbThanks @torn4dom4n! - Update Vietnamese translation -
#1837
a33a1223Thanks @delucis! - Adds three new icons:comment,comment-alt,heart -
#1842
c7838636Thanks @delucis! - Moves thehrefused in the site title link to Starlight’s route data object. This makes it possible for overrides to change the title link while reusing Starlight’s default component implemenation. -
#1840
cb85563cThanks @MiahaCybersec! - Adds 1 new icon:hackerone
v0.22.2
Patch Changes
-
#1811
fe06aa13Thanks @HiDeoo! - Fixes a<Tabs>sync issue when inconsistently using theiconprop or not on<TabItem>components. -
#1826
52ea7381Thanks @dragomano! - Updates Russian UI translations
v0.22.1
Patch Changes
1c0fc384Thanks @HiDeoo! - Fixes an issue where thesiteTitleproperty would not be set when using the<StarlightPage />component.
v0.22.0
Minor Changes
-
#640
7dc503eaThanks @HiDeoo! - Adds support for syncing multiple sets of tabs on the same page. -
#1620
ca0678caThanks @emjio! - Adds support for translating the site title⚠️ Potentially breaking change: The shape of the
titlefield on Starlight’s internal config object has changed. This used to be a string, but is now an object.If you are relying on
config.title(for example in a custom<SiteTitle>or<Head>component), you will need to update your code. We recommend using the newsiteTitleprop available to component overrides:
v0.21.5
Patch Changes
-
#1709
c5cd1811Thanks @HiDeoo! - Fixes a UI strings translation issue for sites configured with a single non-root language different from English. -
#1723
3b29b3abThanks @OliverSpeir! - Fixes accessibility by usingaria-selected="false"for inactive tabs instead of removingaria-selected="true"in the tablist of Starlight’s<Tabs>component -
#1706
f171ac4dThanks @jorenbroekema! - Fixes some minor type errors
v0.21.4
Patch Changes
-
#1703
b26238f2Thanks @HiDeoo! - Fixes aside custom titles rendering for nested asides. -
#1708
a72cb966Thanks @HiDeoo! - Fixes translation issues with Expressive Code when using a default language other than English
v0.21.3
Patch Changes
-
#1622
3a074badThanks @SamuelLHuber! - Adds 1 new icon:farcaster -
#1616
a86f9b71Thanks @dragomano! - Updates Russian UI strings -
#1698
67b892fdThanks @liruifengv! - Adds 1 new icon:starlight -
#1687
6fa9ea7eThanks @mingjunlu! - TranslatesfileTree.directoryUI string into Traditional Chinese.
v0.21.2
Patch Changes
-
#1614
78fc9042Thanks @kpodurgiel! - Adds Polish UI translations -
#1596
13ed30cdThanks @HiDeoo! - Adds support for toggling the built-in search modal using theCtrl+kkeyboard shortcut. -
#1608
4096e1b7Thanks @HiDeoo! - Removes nested CSS from the<FileTree>component to prevent a potential warning when using Tailwind CSS. -
#1626
67459cb4Thanks @hippotastic! - Fixes a bundling issue that caused imports from@astrojs/starlight/componentsto fail when using the config settingexpressiveCode: false.
v0.21.1
Patch Changes
-
#1584
8851d5cdThanks @HiDeoo! - Adds 2 new icons:appleandlinux. -
#1577
0ba77890Thanks @morinokami! - TranslatesfileTree.directoryUI string into Japanese. -
#1593
fa7ed245Thanks @liruifengv! - TranslatesfileTree.directoryUI string into simplified Chinese. -
#1585
bd4e278fThanks @HiDeoo! - TranslatesfileTree.directoryUI string into French. -
#1587
c5794260Thanks @Eveeifyeve! - Adds 1 new icon:homebrew.
v0.21.0
Minor Changes
-
#1568
5f99a71dThanks @HiDeoo! - Adds support for optionally setting an icon on a<TabItem>component to make it easier to visually distinguish between tabs. -
#1308
9a918a5bThanks @HiDeoo! - Adds<FileTree>component to display the structure of a directory. -
#1308
9a918a5bThanks @HiDeoo! - Adds 144 new file-type icons from the Seti UI icon set, available with theseti:prefix, e.g.seti:javascript. -
#1564
d880065eThanks @delucis! - Adds a<Steps>component for styling more complex guided tasks. -
#1308
9a918a5bThanks @HiDeoo! - Adds 5 new icons:astro,biome,bun,mdx, andpnpm.
v0.20.1
Patch Changes
- #1553
8e091147Thanks @hippotastic! - Updates Expressive Code to v0.33.4 to fix potential race condition bug in Shiki.
v0.20.0
Minor Changes
-
#1541
1043052fThanks @hippotastic! - Updatesastro-expressive-codedependency 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
b3b7a606Thanks @delucis! - Improves error messages shown by Starlight for configuration errors. -
#1544
65dc6586Thanks @torn4dom4n! - Update Vietnamese UI translations
v0.19.1
Patch Changes
-
#1527
163bc84Thanks @HiDeoo! - Exports theStarlightPagePropsTypeScript type representing the props expected by the<StarlightPage />component. -
#1504
fc83a05Thanks @mingjunlu! - Adds Traditional Chinese UI translations -
#1534
aada680Thanks @delucis! - Improves DX of thesidebarprop used by the new<StarlightPage>component.
v0.19.0
Minor Changes
-
#1485
2cb3578Thanks @timokoessler! - Add support for setting html attributes of hero action links -
#1175
dd11b95Thanks @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
97bf523Thanks @delucis! - Adds a new<Aside>componentThe new component is in addition to the existing custom Markdown syntax.
v0.18.1
Patch Changes
-
#1487
6a72bdaThanks @NavyStack! - Improves Korean UI translations -
#1489
b0d36deThanks @HiDeoo! - Fixes a potential text rendering issue with text containing colons.
v0.18.0
Minor Changes
-
#1454
1d9ef56Thanks @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
1d9ef56Thanks @Fryuni! - Enables Astro’sexperimental.globalRoutePriorityoption and bumps the minimum required Astro version.⚠️ BREAKING CHANGE The minimum supported Astro version is now 4.2.7. Upgrade Astro and Starlight together:
npx @​astrojs/upgrade
v0.17.4
Patch Changes
-
#1473
29da505Thanks @delucis! - Fixes a CSS bug for users with JavaScript disabled -
#1465
ce3108cThanks @delucis! - Updates internal MDX, sitemap, and Expressive Code dependencies to the latest versions
v0.17.3
Patch Changes
-
#1461
2e17880Thanks @liruifengv! - Improves the table of contents title translation in Simplified Chinese -
#1462
4741cccThanks @delucis! - Fixes overflow of very long site titles on narrow viewports -
#1459
9a8e0ecThanks @delucis! - Fixes a bug where table of contents highlighting could break given very specific combinations of content and viewport size -
#1458
8c88642Thanks @delucis! - Silences i18n content collection warnings for projects without custom translations.
v0.17.2
Patch Changes
-
#1442
1a642e4Thanks @delucis! - Fixes URLs in language picker for sites withbuild.format: 'file' -
#1440
2ea1e88Thanks @hippotastic! - Adds JS support to the@astrojs/starlight/expressive-codeexport to allow importing from non-TS environments.
v0.17.1
Patch Changes
-
#1437
655aed4Thanks @hippotastic! - Adds Starlight-specific types todefineEcConfigfunction and exportsStarlightExpressiveCodeOptions.This provides Starlight types and IntelliSense support for your Expressive Code configuration options inside an
ec.config.mjsfile. See the Expressive Code documentation for more information. -
#1420
275f87fThanks @abdelhalimjean! - Fix rarefont-familyissue if users have a font installed with a name of"" -
#1365
a0af7ccThanks @kevinzunigacuellar! - Correctly format Pagefind search result links whentrailingSlash: 'never'is used
v0.17.0
Minor Changes
-
#1389
21b3620Thanks @connor-baer! - Adds newdisable404Routeconfig option to disable injection of Astro’s default 404 route -
#1395
ce05dfbThanks @hippotastic! - Adds a new<Code>component to render dynamic code strings with Expressive Code
v0.16.0
Minor Changes
-
#1383
490c6efThanks @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/componentsmodule, this no longer exists. Update your imports to use the individual virtual modules now available for each component, for examplevirtual:starlight/components/EditLink. -
#1151
134292dThanks @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.mdandsrc/content/docs/guides/example.mdwill now both be included andsrc/content/docs/guides.mdis treated in the same way asrc/content/docs/guides/index.mdfile would be. -
#1386
0163634Thanks @delucis! - Tightensline-heighton<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:.sl-link-card a { line-height: 1.6; } -
#1376
8398432Thanks @delucis! - Tweaks vertical spacing in Markdown content styles.This is a subtle change to Starlight’s default content styling that should improve most sites:
- Default vertical spacing between content items is reduced from
1.5remto1rem. - Spacing before headings is now relative to font size, meaning higher-level headings have slightly more spacing and lower-level headings slightly less.
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:
/* Restore vertical spacing to match Starlight v0.15 and below. */ .sl-markdown-content :not(a, strong, em, del, span, input, code) + :not(a, strong, em, del, span, input, code, :where(.not-content *)) { margin-top: 1.5rem; } .sl-markdown-content :not(h1, h2, h3, h4, h5, h6) + :is(h1, h2, h3, h4, h5, h6):not(:where(.not-content *)) { margin-top: 2.5rem; } - Default vertical spacing between content items is reduced from
-
#1372
773880dThanks @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:
starlight-toc a[aria-current='true'], starlight-toc a[aria-current='true']:hover, starlight-toc a[aria-current='true']:focus { font-weight: 600; color: var(--sl-color-text-invert); background-color: var(--sl-color-text-accent); }
v0.15.4
Patch Changes
- #1378
0f4a31dThanks @delucis! - Updates dependencies:@astrojs/mdx,@astrojs/sitemap, andastro-expressive-code
v0.15.3
Patch Changes
-
#1303
3eefd21Thanks @lilnasy! - chore: fix type errors in Starlight internals -
#1351
932c022Thanks @roberto-butti! - Adds Italian translation forsearch.devWarningUI -
#1298
c7e995cThanks @kevinzunigacuellar! - Fixes incorrect sorting behavior for some autogenerated sidebars -
#1347
8994d00Thanks @kevinzunigacuellar! - RefactorgetLastUpdatedto usenode:child_processinstead ofexeca. -
#1353
90fe8daThanks @delucis! - Fixes sidebar scrollbar hiding behind navbar
v0.15.2
Patch Changes
-
#1254
e9659e8Thanks @Pukimaa! - Adds Open Collective social link icon -
#1295
c3732a9Thanks @juchym! - Improve Ukrainian UI translations
v0.15.1
Patch Changes
-
#1273
ae53155Thanks @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
9bd343fThanks @HiDeoo! - Adds French translations for Expressive Code UI -
#1280
6b1693dThanks @kevinzunigacuellar! - Adds Spanish translations for Expressive Code UI -
#1276
667f23dThanks @hippotastic! - Updatesastro-expressive-codedependency to the latest version -
#1266
c9edf30Thanks @alex-way! - Removes redundant subprocess calls in git last-updated time utility to improve performance -
#1278
e88abb0Thanks @HiDeoo! - Exports theStarlightUserConfigTypeScript type representing the user's Starlight configuration received by plugins.
v0.15.0
Minor Changes
-
#1238
02a808eThanks @delucis! - Add support for Astro v4, drop support for Astro v3⚠️ BREAKING CHANGE Astro v3 is no longer supported. Make sure you update Astro and any other integrations at the same time as updating Starlight.
Use the new
@astrojs/upgradecommand to upgrade Astro and Starlight together:npx @​astrojs/upgrade -
#1242
d8fc9e1Thanks @delucis! - Enables link prefetching on hover by defaultAstro v4’s prefetch support is now enabled by default. If
prefetchis 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:import { defineConfig } from 'astro/config'; import starlight from '@​astrojs/starlight'; export default defineConfig({ // Disable link prefetching: prefetch: false, integrations: [ starlight({ // ... }), ], });
Patch Changes
-
#1226
909afa2Thanks @tlandmangh! - Add Dutch translations of default aside labels -
#1243
ee234ebThanks @khajimatov! - Fix typo in Russian untranslated content notice -
#1170
bcc2301Thanks @tmcw! - Fix timezone-reliance in LastUpdated -
#1203
4601449Thanks @orhun! - Adds Matrix social link icon
v0.14.0
Minor Changes
-
#1144
7c0b8cbThanks @delucis! - Adds a configuration option to disable site indexing with Pagefind and the default search UI -
#942
efd7fdcThanks @HiDeoo! - Adds plugin APISee the plugins reference to learn more about creating plugins for Starlight using this new API.
-
#1135
e5a863aThanks @delucis! - Exposes localized UI strings in route dataComponent overrides can now access a
labelsobject in their props which includes all the localized UI strings for the current page. -
#1162 [
00d101b](https://togithub.com/withastro/starligh
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.