From 14992f7683df00c56945dd4a6fd9b9b5ed0ec226 Mon Sep 17 00:00:00 2001 From: "Houston (Bot)" <108291165+astrobot-houston@users.noreply.github.com> Date: Fri, 6 Sep 2024 15:45:52 -0700 Subject: [PATCH] [ci] release (#2292) Co-authored-by: github-actions[bot] --- .changeset/heavy-forks-help.md | 5 ----- .changeset/ninety-singers-film.md | 7 ------- .changeset/quiet-penguins-wonder.md | 5 ----- .changeset/selfish-chefs-tie.md | 7 ------- .changeset/six-phones-boil.md | 16 ---------------- examples/basics/package.json | 2 +- examples/markdoc/package.json | 4 ++-- examples/tailwind/package.json | 2 +- packages/markdoc/CHANGELOG.md | 9 +++++++++ packages/markdoc/package.json | 2 +- packages/starlight/CHANGELOG.md | 29 +++++++++++++++++++++++++++++ packages/starlight/package.json | 2 +- pnpm-lock.yaml | 8 ++++---- 13 files changed, 48 insertions(+), 50 deletions(-) delete mode 100644 .changeset/heavy-forks-help.md delete mode 100644 .changeset/ninety-singers-film.md delete mode 100644 .changeset/quiet-penguins-wonder.md delete mode 100644 .changeset/selfish-chefs-tie.md delete mode 100644 .changeset/six-phones-boil.md create mode 100644 packages/markdoc/CHANGELOG.md diff --git a/.changeset/heavy-forks-help.md b/.changeset/heavy-forks-help.md deleted file mode 100644 index 17f017ff73..0000000000 --- a/.changeset/heavy-forks-help.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/starlight": patch ---- - -Refactors the logic for persisting and restoring sidebar state across navigations for better performance on slow or busy devices diff --git a/.changeset/ninety-singers-film.md b/.changeset/ninety-singers-film.md deleted file mode 100644 index 3b8fa28510..0000000000 --- a/.changeset/ninety-singers-film.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Improves performance of computing the last updated times from Git history. - -Instead of executing `git` for each docs page, it is now executed twice regardless of the number of pages. diff --git a/.changeset/quiet-penguins-wonder.md b/.changeset/quiet-penguins-wonder.md deleted file mode 100644 index 5fda6c0f42..0000000000 --- a/.changeset/quiet-penguins-wonder.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Fixes last updated times on projects with custom `srcDir` diff --git a/.changeset/selfish-chefs-tie.md b/.changeset/selfish-chefs-tie.md deleted file mode 100644 index f886919473..0000000000 --- a/.changeset/selfish-chefs-tie.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@astrojs/starlight-markdoc': minor ---- - -Adds Starlight Markdoc preset. - -See the [“Markdoc”](https://starlight.astro.build/guides/authoring-content/#markdoc) guide to learn more on how to use this preset in a new or existing project. diff --git a/.changeset/six-phones-boil.md b/.changeset/six-phones-boil.md deleted file mode 100644 index fa22cbedd8..0000000000 --- a/.changeset/six-phones-boil.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Adds support for server-rendered Starlight pages. - -When building a project with `hybrid` or `server` output mode, a new `prerender` option on Starlight config can be set to `false` to make all Starlight pages be rendered on-demand: - -```ts -export default defineConfig({ - output: 'server', - integrations: [starlight({ - prerender: false - })], -}) -``` diff --git a/examples/basics/package.json b/examples/basics/package.json index 0628092fc9..ff15a42102 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.26.4", + "@astrojs/starlight": "^0.27.0", "astro": "^4.15.3", "sharp": "^0.32.5" } diff --git a/examples/markdoc/package.json b/examples/markdoc/package.json index d87a8ac644..6ed0b5c64a 100644 --- a/examples/markdoc/package.json +++ b/examples/markdoc/package.json @@ -12,8 +12,8 @@ }, "dependencies": { "@astrojs/markdoc": "^0.11.4", - "@astrojs/starlight": "^0.26.1", - "@astrojs/starlight-markdoc": "^0.0.1", + "@astrojs/starlight": "^0.27.0", + "@astrojs/starlight-markdoc": "^0.1.0", "astro": "^4.15.3", "sharp": "^0.32.5" } diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json index 935efb71f2..bc52275b44 100644 --- a/examples/tailwind/package.json +++ b/examples/tailwind/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.26.4", + "@astrojs/starlight": "^0.27.0", "@astrojs/starlight-tailwind": "^2.0.3", "@astrojs/tailwind": "^5.1.0", "astro": "^4.15.3", diff --git a/packages/markdoc/CHANGELOG.md b/packages/markdoc/CHANGELOG.md new file mode 100644 index 0000000000..433575df48 --- /dev/null +++ b/packages/markdoc/CHANGELOG.md @@ -0,0 +1,9 @@ +# @astrojs/starlight-markdoc + +## 0.1.0 + +### Minor Changes + +- [#2249](https://github.com/withastro/starlight/pull/2249) [`20cbf3b`](https://github.com/withastro/starlight/commit/20cbf3b6a4d1598a62fdb176ebaa849bc7b978f7) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Adds Starlight Markdoc preset. + + See the [“Markdoc”](https://starlight.astro.build/guides/authoring-content/#markdoc) guide to learn more on how to use this preset in a new or existing project. diff --git a/packages/markdoc/package.json b/packages/markdoc/package.json index 355c776c57..81e79cd824 100644 --- a/packages/markdoc/package.json +++ b/packages/markdoc/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/starlight-markdoc", - "version": "0.0.1", + "version": "0.1.0", "description": "Markdoc preset for the Starlight documentation theme for Astro", "author": "Chris Swithinbank ", "license": "MIT", diff --git a/packages/starlight/CHANGELOG.md b/packages/starlight/CHANGELOG.md index feba71ea7c..6fc94d752b 100644 --- a/packages/starlight/CHANGELOG.md +++ b/packages/starlight/CHANGELOG.md @@ -1,5 +1,34 @@ # @astrojs/starlight +## 0.27.0 + +### Minor Changes + +- [#1255](https://github.com/withastro/starlight/pull/1255) [`6f3202b`](https://github.com/withastro/starlight/commit/6f3202b3eb747de8a1cfcba001ab618d5fdee44a) Thanks [@Fryuni](https://github.com/Fryuni)! - Adds support for server-rendered Starlight pages. + + When building a project with `hybrid` or `server` output mode, a new `prerender` option on Starlight config can be set to `false` to make all Starlight pages be rendered on-demand: + + ```ts + export default defineConfig({ + output: 'server', + integrations: [ + starlight({ + prerender: false, + }), + ], + }); + ``` + +### Patch Changes + +- [#2242](https://github.com/withastro/starlight/pull/2242) [`756e85e`](https://github.com/withastro/starlight/commit/756e85e8e814657c42c4a6f9c299b5bef32aee22) Thanks [@delucis](https://github.com/delucis)! - Refactors the logic for persisting and restoring sidebar state across navigations for better performance on slow or busy devices + +- [#1255](https://github.com/withastro/starlight/pull/1255) [`6f3202b`](https://github.com/withastro/starlight/commit/6f3202b3eb747de8a1cfcba001ab618d5fdee44a) Thanks [@Fryuni](https://github.com/Fryuni)! - Improves performance of computing the last updated times from Git history. + + Instead of executing `git` for each docs page, it is now executed twice regardless of the number of pages. + +- [#1255](https://github.com/withastro/starlight/pull/1255) [`6f3202b`](https://github.com/withastro/starlight/commit/6f3202b3eb747de8a1cfcba001ab618d5fdee44a) Thanks [@Fryuni](https://github.com/Fryuni)! - Fixes last updated times on projects with custom `srcDir` + ## 0.26.4 ### Patch Changes diff --git a/packages/starlight/package.json b/packages/starlight/package.json index 137866167e..01752c3176 100644 --- a/packages/starlight/package.json +++ b/packages/starlight/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/starlight", - "version": "0.26.4", + "version": "0.27.0", "description": "Build beautiful, high-performance documentation websites with Astro", "scripts": { "test": "vitest", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e2c7deef87..772a40b6a4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -73,7 +73,7 @@ importers: examples/basics: dependencies: '@astrojs/starlight': - specifier: ^0.26.4 + specifier: ^0.27.0 version: link:../../packages/starlight astro: specifier: ^4.15.3 @@ -88,10 +88,10 @@ importers: specifier: ^0.11.4 version: 0.11.4(astro@4.15.3) '@astrojs/starlight': - specifier: ^0.26.1 + specifier: ^0.27.0 version: link:../../packages/starlight '@astrojs/starlight-markdoc': - specifier: ^0.0.1 + specifier: ^0.1.0 version: link:../../packages/markdoc astro: specifier: ^4.15.3 @@ -103,7 +103,7 @@ importers: examples/tailwind: dependencies: '@astrojs/starlight': - specifier: ^0.26.4 + specifier: ^0.27.0 version: link:../../packages/starlight '@astrojs/starlight-tailwind': specifier: ^2.0.3