Skip to content

Commit b023ab8

Browse files
[ci] release (#2666)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 8d5a4e8 commit b023ab8

File tree

17 files changed

+125
-101
lines changed

17 files changed

+125
-101
lines changed

‎.changeset/green-suns-drive.md

Lines changed: 0 additions & 56 deletions
This file was deleted.

‎.changeset/loud-cycles-arrive.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.changeset/polite-snails-sip.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

‎.changeset/sweet-poems-smoke.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

‎.changeset/wet-frogs-act.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎examples/basics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"astro": "astro"
1212
},
1313
"dependencies": {
14-
"@astrojs/starlight": "^0.29.3",
14+
"@astrojs/starlight": "^0.30.0",
1515
"astro": "^5.0.2",
1616
"sharp": "^0.32.5"
1717
}

‎examples/markdoc/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
},
1313
"dependencies": {
1414
"@astrojs/markdoc": "^0.12.1",
15-
"@astrojs/starlight": "^0.29.3",
16-
"@astrojs/starlight-markdoc": "^0.1.0",
15+
"@astrojs/starlight": "^0.30.0",
16+
"@astrojs/starlight-markdoc": "^0.2.0",
1717
"astro": "^5.0.2",
1818
"sharp": "^0.32.5"
1919
}

‎examples/tailwind/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"astro": "astro"
1212
},
1313
"dependencies": {
14-
"@astrojs/starlight": "^0.29.3",
15-
"@astrojs/starlight-tailwind": "^2.0.3",
14+
"@astrojs/starlight": "^0.30.0",
15+
"@astrojs/starlight-tailwind": "^3.0.0",
1616
"@astrojs/tailwind": "^5.1.3",
1717
"astro": "^5.0.2",
1818
"sharp": "^0.32.5",

‎packages/docsearch/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @astrojs/starlight-docsearch
22

3+
## 0.4.0
4+
5+
### Minor Changes
6+
7+
- [#2612](https://github.com/withastro/starlight/pull/2612) [`8d5a4e8`](https://github.com/withastro/starlight/commit/8d5a4e8000d9e3a4bb9ca8178767cf3d8bc48773) Thanks [@HiDeoo](https://github.com/HiDeoo)! - ⚠️ **BREAKING CHANGE:** The minimum supported version of Starlight is now 0.30.0
8+
9+
Please use the `@astrojs/upgrade` command to upgrade your project:
10+
11+
```sh
12+
npx @astrojs/upgrade
13+
```
14+
15+
### Patch Changes
16+
17+
- [#2664](https://github.com/withastro/starlight/pull/2664) [`62ff007`](https://github.com/withastro/starlight/commit/62ff0074d9a3f82e46f5c62db85c04d87ff5e931) Thanks [@HiDeoo](https://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.
18+
319
## 0.3.0
420

521
### Minor Changes

‎packages/docsearch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@astrojs/starlight-docsearch",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "Algolia DocSearch plugin for the Starlight documentation theme for Astro",
55
"author": "Chris Swithinbank <swithinbank@gmail.com>",
66
"license": "MIT",

‎packages/markdoc/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @astrojs/starlight-markdoc
22

3+
## 0.2.0
4+
5+
### Minor Changes
6+
7+
- [#2612](https://github.com/withastro/starlight/pull/2612) [`8d5a4e8`](https://github.com/withastro/starlight/commit/8d5a4e8000d9e3a4bb9ca8178767cf3d8bc48773) Thanks [@HiDeoo](https://github.com/HiDeoo)! - ⚠️ **BREAKING CHANGE:** The minimum supported version of Starlight is now 0.30.0
8+
9+
Please use the `@astrojs/upgrade` command to upgrade your project:
10+
11+
```sh
12+
npx @astrojs/upgrade
13+
```
14+
15+
### Patch Changes
16+
17+
- [#2664](https://github.com/withastro/starlight/pull/2664) [`62ff007`](https://github.com/withastro/starlight/commit/62ff0074d9a3f82e46f5c62db85c04d87ff5e931) Thanks [@HiDeoo](https://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.
18+
319
## 0.1.0
420

521
### Minor Changes

‎packages/markdoc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@astrojs/starlight-markdoc",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "Markdoc preset for the Starlight documentation theme for Astro",
55
"author": "Chris Swithinbank <swithinbank@gmail.com>",
66
"license": "MIT",

‎packages/starlight/CHANGELOG.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,68 @@
11
# @astrojs/starlight
22

3+
## 0.30.0
4+
5+
### Minor Changes
6+
7+
- [#2612](https://github.com/withastro/starlight/pull/2612) [`8d5a4e8`](https://github.com/withastro/starlight/commit/8d5a4e8000d9e3a4bb9ca8178767cf3d8bc48773) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Adds support for Astro v5, drops support for Astro v4.
8+
9+
#### Upgrade Astro and dependencies
10+
11+
⚠️ **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:
12+
13+
```sh
14+
npx @astrojs/upgrade
15+
```
16+
17+
_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._
18+
19+
#### Update your collections
20+
21+
⚠️ **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.
22+
23+
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`.
24+
1. **Edit the collection definition(s).** To update the `docs` collection, a `loader` is now required:
25+
26+
```diff
27+
// src/content.config.ts
28+
import { defineCollection } from "astro:content";
29+
+import { docsLoader } from "@astrojs/starlight/loaders";
30+
import { docsSchema } from "@astrojs/starlight/schema";
31+
32+
export const collections = {
33+
- docs: defineCollection({ schema: docsSchema() }),
34+
+ docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
35+
};
36+
```
37+
38+
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:
39+
40+
```diff
41+
// src/content.config.ts
42+
import { defineCollection } from "astro:content";
43+
+import { docsLoader, i18nLoader } from "@astrojs/starlight/loaders";
44+
import { docsSchema, i18nSchema } from "@astrojs/starlight/schema";
45+
46+
export const collections = {
47+
- docs: defineCollection({ schema: docsSchema() }),
48+
+ docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
49+
- i18n: defineCollection({ type: 'data', schema: i18nSchema() }),
50+
+ i18n: defineCollection({ loader: i18nLoader(), schema: i18nSchema() }),
51+
};
52+
```
53+
54+
1. **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.
55+
56+
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.
57+
58+
### Patch Changes
59+
60+
- [#2669](https://github.com/withastro/starlight/pull/2669) [`310df7d`](https://github.com/withastro/starlight/commit/310df7d6b01f5c4a56540bdba9243fb60dace323) Thanks [@aaronperezaguilera](https://github.com/aaronperezaguilera)! - Adds Catalan UI translations
61+
62+
- [#2664](https://github.com/withastro/starlight/pull/2664) [`62ff007`](https://github.com/withastro/starlight/commit/62ff0074d9a3f82e46f5c62db85c04d87ff5e931) Thanks [@HiDeoo](https://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.
63+
64+
- [#2670](https://github.com/withastro/starlight/pull/2670) [`0223b42`](https://github.com/withastro/starlight/commit/0223b425249f8d1fa468e367c632467276c9c208) Thanks [@aaronperezaguilera](https://github.com/aaronperezaguilera)! - Adds Spanish UI translations for the Pagefind search modal
65+
366
## 0.29.3
467

568
### Patch Changes

‎packages/starlight/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@astrojs/starlight",
3-
"version": "0.29.3",
3+
"version": "0.30.0",
44
"description": "Build beautiful, high-performance documentation websites with Astro",
55
"scripts": {
66
"test": "vitest",

‎packages/tailwind/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @astrojs/starlight-tailwind
22

3+
## 3.0.0
4+
5+
### Major Changes
6+
7+
- [#2612](https://github.com/withastro/starlight/pull/2612) [`8d5a4e8`](https://github.com/withastro/starlight/commit/8d5a4e8000d9e3a4bb9ca8178767cf3d8bc48773) Thanks [@HiDeoo](https://github.com/HiDeoo)! - ⚠️ **BREAKING CHANGE:** The minimum supported version of Starlight is now 0.30.0
8+
9+
Please use the `@astrojs/upgrade` command to upgrade your project:
10+
11+
```sh
12+
npx @astrojs/upgrade
13+
```
14+
15+
### Patch Changes
16+
17+
- [#2664](https://github.com/withastro/starlight/pull/2664) [`62ff007`](https://github.com/withastro/starlight/commit/62ff0074d9a3f82e46f5c62db85c04d87ff5e931) Thanks [@HiDeoo](https://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.
18+
319
## 2.0.3
420

521
### Patch Changes

‎packages/tailwind/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@astrojs/starlight-tailwind",
3-
"version": "2.0.3",
3+
"version": "3.0.0",
44
"description": "Tailwind CSS plugin for the Starlight documentation theme for Astro",
55
"author": "Chris Swithinbank <swithinbank@gmail.com>",
66
"license": "MIT",

‎pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)