Skip to content

Commit

Permalink
fix(website): update @astrojs/starlight 0.29.3 → 0.30.3 (#30309)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@astrojs/starlight](https://starlight.astro.build)
([source](https://redirect.github.com/withastro/starlight/tree/HEAD/packages/starlight))
| dependencies | minor | [`0.29.3` ->
`0.30.3`](https://renovatebot.com/diffs/npm/@astrojs%2fstarlight/0.29.3/0.30.3)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>withastro/starlight (@&#8203;astrojs/starlight)</summary>

###
[`v0.30.3`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0303)

[Compare
Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/[email protected]...@astrojs/[email protected])

##### Patch Changes

-
[#&#8203;2717](https://redirect.github.com/withastro/starlight/pull/2717)
[`c5fcbb3`](https://redirect.github.com/withastro/starlight/commit/c5fcbb33a7a0511ac372f5d006a69f4195d1e266)
Thanks [@&#8203;delucis](https://redirect.github.com/delucis)! - Fixes a
list item spacing issue where line break elements (`<br>`) could receive
a margin, breaking layout in Firefox

-
[#&#8203;2724](https://redirect.github.com/withastro/starlight/pull/2724)
[`02d7ac6`](https://redirect.github.com/withastro/starlight/commit/02d7ac66a0bdca3f26001f556de070027d4e0faf)
Thanks [@&#8203;dionysuzx](https://redirect.github.com/dionysuzx)! -
Adds social link support for Farcaster

-
[#&#8203;2635](https://redirect.github.com/withastro/starlight/pull/2635)
[`ec4b851`](https://redirect.github.com/withastro/starlight/commit/ec4b85154ea301d9144ff49f3abd009e3a929387)
Thanks [@&#8203;HiDeoo](https://redirect.github.com/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.

-
[#&#8203;2726](https://redirect.github.com/withastro/starlight/pull/2726)
[`e54ebd5`](https://redirect.github.com/withastro/starlight/commit/e54ebd5c879deb3fdff2180426b377181773b85f)
Thanks [@&#8203;techfg](https://redirect.github.com/techfg)! - Adds icon
for phone

###
[`v0.30.2`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0302)

[Compare
Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/[email protected]...@astrojs/[email protected])

##### Patch Changes

-
[#&#8203;2702](https://redirect.github.com/withastro/starlight/pull/2702)
[`02d16f3`](https://redirect.github.com/withastro/starlight/commit/02d16f3638db609501897c5e3647cc20eb5ec142)
Thanks [@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)! - Fixes an
issue with autogenerated sidebars when using Starlight with Astro's new
Content Layer API with directories containing spaces or special
characters.

-
[#&#8203;2704](https://redirect.github.com/withastro/starlight/pull/2704)
[`fd16470`](https://redirect.github.com/withastro/starlight/commit/fd164704b25ec5c000a2765eb0930b87e9a4e61e)
Thanks [@&#8203;delucis](https://redirect.github.com/delucis)! - Fixes
display of focus indicator around site title

###
[`v0.30.1`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0301)

[Compare
Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/[email protected]...@astrojs/[email protected])

##### Patch Changes

-
[#&#8203;2688](https://redirect.github.com/withastro/starlight/pull/2688)
[`5c6996c`](https://redirect.github.com/withastro/starlight/commit/5c6996cd248e9da735a14e7fcaf638b51f2796bc)
Thanks [@&#8203;HiDeoo](https://redirect.github.com/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`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0300)

[Compare
Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/[email protected]...@astrojs/[email protected])

##### Minor Changes

-
[#&#8203;2612](https://redirect.github.com/withastro/starlight/pull/2612)
[`8d5a4e8`](https://redirect.github.com/withastro/starlight/commit/8d5a4e8000d9e3a4bb9ca8178767cf3d8bc48773)
Thanks [@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)! - Adds
support for Astro v5, drops support for Astro v4.

##### Upgrade Astro and dependencies

⚠️ **BREAKING CHANGE:** Astro v4 is no longer supported. Make sure you
[update Astro](https://docs.astro.build/en/guides/upgrade-to/v5/) and
any other official integrations at the same time as updating Starlight:

```sh
npx @&#8203;astrojs/upgrade
```

*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

⚠️ **BREAKING CHANGE:** Starlight's internal [content
collections](https://docs.astro.build/en/guides/content-collections/),
which organize, validate, and render your content, have been updated to
use Astro's new Content Layer API and require configuration changes in
your project.

1. **Move the content config file.** This file no longer lives within
the `src/content/config.ts` folder and should now exist at
`src/content.config.ts`.

2. **Edit the collection definition(s).** To update the `docs`
collection, a `loader` is now required:

    ```diff
     // src/content.config.ts
     import { defineCollection } from "astro:content";
    +import { docsLoader } from "@&#8203;astrojs/starlight/loaders";
     import { docsSchema } from "@&#8203;astrojs/starlight/schema";

     export const collections = {
    -  docs: defineCollection({ schema: docsSchema() }),
+ docs: defineCollection({ loader: docsLoader(), schema: docsSchema()
}),
     };
    ```

If you are using the [`i18n`
collection](https://starlight.astro.build/guides/i18n/#translate-starlights-ui)
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 collection `type` which is no longer
available:

    ```diff
     // src/content.config.ts
     import { defineCollection } from "astro:content";
+import { docsLoader, i18nLoader } from
"@&#8203;astrojs/starlight/loaders";
import { docsSchema, i18nSchema } from
"@&#8203;astrojs/starlight/schema";

     export const collections = {
    -  docs: defineCollection({ schema: docsSchema() }),
+ docs: defineCollection({ loader: docsLoader(), schema: docsSchema()
}),
    -  i18n: defineCollection({ type: 'data', schema: i18nSchema() }),
+ i18n: defineCollection({ loader: i18nLoader(), schema: i18nSchema()
}),
     };
    ```

3. **Update other collections.** To update any other collections you may
have, follow the [“Updating existing
collections”](https://docs.astro.build/en/guides/upgrade-to/v5/#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` and `i18n` collections, you can
enable the [`legacy.collections`
flag](https://docs.astro.build/en/reference/legacy-flags/) 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

-
[#&#8203;2669](https://redirect.github.com/withastro/starlight/pull/2669)
[`310df7d`](https://redirect.github.com/withastro/starlight/commit/310df7d6b01f5c4a56540bdba9243fb60dace323)
Thanks
[@&#8203;aaronperezaguilera](https://redirect.github.com/aaronperezaguilera)!
- Adds Catalan UI translations

-
[#&#8203;2664](https://redirect.github.com/withastro/starlight/pull/2664)
[`62ff007`](https://redirect.github.com/withastro/starlight/commit/62ff0074d9a3f82e46f5c62db85c04d87ff5e931)
Thanks [@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)! - Publishes
provenance containing verifiable data to link a package back to its
source repository and the specific build instructions used to publish
it.

-
[#&#8203;2670](https://redirect.github.com/withastro/starlight/pull/2670)
[`0223b42`](https://redirect.github.com/withastro/starlight/commit/0223b425249f8d1fa468e367c632467276c9c208)
Thanks
[@&#8203;aaronperezaguilera](https://redirect.github.com/aaronperezaguilera)!
- Adds Spanish UI translations for the Pagefind search modal

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS44Mi45IiwidXBkYXRlZEluVmVyIjoiMzkuODIuOSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL21pbm9yIl19-->
  • Loading branch information
truecharts-admin authored Dec 28, 2024
1 parent e1ce9e0 commit 3bcd247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dependencies": {
"@astrojs/check": "0.9.4",
"@astrojs/sitemap": "3.2.1",
"@astrojs/starlight": "0.29.3",
"@astrojs/starlight": "0.30.3",
"@astrojs/starlight-tailwind": "2.0.3",
"@astrojs/tailwind": "5.1.4",
"@playform/compress": "0.1.1",
Expand Down

0 comments on commit 3bcd247

Please sign in to comment.