summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHouston (Bot)2024-07-05 04:23:55 -0700
committerGitHub2024-07-05 13:23:55 +0200
commit1c70df6c4b9e0f9e0c38ffe29cd463800b69d7ab (patch)
treecfa30cfb2cc5666e0e46d2775ce71ddf7a13d215
parenteeba06ea7df962e8f0520e145d28b8c17cd32c18 (diff)
downloadIT.starlight-1c70df6c4b9e0f9e0c38ffe29cd463800b69d7ab.tar.gz
IT.starlight-1c70df6c4b9e0f9e0c38ffe29cd463800b69d7ab.tar.bz2
IT.starlight-1c70df6c4b9e0f9e0c38ffe29cd463800b69d7ab.zip
[ci] release (#2082)@astrojs/starlight@0.25.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
-rw-r--r--.changeset/big-buttons-shop.md7
-rw-r--r--.changeset/curly-dolphins-grow.md5
-rw-r--r--.changeset/great-plums-study.md9
-rw-r--r--.changeset/new-trains-complain.md5
-rw-r--r--.changeset/seven-owls-taste.md19
-rw-r--r--examples/basics/package.json2
-rw-r--r--examples/tailwind/package.json2
-rw-r--r--packages/starlight/CHANGELOG.md33
-rw-r--r--packages/starlight/package.json2
-rw-r--r--pnpm-lock.yaml4
10 files changed, 38 insertions, 50 deletions
diff --git a/.changeset/big-buttons-shop.md b/.changeset/big-buttons-shop.md
deleted file mode 100644
index ea6ed5e1..00000000
--- a/.changeset/big-buttons-shop.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-'@astrojs/starlight': minor
----
-
-Removes the `/` search shortcut for [accessibility reasons](https://www.w3.org/WAI/WCAG21/Understanding/character-key-shortcuts.html).
-
-⚠️ **Potentially breaking change:** The `search.shortcutLabel` UI string has been removed. If you were using this string in your custom UI, you will need to update your code.
diff --git a/.changeset/curly-dolphins-grow.md b/.changeset/curly-dolphins-grow.md
deleted file mode 100644
index 113ed658..00000000
--- a/.changeset/curly-dolphins-grow.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@astrojs/starlight": minor
----
-
-Improves styling of Markdown tables to work better in different contexts, including against different background colours like when used in asides.
diff --git a/.changeset/great-plums-study.md b/.changeset/great-plums-study.md
deleted file mode 100644
index 17765e18..00000000
--- a/.changeset/great-plums-study.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-'@astrojs/starlight': minor
----
-
-Makes sidebar entry parsing stricter in Starlight config
-
-**⚠️ Potentially breaking change:** Previously Starlight would accept a sidebar entry that matched one of its expected shapes, even if it included additional properties. For example, including both `link` and `items` was considered valid, with `items` being ignored. Now, it is an error to include more than one of `link`, `items`, or `autogenerate` in a sidebar entry.
-
-If you see errors after updating, look for sidebar entries in the Starlight configuration in `astro.config.mjs` that include too many keys and remove the one that was previously ignored.
diff --git a/.changeset/new-trains-complain.md b/.changeset/new-trains-complain.md
deleted file mode 100644
index cf352489..00000000
--- a/.changeset/new-trains-complain.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@astrojs/starlight": patch
----
-
-Updates the Ukrainian UI translations
diff --git a/.changeset/seven-owls-taste.md b/.changeset/seven-owls-taste.md
deleted file mode 100644
index ce108075..00000000
--- a/.changeset/seven-owls-taste.md
+++ /dev/null
@@ -1,19 +0,0 @@
----
-'@astrojs/starlight': patch
----
-
-Adds a new syntax for specifying sidebar link items for internal links
-
-You can now specify an internal page using only its slug, either as a string, or as an object with a `slug` property:
-
-```js
-starlight({
- title: 'Docs with easier sidebars',
- sidebar: [
- 'getting-started',
- { slug: 'guides/installation' },
- ],
-})
-```
-
-Starlight will use the linked page’s frontmatter to configure the sidebar link.
diff --git a/examples/basics/package.json b/examples/basics/package.json
index 4d0586b3..cff8a92d 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/starlight": "^0.24.5",
+ "@astrojs/starlight": "^0.25.0",
"astro": "^4.10.2",
"sharp": "^0.32.5"
}
diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json
index 8c2691e4..efb25b31 100644
--- a/examples/tailwind/package.json
+++ b/examples/tailwind/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/starlight": "^0.24.5",
+ "@astrojs/starlight": "^0.25.0",
"@astrojs/starlight-tailwind": "^2.0.3",
"@astrojs/tailwind": "^5.1.0",
"astro": "^4.10.2",
diff --git a/packages/starlight/CHANGELOG.md b/packages/starlight/CHANGELOG.md
index 5f5a100c..3b85f376 100644
--- a/packages/starlight/CHANGELOG.md
+++ b/packages/starlight/CHANGELOG.md
@@ -1,5 +1,38 @@
# @astrojs/starlight
+## 0.25.0
+
+### Minor Changes
+
+- [#2025](https://github.com/withastro/starlight/pull/2025) [`47f32c1`](https://github.com/withastro/starlight/commit/47f32c196c5d840a6a45799ddf123d17c77274b0) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Removes the `/` search shortcut for [accessibility reasons](https://www.w3.org/WAI/WCAG21/Understanding/character-key-shortcuts.html).
+
+ ⚠️ **Potentially breaking change:** The `search.shortcutLabel` UI string has been removed. If you were using this string in your custom UI, you will need to update your code.
+
+- [#2064](https://github.com/withastro/starlight/pull/2064) [`c5b47cb`](https://github.com/withastro/starlight/commit/c5b47cbe1242f0b29b9212db72fe26590ab57d88) Thanks [@SnowDingo](https://github.com/SnowDingo)! - Improves styling of Markdown tables to work better in different contexts, including against different background colours like when used in asides.
+
+- [#2031](https://github.com/withastro/starlight/pull/2031) [`2bab648`](https://github.com/withastro/starlight/commit/2bab648be9ddc6bfe05562650b773f5158a9ed42) Thanks [@delucis](https://github.com/delucis)! - Makes sidebar entry parsing stricter in Starlight config
+
+ **⚠️ Potentially breaking change:** Previously Starlight would accept a sidebar entry that matched one of its expected shapes, even if it included additional properties. For example, including both `link` and `items` was considered valid, with `items` being ignored. Now, it is an error to include more than one of `link`, `items`, or `autogenerate` in a sidebar entry.
+
+ If you see errors after updating, look for sidebar entries in the Starlight configuration in `astro.config.mjs` that include too many keys and remove the one that was previously ignored.
+
+- [#1874](https://github.com/withastro/starlight/pull/1874) [`eeba06e`](https://github.com/withastro/starlight/commit/eeba06ea7df962e8f0520e145d28b8c17cd32c18) Thanks [@lorenzolewis](https://github.com/lorenzolewis)! - Adds a new syntax for specifying sidebar link items for internal links
+
+ You can now specify an internal page using only its slug, either as a string, or as an object with a `slug` property:
+
+ ```js
+ starlight({
+ title: 'Docs with easier sidebars',
+ sidebar: ['getting-started', { slug: 'guides/installation' }],
+ });
+ ```
+
+ Starlight will use the linked page’s frontmatter to configure the sidebar link.
+
+### Patch Changes
+
+- [#2081](https://github.com/withastro/starlight/pull/2081) [`f0181d2`](https://github.com/withastro/starlight/commit/f0181d2689248a46ff3eb6fc604bfcd95d4cb1aa) Thanks [@andrii-bodnar](https://github.com/andrii-bodnar)! - Updates the Ukrainian UI translations
+
## 0.24.5
### Patch Changes
diff --git a/packages/starlight/package.json b/packages/starlight/package.json
index 020256f8..2833e866 100644
--- a/packages/starlight/package.json
+++ b/packages/starlight/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/starlight",
- "version": "0.24.5",
+ "version": "0.25.0",
"description": "Build beautiful, high-performance documentation websites with Astro",
"scripts": {
"test": "vitest",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 37078d8d..668a4842 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -73,7 +73,7 @@ importers:
examples/basics:
dependencies:
'@astrojs/starlight':
- specifier: ^0.24.5
+ specifier: ^0.25.0
version: link:../../packages/starlight
astro:
specifier: ^4.10.2
@@ -85,7 +85,7 @@ importers:
examples/tailwind:
dependencies:
'@astrojs/starlight':
- specifier: ^0.24.5
+ specifier: ^0.25.0
version: link:../../packages/starlight
'@astrojs/starlight-tailwind':
specifier: ^2.0.3