nunhes / dreary-main

1 stars 0 forks source link

Update dependency @astrojs/starlight to ^0.14.0 #2

Closed renovate[bot] closed 11 months ago

renovate[bot] commented 11 months ago

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@astrojs/starlight (source) ^0.11.2 -> ^0.14.0 age adoption passing confidence

Release Notes

withastro/starlight (@​astrojs/starlight) ### [`v0.14.0`](https://togithub.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0140) [Compare Source](https://togithub.com/withastro/starlight/compare/@astrojs/starlight@0.13.1...@astrojs/starlight@0.14.0) ##### Minor Changes - [#​1144](https://togithub.com/withastro/starlight/pull/1144) [`7c0b8cb`](https://togithub.com/withastro/starlight/commit/7c0b8cb334c501678f7ab87cce372cddfdde34ed) Thanks [@​delucis](https://togithub.com/delucis)! - Adds a configuration option to disable site indexing with Pagefind and the default search UI - [#​942](https://togithub.com/withastro/starlight/pull/942) [`efd7fdc`](https://togithub.com/withastro/starlight/commit/efd7fdcb55b39988f157c1a4b2c368c86a39520f) Thanks [@​HiDeoo](https://togithub.com/HiDeoo)! - Adds plugin API See the [plugins reference](https://starlight.astro.build/reference/plugins/) to learn more about creating plugins for Starlight using this new API. - [#​1135](https://togithub.com/withastro/starlight/pull/1135) [`e5a863a`](https://togithub.com/withastro/starlight/commit/e5a863a98b2e5335e122ca440dcb84e9426939b4) Thanks [@​delucis](https://togithub.com/delucis)! - Exposes localized UI strings in route data Component overrides can now access a `labels` object in their props which includes all the localized UI strings for the current page. - [#​1162](https://togithub.com/withastro/starlight/pull/1162) [`00d101b`](https://togithub.com/withastro/starlight/commit/00d101b159bfa4bb307a66ccae53dd417d9564e0) Thanks [@​delucis](https://togithub.com/delucis)! - Adds support for extending Starlight’s content collection schemas ### [`v0.13.1`](https://togithub.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0131) [Compare Source](https://togithub.com/withastro/starlight/compare/@astrojs/starlight@0.13.0...@astrojs/starlight@0.13.1) ##### Patch Changes - [#​1111](https://togithub.com/withastro/starlight/pull/1111) [`cb19d07`](https://togithub.com/withastro/starlight/commit/cb19d07d6192ffb732ac6fcf9df04d4f098bfc1f) Thanks [@​at-the-vr](https://togithub.com/at-the-vr)! - Fix minor punctuation typo in Hindi UI string - [#​1156](https://togithub.com/withastro/starlight/pull/1156) [`631c5ae`](https://togithub.com/withastro/starlight/commit/631c5aeccba60254ff649712f93ba30495775edf) Thanks [@​votemike](https://togithub.com/votemike)! - Updates `@astrojs/sitemap` dependency to the latest version - [#​1109](https://togithub.com/withastro/starlight/pull/1109) [`0c25c1f`](https://togithub.com/withastro/starlight/commit/0c25c1f33bbfe311724784530c30ada44eb5de19) Thanks [@​HiDeoo](https://togithub.com/HiDeoo)! - Internal: fix import issue with expressive-code ### [`v0.13.0`](https://togithub.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0130) [Compare Source](https://togithub.com/withastro/starlight/compare/@astrojs/starlight@0.12.1...@astrojs/starlight@0.13.0) ##### Minor Changes - [#​1023](https://togithub.com/withastro/starlight/pull/1023) [`a3b80f7`](https://togithub.com/withastro/starlight/commit/a3b80f71037504f2b8d7f1a641924215091122bb) Thanks [@​kevinzunigacuellar](https://togithub.com/kevinzunigacuellar)! - Respect the `trailingSlash` and `build.format` Astro options when creating Starlight navigation links. ⚠️ **Potentially breaking change:** 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 your `astro.config.mjs`: ```js import { defineConfig } from 'astro/config'; import starlight from '@​astrojs/starlight'; export default defineConfig({ trailingSlash: 'always', integrations: [ starlight({ // ... }), ], }); ``` - [#​742](https://togithub.com/withastro/starlight/pull/742) [`c6a4bcb`](https://togithub.com/withastro/starlight/commit/c6a4bcb7982c54c513f20c96a9b2aaf9ac09094b) Thanks [@​hippotastic](https://togithub.com/hippotastic)! - Adds Expressive Code as Starlight’s default code block renderer ⚠️ **Potentially breaking change:** This addition changes how Markdown code blocks are rendered. By default, Starlight will now use [Expressive Code](https://togithub.com/expressive-code/expressive-code/tree/main/packages/astro-expressive-code). If you were already customizing how code blocks are rendered and don't want to use the [features provided by Expressive Code](https://starlight.astro.build/guides/authoring-content/#expressive-code-features), you can preserve the previous behavior by setting the new config option `expressiveCode` to `false`. If you had previously added Expressive Code manually to your Starlight project, you can now remove the manual set-up in `astro.config.mjs`: - Move your configuration to Starlight’s new `expressiveCode` option. - Remove the `astro-expressive-code` integration. For example: ```diff import starlight from '@​astrojs/starlight'; import { defineConfig } from 'astro/config'; - import expressiveCode from 'astro-expressive-code'; export default defineConfig({ integrations: [ - expressiveCode({ - themes: ['rose-pine'], - }), starlight({ title: 'My docs', + expressiveCode: { + themes: ['rose-pine'], + }, }), ], }); ``` 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 some `styleOverrides` if you wish to keep styles exactly the same. - [#​517](https://togithub.com/withastro/starlight/pull/517) [`5b549cb`](https://togithub.com/withastro/starlight/commit/5b549cb634f51d28bf9a7f92ad0d82c1671e788a) Thanks [@​liruifengv](https://togithub.com/liruifengv)! - Add i18n support for default aside labels ##### Patch Changes - [#​1088](https://togithub.com/withastro/starlight/pull/1088) [`4fe5537`](https://togithub.com/withastro/starlight/commit/4fe553749a6708fdb119b12a2dbc6b10a980bde1) Thanks [@​Lootjs](https://togithub.com/Lootjs)! - i18n(ru): added Russian aside labels translation - [#​1083](https://togithub.com/withastro/starlight/pull/1083) [`e03a653`](https://togithub.com/withastro/starlight/commit/e03a65313365b7dbe6095727b28b4e639c446f68) Thanks [@​at-the-vr](https://togithub.com/at-the-vr)! - i18n(hi): Add Hindi language support - [#​1075](https://togithub.com/withastro/starlight/pull/1075) [`2f2adf2`](https://togithub.com/withastro/starlight/commit/2f2adf29f2a13d5ff0f1577207210745a5ae7405) Thanks [@​russbiggs](https://togithub.com/russbiggs)! - Add Slack social link icon - [#​1065](https://togithub.com/withastro/starlight/pull/1065) [`2d72ed6`](https://togithub.com/withastro/starlight/commit/2d72ed67c666b26eae44649e70aecef3db815d19) Thanks [@​HiDeoo](https://togithub.com/HiDeoo)! - Ignore search keyboard shortcuts for elements with contents that are editable - [#​1081](https://togithub.com/withastro/starlight/pull/1081) [`f27f781`](https://togithub.com/withastro/starlight/commit/f27f781556d37e73d0b1d902de745b67f8e4f24d) Thanks [@​farisphp](https://togithub.com/farisphp)! - i18n(id): Add Indonesian aside labels translation - [#​1082](https://togithub.com/withastro/starlight/pull/1082) [`ce27486`](https://togithub.com/withastro/starlight/commit/ce27486fabd3884ed4bca9372ebd72a0597ab765) Thanks [@​bogdaaamn](https://togithub.com/bogdaaamn)! - i18n(ro): Add Romanian UI translations ### [`v0.12.1`](https://togithub.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0121) [Compare Source](https://togithub.com/withastro/starlight/compare/@astrojs/starlight@0.12.0...@astrojs/starlight@0.12.1) ##### Patch Changes - [#​1069](https://togithub.com/withastro/starlight/pull/1069) [`b86f360`](https://togithub.com/withastro/starlight/commit/b86f3608f03be9455ec1d5ba11820c9bf601ad1e) Thanks [@​Genteure](https://togithub.com/Genteure)! - Fix sidebar highlighting and navigation buttons for pages with path containing non-ASCII characters - [#​1025](https://togithub.com/withastro/starlight/pull/1025) [`0d1e75e`](https://togithub.com/withastro/starlight/commit/0d1e75e17269ddac3eb15b7dfb4480da1bb01c6c) Thanks [@​HiDeoo](https://togithub.com/HiDeoo)! - Internal: fix import issue in translation string loading mechanism - [#​1044](https://togithub.com/withastro/starlight/pull/1044) [`a5a9754`](https://togithub.com/withastro/starlight/commit/a5a9754f111b97abfd277d99759e9857aa0fb22b) Thanks [@​HiDeoo](https://togithub.com/HiDeoo)! - Fix last updated dates for pages displaying fallback content - [#​1049](https://togithub.com/withastro/starlight/pull/1049) [`c27495d`](https://togithub.com/withastro/starlight/commit/c27495da61f9376236519ed3f08a169f245a189c) Thanks [@​HiDeoo](https://togithub.com/HiDeoo)! - Expose Markdown content styles in `@astrojs/starlight/style/markdown.css` ### [`v0.12.0`](https://togithub.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0120) [Compare Source](https://togithub.com/withastro/starlight/compare/@astrojs/starlight@0.11.2...@astrojs/starlight@0.12.0) ##### Minor Changes - [#​995](https://togithub.com/withastro/starlight/pull/995) [`5bf4457`](https://togithub.com/withastro/starlight/commit/5bf44577634935b9fa6d50b040abcd680035075f) Thanks [@​kevinzunigacuellar](https://togithub.com/kevinzunigacuellar)! - Adds support for adding sidebar badges to group headings - [#​988](https://togithub.com/withastro/starlight/pull/988) [`977fe13`](https://togithub.com/withastro/starlight/commit/977fe135a74661300589898abe98aec73cad9ed3) Thanks [@​magicDGS](https://togithub.com/magicDGS)! - Include social icon links in mobile menu - [#​280](https://togithub.com/withastro/starlight/pull/280) [`72cca2d`](https://togithub.com/withastro/starlight/commit/72cca2d07644f00595da6ebf7d603adb282f359d) Thanks [@​cbontems](https://togithub.com/cbontems)! - Support light & dark variants of the hero image. ⚠️ **Potentially breaking change:** The `hero.image` schema is now slightly stricter than previously. The `hero.image.html` property can no longer be used alongside the `hero.image.alt` or `hero.image.file` properties. Previously, `html` was ignored when used with `file` and `alt` was ignored when used with `html`. Now, those combinations will throw errors. If you encounter errors, remove the `image.hero` property that is not in use. ##### Patch Changes - [#​1004](https://togithub.com/withastro/starlight/pull/1004) [`7f92213`](https://togithub.com/withastro/starlight/commit/7f92213a0b93de5a844816841a6bc9cdd371de0c) Thanks [@​nunhes](https://togithub.com/nunhes)! - Add Galician language support - [#​1003](https://togithub.com/withastro/starlight/pull/1003) [`f1fdb50`](https://togithub.com/withastro/starlight/commit/f1fdb50daebe79548c7789d3f7dd968b261d2da7) Thanks [@​delucis](https://togithub.com/delucis)! - Internal: refactor translation string loading to make translations available to Starlight integration code

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.