diff --git a/.changeset/dull-mice-live.md b/.changeset/dull-mice-live.md deleted file mode 100644 index e531ca0257d..00000000000 --- a/.changeset/dull-mice-live.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Updates `astro-expressive-code` dependency to the latest version (0.40). - -This includes an update to the latest Shiki version (1.26.1), providing access to all current Shiki themes and syntax highlighting languages, and adding the config options `shiki.engine`, `shiki.bundledLangs`, `shiki.langAlias` and `removeUnusedThemes`. It also adds new style variants to the optional collapsible sections plugin. - -See the [Expressive Code release notes](https://expressive-code.com/releases/#0400) for full details. diff --git a/.changeset/good-trains-sniff.md b/.changeset/good-trains-sniff.md deleted file mode 100644 index 09b1fe8f757..00000000000 --- a/.changeset/good-trains-sniff.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -⚠️ **BREAKING CHANGE:** The minimum supported version of Astro is now 5.1.5 - -Please update Astro and Starlight together: - -```sh -npx @astrojs/upgrade -``` diff --git a/.changeset/grumpy-terms-accept.md b/.changeset/grumpy-terms-accept.md deleted file mode 100644 index 42900dcbd4a..00000000000 --- a/.changeset/grumpy-terms-accept.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/starlight": patch ---- - -Uses semantic `var(--sl-color-hairline)` for the page sidebar border instead of `var(--sl-color-gray-6)`. This is visually the same as previously but makes it easier to override the hairline color consistently across a site. diff --git a/.changeset/long-pears-shop.md b/.changeset/long-pears-shop.md deleted file mode 100644 index 5bec6019d3f..00000000000 --- a/.changeset/long-pears-shop.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Updates minimum Pagefind dependency to v1.3.0, sets new defaults for Pagefind’s ranking options, and adds support for manually configuring the ranking options - -The new ranking option defaults have been evaluated against Starlight’s own docs to improve the quality of search results. See [“Customize Pagefind's result ranking”](https://pagefind.app/docs/ranking/) for more details about how they work. \ No newline at end of file diff --git a/.changeset/silver-brooms-fail.md b/.changeset/silver-brooms-fail.md deleted file mode 100644 index 8f6f8c19e7d..00000000000 --- a/.changeset/silver-brooms-fail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Updates internal dependencies `@astrojs/sitemap` and `@astrojs/mdx` to the latest versions diff --git a/.changeset/sweet-gorillas-refuse.md b/.changeset/sweet-gorillas-refuse.md deleted file mode 100644 index 804ac6bb7e9..00000000000 --- a/.changeset/sweet-gorillas-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/starlight": minor ---- - -Adds a print stylesheet to improve the appearance of Starlight docs pages when printed diff --git a/.changeset/tender-tools-kick.md b/.changeset/tender-tools-kick.md deleted file mode 100644 index 645c0ac4c73..00000000000 --- a/.changeset/tender-tools-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Fixes a documentation link in the JSDoc comment for the `StarlightExpressiveCodeOptions` type \ No newline at end of file diff --git a/.changeset/warm-coins-refuse.md b/.changeset/warm-coins-refuse.md deleted file mode 100644 index 6949b4ddb2f..00000000000 --- a/.changeset/warm-coins-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Fixes colour contrast correction in code blocks diff --git a/.changeset/young-plants-fetch.md b/.changeset/young-plants-fetch.md deleted file mode 100644 index 556c973abbb..00000000000 --- a/.changeset/young-plants-fetch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Fixes Pagefind logging to respect the Astro log level. When using Astro’s `--verbose` or `--silent` CLI flags, these are now respected by Pagefind as well. diff --git a/examples/basics/package.json b/examples/basics/package.json index e3513108918..38b6e5eb991 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.30.6", + "@astrojs/starlight": "^0.31.0", "astro": "^5.1.5", "sharp": "^0.32.5" } diff --git a/examples/markdoc/package.json b/examples/markdoc/package.json index 71cdcca3f5c..cec3df98686 100644 --- a/examples/markdoc/package.json +++ b/examples/markdoc/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@astrojs/markdoc": "^0.12.4", - "@astrojs/starlight": "^0.30.6", + "@astrojs/starlight": "^0.31.0", "@astrojs/starlight-markdoc": "^0.2.0", "astro": "^5.1.5", "sharp": "^0.32.5" diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json index d1c10b9acab..ab1d7c0a8be 100644 --- a/examples/tailwind/package.json +++ b/examples/tailwind/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.30.6", + "@astrojs/starlight": "^0.31.0", "@astrojs/starlight-tailwind": "^3.0.0", "@astrojs/tailwind": "^5.1.4", "astro": "^5.1.5", diff --git a/packages/starlight/CHANGELOG.md b/packages/starlight/CHANGELOG.md index 94dbbdfadd8..9b92b4a282a 100644 --- a/packages/starlight/CHANGELOG.md +++ b/packages/starlight/CHANGELOG.md @@ -1,5 +1,41 @@ # @astrojs/starlight +## 0.31.0 + +### Minor Changes + +- [#2777](https://github.com/withastro/starlight/pull/2777) [`88f4214`](https://github.com/withastro/starlight/commit/88f42145888f3a04f20898fcb700c1e65be48bb2) Thanks [@hippotastic](https://github.com/hippotastic)! - Updates `astro-expressive-code` dependency to the latest version (0.40). + + This includes an update to the latest Shiki version (1.26.1), providing access to all current Shiki themes and syntax highlighting languages, and adding the config options `shiki.engine`, `shiki.bundledLangs`, `shiki.langAlias` and `removeUnusedThemes`. It also adds new style variants to the optional collapsible sections plugin. + + See the [Expressive Code release notes](https://expressive-code.com/releases/#0400) for full details. + +- [#2736](https://github.com/withastro/starlight/pull/2736) [`29a885b`](https://github.com/withastro/starlight/commit/29a885be43f29150d6abd905f3ef7e1dccb99c98) Thanks [@delucis](https://github.com/delucis)! - ⚠️ **BREAKING CHANGE:** The minimum supported version of Astro is now 5.1.5 + + Please update Astro and Starlight together: + + ```sh + npx @astrojs/upgrade + ``` + +- [#2728](https://github.com/withastro/starlight/pull/2728) [`e187383`](https://github.com/withastro/starlight/commit/e1873834d4a4328084a9ac056a089ee5b8f13103) Thanks [@delucis](https://github.com/delucis)! - Updates minimum Pagefind dependency to v1.3.0, sets new defaults for Pagefind’s ranking options, and adds support for manually configuring the ranking options + + The new ranking option defaults have been evaluated against Starlight’s own docs to improve the quality of search results. See [“Customize Pagefind's result ranking”](https://pagefind.app/docs/ranking/) for more details about how they work. + +- [#157](https://github.com/withastro/starlight/pull/157) [`23bf960`](https://github.com/withastro/starlight/commit/23bf960aed36445600b6ccecb2138a5b461e2929) Thanks [@tony-sull](https://github.com/tony-sull)! - Adds a print stylesheet to improve the appearance of Starlight docs pages when printed + +- [#2728](https://github.com/withastro/starlight/pull/2728) [`e187383`](https://github.com/withastro/starlight/commit/e1873834d4a4328084a9ac056a089ee5b8f13103) Thanks [@delucis](https://github.com/delucis)! - Fixes Pagefind logging to respect the Astro log level. When using Astro’s `--verbose` or `--silent` CLI flags, these are now respected by Pagefind as well. + +### Patch Changes + +- [#2792](https://github.com/withastro/starlight/pull/2792) [`412effb`](https://github.com/withastro/starlight/commit/412effb5a63c6026ea4faa0d09bcbd4a3c9fad4d) Thanks [@dhruvkb](https://github.com/dhruvkb)! - Uses semantic `var(--sl-color-hairline)` for the page sidebar border instead of `var(--sl-color-gray-6)`. This is visually the same as previously but makes it easier to override the hairline color consistently across a site. + +- [#2736](https://github.com/withastro/starlight/pull/2736) [`29a885b`](https://github.com/withastro/starlight/commit/29a885be43f29150d6abd905f3ef7e1dccb99c98) Thanks [@delucis](https://github.com/delucis)! - Updates internal dependencies `@astrojs/sitemap` and `@astrojs/mdx` to the latest versions + +- [#2782](https://github.com/withastro/starlight/pull/2782) [`d9d415b`](https://github.com/withastro/starlight/commit/d9d415b4558c7995319299e9c9e1520c87c3078e) Thanks [@delucis](https://github.com/delucis)! - Fixes a documentation link in the JSDoc comment for the `StarlightExpressiveCodeOptions` type + +- [#2708](https://github.com/withastro/starlight/pull/2708) [`442c819`](https://github.com/withastro/starlight/commit/442c8194dbcbe58e155d4c1f8d897a04605666e5) Thanks [@delucis](https://github.com/delucis)! - Fixes colour contrast correction in code blocks + ## 0.30.6 ### Patch Changes diff --git a/packages/starlight/package.json b/packages/starlight/package.json index c104cdf75eb..f74a0ef1b15 100644 --- a/packages/starlight/package.json +++ b/packages/starlight/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/starlight", - "version": "0.30.6", + "version": "0.31.0", "description": "Build beautiful, high-performance documentation websites with Astro", "scripts": { "test": "vitest", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 32517ed956d..361f47d6266 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -76,7 +76,7 @@ importers: examples/basics: dependencies: '@astrojs/starlight': - specifier: ^0.30.6 + specifier: ^0.31.0 version: link:../../packages/starlight astro: specifier: ^5.1.5 @@ -91,7 +91,7 @@ importers: specifier: ^0.12.4 version: 0.12.5(astro@5.1.5) '@astrojs/starlight': - specifier: ^0.30.6 + specifier: ^0.31.0 version: link:../../packages/starlight '@astrojs/starlight-markdoc': specifier: ^0.2.0 @@ -106,7 +106,7 @@ importers: examples/tailwind: dependencies: '@astrojs/starlight': - specifier: ^0.30.6 + specifier: ^0.31.0 version: link:../../packages/starlight '@astrojs/starlight-tailwind': specifier: ^3.0.0