Skip to content

Commit eb8ac77

Browse files
[ci] release (#3434)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 3364af3 commit eb8ac77

File tree

10 files changed

+57
-62
lines changed

10 files changed

+57
-62
lines changed

.changeset/light-starfishes-cross.md

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

.changeset/small-singers-smell.md

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

.changeset/tough-weeks-speak.md

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

.changeset/wicked-meals-return.md

Lines changed: 0 additions & 14 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.35.3",
14+
"@astrojs/starlight": "^0.36.0",
1515
"astro": "^5.6.1",
1616
"sharp": "^0.34.2"
1717
}

examples/markdoc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"dependencies": {
1414
"@astrojs/markdoc": "^0.13.3",
15-
"@astrojs/starlight": "^0.35.3",
15+
"@astrojs/starlight": "^0.36.0",
1616
"@astrojs/starlight-markdoc": "^0.5.0",
1717
"astro": "^5.6.1",
1818
"sharp": "^0.34.2"

examples/tailwind/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.35.3",
14+
"@astrojs/starlight": "^0.36.0",
1515
"@astrojs/starlight-tailwind": "^4.0.1",
1616
"@tailwindcss/vite": "^4.0.7",
1717
"astro": "^5.6.1",

packages/starlight/CHANGELOG.md

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

3+
## 0.36.0
4+
5+
### Minor Changes
6+
7+
- [#3427](https://github.com/withastro/starlight/pull/3427) [`c3b2d0f`](https://github.com/withastro/starlight/commit/c3b2d0fc37bb9b7b6abc6c11b760a4114690ccd4) Thanks [@delucis](https://github.com/delucis)! - Fixes styling of labels that wrap across multiple lines in `<Tabs>` component
8+
9+
⚠️ **Potentially breaking change:** Tab labels now have a narrower line-height and additional vertical padding. If you have custom CSS targetting the `<Tabs>` component, you may want to double check the visual appearance of your tabs when updating.
10+
11+
If you want to preserve the previous styling, you can add the following custom CSS to your site:
12+
13+
```css
14+
.tab > [role='tab'] {
15+
line-height: var(--sl-line-height);
16+
padding-block: 0;
17+
}
18+
```
19+
20+
- [#3380](https://github.com/withastro/starlight/pull/3380) [`3364af3`](https://github.com/withastro/starlight/commit/3364af31e535d62ee7b045e6d9cf97c7e58df981) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Makes head entry parsing stricter in Starlight config and content frontmatter.
21+
22+
**⚠️ Potentially breaking change:** Previously Starlight would accept a head entry for a `meta` tag defining some `content` which generates invalid HTML as `<meta>` is a void element which cannot have any child nodes. Now, it is an error to define a `meta` tag including some `content`.
23+
24+
If you see errors after updating, look for head entries in the Starlight configuration in the `astro.config.mjs` file or in the frontmatter of your content files that include a `content` property for a `meta` tag. To fix the error, move the `content` property to the `attrs` object with at least an additional attribute to identify the kind of metadata it represents:
25+
26+
```diff
27+
head: {
28+
tag: 'meta',
29+
- content: 'foo',
30+
attrs: {
31+
name: 'my-meta',
32+
+ content: 'foo',
33+
},
34+
},
35+
```
36+
37+
- [#3340](https://github.com/withastro/starlight/pull/3340) [`2018c31`](https://github.com/withastro/starlight/commit/2018c31b0f559d51478bfbf9f12cfba76b4e74fc) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Adds missing vertical spacing between Markdown content and UI Framework components using [client directives](https://docs.astro.build/en/reference/directives-reference/#client-directives).
38+
39+
**⚠️ Potentially breaking change:** By default, Starlight applies some vertical spacing (`--sl-content-gap-y`) between Markdown content blocks. This change introduces similar spacing between Markdown content blocks and UI Framework components using client directives which was not present before.
40+
41+
If you were relying on the previous behavior, you can manually override the spacing by manually specifying the top margin on the component using [custom CSS](https://starlight.astro.build/guides/css-and-tailwind/#custom-css-styles), e.g. by relying on a CSS class to target the component.
42+
43+
```css
44+
.my-custom-component {
45+
margin-top: 0;
46+
}
47+
```
48+
49+
### Patch Changes
50+
51+
- [#3423](https://github.com/withastro/starlight/pull/3423) [`a0d0670`](https://github.com/withastro/starlight/commit/a0d0670bce5827b90fd0102fa3517814367760e7) Thanks [@andersk](https://github.com/andersk)! - Fixes HTML validity in sidebar groups by ensuring `<summary>` is the first child of `<details>`
52+
353
## 0.35.3
454

555
### 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.35.3",
3+
"version": "0.36.0",
44
"description": "Build beautiful, high-performance documentation websites with Astro",
55
"scripts": {
66
"test": "vitest",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)