summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHouston (Bot)2024-02-23 14:40:07 -0800
committerGitHub2024-02-23 23:40:07 +0100
commit8fb77bcbb1e2c6e284c606968c9820a70f23ce3b (patch)
tree8f470158a7716b2ce7ce9a91b7817855b04c3ac2
parentb3b7a6069952d5f27a49b2fd097aa4db065e1718 (diff)
downloadIT.starlight-8fb77bcbb1e2c6e284c606968c9820a70f23ce3b.tar.gz
IT.starlight-8fb77bcbb1e2c6e284c606968c9820a70f23ce3b.tar.bz2
IT.starlight-8fb77bcbb1e2c6e284c606968c9820a70f23ce3b.zip
[ci] release (#1546)@astrojs/starlight@0.20.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-rw-r--r--.changeset/itchy-dots-act.md5
-rw-r--r--.changeset/spotty-hairs-care.md5
-rw-r--r--.changeset/tricky-berries-retire.md9
-rw-r--r--examples/basics/package.json2
-rw-r--r--examples/tailwind/package.json2
-rw-r--r--packages/starlight/CHANGELOG.md82
-rw-r--r--packages/starlight/package.json2
-rw-r--r--pnpm-lock.yaml4
8 files changed, 54 insertions, 57 deletions
diff --git a/.changeset/itchy-dots-act.md b/.changeset/itchy-dots-act.md
deleted file mode 100644
index 2c5f0534..00000000
--- a/.changeset/itchy-dots-act.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@astrojs/starlight": patch
----
-
-Improves error messages shown by Starlight for configuration errors.
diff --git a/.changeset/spotty-hairs-care.md b/.changeset/spotty-hairs-care.md
deleted file mode 100644
index 3a43124c..00000000
--- a/.changeset/spotty-hairs-care.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@astrojs/starlight": patch
----
-
-Update Vietnamese UI translations
diff --git a/.changeset/tricky-berries-retire.md b/.changeset/tricky-berries-retire.md
deleted file mode 100644
index 80ab2b9e..00000000
--- a/.changeset/tricky-berries-retire.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-'@astrojs/starlight': minor
----
-
-Updates `astro-expressive-code` dependency to the latest minor release (0.33).
-
-This unlocks support for [word wrap](https://expressive-code.com/key-features/word-wrap/) and [line numbers](https://expressive-code.com/plugins/line-numbers/), as well as updating the syntax highlighter to the latest Shiki release, which includes new and updated language grammars.
-
-See the [Expressive Code release notes](https://expressive-code.com/releases/) for more information including details of potentially breaking changes.
diff --git a/examples/basics/package.json b/examples/basics/package.json
index 78c804c5..73683efe 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/starlight": "^0.19.1",
+ "@astrojs/starlight": "^0.20.0",
"astro": "^4.3.5",
"sharp": "^0.32.5"
}
diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json
index 0f99d312..59c01a09 100644
--- a/examples/tailwind/package.json
+++ b/examples/tailwind/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/starlight": "^0.19.1",
+ "@astrojs/starlight": "^0.20.0",
"@astrojs/starlight-tailwind": "^2.0.1",
"@astrojs/tailwind": "^5.1.0",
"astro": "^4.3.5",
diff --git a/packages/starlight/CHANGELOG.md b/packages/starlight/CHANGELOG.md
index 06665af7..dd12849d 100644
--- a/packages/starlight/CHANGELOG.md
+++ b/packages/starlight/CHANGELOG.md
@@ -1,5 +1,21 @@
# @astrojs/starlight
+## 0.20.0
+
+### Minor Changes
+
+- [#1541](https://github.com/withastro/starlight/pull/1541) [`1043052f`](https://github.com/withastro/starlight/commit/1043052f3890a577a73276472f3773924909406b) Thanks [@hippotastic](https://github.com/hippotastic)! - Updates `astro-expressive-code` dependency to the latest minor release (0.33).
+
+ This unlocks support for [word wrap](https://expressive-code.com/key-features/word-wrap/) and [line numbers](https://expressive-code.com/plugins/line-numbers/), as well as updating the syntax highlighter to the latest Shiki release, which includes new and updated language grammars.
+
+ See the [Expressive Code release notes](https://expressive-code.com/releases/) for more information including details of potentially breaking changes.
+
+### Patch Changes
+
+- [#1542](https://github.com/withastro/starlight/pull/1542) [`b3b7a606`](https://github.com/withastro/starlight/commit/b3b7a6069952d5f27a49b2fd097aa4db065e1718) Thanks [@delucis](https://github.com/delucis)! - Improves error messages shown by Starlight for configuration errors.
+
+- [#1544](https://github.com/withastro/starlight/pull/1544) [`65dc6586`](https://github.com/withastro/starlight/commit/65dc6586ef7c1754875db1d48c49e709051a0b13) Thanks [@torn4dom4n](https://github.com/torn4dom4n)! - Update Vietnamese UI translations
+
## 0.19.1
### Patch Changes
@@ -116,7 +132,7 @@
```css
.sl-link-card a {
- line-height: 1.6;
+ line-height: 1.6;
}
```
@@ -136,14 +152,14 @@
```css
/* Restore vertical spacing to match Starlight v0.15 and below. */
.sl-markdown-content
- :not(a, strong, em, del, span, input, code)
- + :not(a, strong, em, del, span, input, code, :where(.not-content *)) {
- margin-top: 1.5rem;
+ :not(a, strong, em, del, span, input, code)
+ + :not(a, strong, em, del, span, input, code, :where(.not-content *)) {
+ margin-top: 1.5rem;
}
.sl-markdown-content
- :not(h1, h2, h3, h4, h5, h6)
- + :is(h1, h2, h3, h4, h5, h6):not(:where(.not-content *)) {
- margin-top: 2.5rem;
+ :not(h1, h2, h3, h4, h5, h6)
+ + :is(h1, h2, h3, h4, h5, h6):not(:where(.not-content *)) {
+ margin-top: 2.5rem;
}
```
@@ -155,9 +171,9 @@
starlight-toc a[aria-current='true'],
starlight-toc a[aria-current='true']:hover,
starlight-toc a[aria-current='true']:focus {
- font-weight: 600;
- color: var(--sl-color-text-invert);
- background-color: var(--sl-color-text-accent);
+ font-weight: 600;
+ color: var(--sl-color-text-invert);
+ background-color: var(--sl-color-text-accent);
}
```
@@ -230,14 +246,14 @@
import starlight from '@astrojs/starlight';
export default defineConfig({
- // Disable link prefetching:
- prefetch: false,
-
- integrations: [
- starlight({
- // ...
- }),
- ],
+ // Disable link prefetching:
+ prefetch: false,
+
+ integrations: [
+ starlight({
+ // ...
+ }),
+ ],
});
```
@@ -294,12 +310,12 @@
import starlight from '@astrojs/starlight';
export default defineConfig({
- trailingSlash: 'always',
- integrations: [
- starlight({
- // ...
- }),
- ],
+ trailingSlash: 'always',
+ integrations: [
+ starlight({
+ // ...
+ }),
+ ],
});
```
@@ -647,16 +663,16 @@
```css
:root {
- --sl-hue-accent: 234;
- --sl-color-accent-low: hsl(var(--sl-hue-accent), 54%, 20%);
- --sl-color-accent: hsl(var(--sl-hue-accent), 100%, 60%);
- --sl-color-accent-high: hsl(var(--sl-hue-accent), 100%, 87%);
+ --sl-hue-accent: 234;
+ --sl-color-accent-low: hsl(var(--sl-hue-accent), 54%, 20%);
+ --sl-color-accent: hsl(var(--sl-hue-accent), 100%, 60%);
+ --sl-color-accent-high: hsl(var(--sl-hue-accent), 100%, 87%);
}
:root[data-theme='light'] {
- --sl-color-accent-high: hsl(var(--sl-hue-accent), 80%, 30%);
- --sl-color-accent: hsl(var(--sl-hue-accent), 90%, 60%);
- --sl-color-accent-low: hsl(var(--sl-hue-accent), 88%, 90%);
+ --sl-color-accent-high: hsl(var(--sl-hue-accent), 80%, 30%);
+ --sl-color-accent: hsl(var(--sl-hue-accent), 90%, 60%);
+ --sl-color-accent-low: hsl(var(--sl-hue-accent), 88%, 90%);
}
```
@@ -1035,8 +1051,8 @@
```json
{
- "search.label": "Suchen",
- "search.shortcutLabel": "(Drücke / zum Suchen)"
+ "search.label": "Suchen",
+ "search.shortcutLabel": "(Drücke / zum Suchen)"
}
```
diff --git a/packages/starlight/package.json b/packages/starlight/package.json
index da3338d7..ee477997 100644
--- a/packages/starlight/package.json
+++ b/packages/starlight/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/starlight",
- "version": "0.19.1",
+ "version": "0.20.0",
"description": "Build beautiful, high-performance documentation websites with Astro",
"scripts": {
"test": "vitest",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ea420609..0502af7d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -85,7 +85,7 @@ importers:
examples/basics:
dependencies:
'@astrojs/starlight':
- specifier: ^0.19.1
+ specifier: ^0.20.0
version: link:../../packages/starlight
astro:
specifier: ^4.3.5
@@ -97,7 +97,7 @@ importers:
examples/tailwind:
dependencies:
'@astrojs/starlight':
- specifier: ^0.19.1
+ specifier: ^0.20.0
version: link:../../packages/starlight
'@astrojs/starlight-tailwind':
specifier: ^2.0.1