Skip to content

Commit fc541f0

Browse files
[ci] release
1 parent c46904c commit fc541f0

File tree

12 files changed

+63
-74
lines changed

12 files changed

+63
-74
lines changed

.changeset/calm-cobras-breathe.md

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

.changeset/happy-pens-serve.md

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

.changeset/happy-snails-cheat.md

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

.changeset/long-emus-smile.md

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

.changeset/red-monkeys-tickle.md

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

.changeset/small-days-share.md

Lines changed: 0 additions & 5 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.32.6",
14+
"@astrojs/starlight": "^0.33.0",
1515
"astro": "^5.5.3",
1616
"sharp": "^0.32.5"
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.12.4",
15-
"@astrojs/starlight": "^0.32.6",
15+
"@astrojs/starlight": "^0.33.0",
1616
"@astrojs/starlight-markdoc": "^0.3.0",
1717
"astro": "^5.5.3",
1818
"sharp": "^0.32.5"

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.32.6",
14+
"@astrojs/starlight": "^0.33.0",
1515
"@astrojs/starlight-tailwind": "^3.0.1",
1616
"@astrojs/tailwind": "^5.1.4",
1717
"astro": "^5.5.3",

packages/starlight/CHANGELOG.md

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

3+
## 0.33.0
4+
5+
### Minor Changes
6+
7+
- [#3026](https://github.com/withastro/starlight/pull/3026) [`82deb84`](https://github.com/withastro/starlight/commit/82deb847418aedb9c01e05bb9de4b9bd10a1a885) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Fixes a potential list styling issue if the last element of a list item is a `<script>` tag.
8+
9+
⚠️ BREAKING CHANGE:
10+
11+
This release drops official support for Chromium-based browsers prior to version 105 (released 30 August 2022) and Firefox-based browsers prior to version 121 (released 19 December 2023). You can find a list of currently supported browsers and their versions using this [browserslist query](https://browsersl.ist/#q=%3E+0.5%25%2C+not+dead%2C+Chrome+%3E%3D+105%2C+Edge+%3E%3D+105%2C+Firefox+%3E%3D+121%2C+Safari+%3E%3D+15.4%2C+iOS+%3E%3D+15.4%2C+not+op_mini+all).
12+
13+
With this release, Starlight-generated sites will still work fine on those older browsers except for this small detail in list item styling, but future releases may introduce further breaking changes for impacted browsers, including in patch releases.
14+
15+
- [#2927](https://github.com/withastro/starlight/pull/2927) [`c46904c`](https://github.com/withastro/starlight/commit/c46904c4a16cf1c7f4f895e42cb164474b2301b3) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Adds the [`head`](https://starlight.astro.build/reference/route-data/#head) route data property which contains an array of all tags to include in the `<head>` of the current page.
16+
17+
Previously, the [`<Head>`](https://starlight.astro.build/reference/overrides/#head-1) component was responsible for generating a list of tags to include in the `<head>` of the current page and rendering them.
18+
This data is now available as `Astro.locals.starlightRoute.head` instead and can be modified using [route data middleware](https://starlight.astro.build/guides/route-data/#customizing-route-data).
19+
The `<Head>` component now only renders the tags provided in `Astro.locals.starlightRoute.head`.
20+
21+
- [#2924](https://github.com/withastro/starlight/pull/2924) [`6a56d1b`](https://github.com/withastro/starlight/commit/6a56d1b80d9d67e63e930177cf085a25864e1952) Thanks [@HiDeoo](https://github.com/HiDeoo)! - ⚠️ **BREAKING CHANGE:** Ensures that the `<Badge>` and `<Icon>` components no longer render with a trailing space.
22+
23+
In Astro, components that include styles render with a trailing space which can prevent some use cases from working as expected, e.g. when using such components inlined with text. This change ensures that the `<Badge>` and `<Icon>` components no longer render with a trailing space.
24+
25+
If you were previously relying on that implementation detail, you may need to update your code to account for this change. For example, considering the following code:
26+
27+
```mdx
28+
<Badge text="New" />
29+
Feature
30+
```
31+
32+
The rendered text would previously include a space between the badge and the text due to the trailing space automatically added by the component:
33+
34+
```
35+
New Feature
36+
```
37+
38+
Such code will now render the badge and text without a space:
39+
40+
```
41+
NewFeature
42+
```
43+
44+
To fix this, you can add a space between the badge and the text:
45+
46+
```diff
47+
- <Badge text="New" />Feature
48+
+ <Badge text="New" /> Feature
49+
```
50+
51+
- [#2727](https://github.com/withastro/starlight/pull/2727) [`7c8fa30`](https://github.com/withastro/starlight/commit/7c8fa30f0ac2459c83b71a8a7b705b16dcf98d6f) Thanks [@techfg](https://github.com/techfg)! - Updates mobile menu toggle styles to display a close icon while the menu is open
52+
53+
### Patch Changes
54+
55+
- [#2927](https://github.com/withastro/starlight/pull/2927) [`c46904c`](https://github.com/withastro/starlight/commit/c46904c4a16cf1c7f4f895e42cb164474b2301b3) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Fixes an issue where overriding the [canonical URL](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel#canonical) of a page using the [`head` configuration option](https://starlight.astro.build/reference/configuration/#head) or [`head` frontmatter field](https://starlight.astro.build/reference/frontmatter/#head) would strip any other `<link>` tags from the `<head>`.
56+
57+
- [#2927](https://github.com/withastro/starlight/pull/2927) [`c46904c`](https://github.com/withastro/starlight/commit/c46904c4a16cf1c7f4f895e42cb164474b2301b3) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Fixes an issue where generated [canonical URLs](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel#canonical) would include a trailing slash when using the [`trailingSlash` Astro option](https://docs.astro.build/en/reference/configuration-reference/#trailingslash) is set to `'never'`.
58+
359
## 0.32.6
460

561
### Patch Changes

0 commit comments

Comments
 (0)