Skip to content

Commit d1ba06d

Browse files
[ci] release (#1024)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 9fb8d5d commit d1ba06d

File tree

4 files changed

+13
-15
lines changed

4 files changed

+13
-15
lines changed

.changeset/olive-melons-sleep.md

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

.changeset/yellow-cooks-deliver.md

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

packages/compiler/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @astrojs/compiler
22

3+
## 2.9.0
4+
5+
### Minor Changes
6+
7+
- 3e25858: Adds two new options to `convertToTSX`: `includeScripts` and `includeStyles`. These options allow you to optionally remove scripts and styles from the output TSX file.
8+
9+
Additionally this PR makes it so scripts and styles metadata are now included in the `metaRanges` property of the result of `convertToTSX`. This is notably useful in order to extract scripts and styles from the output TSX file into separate files for language servers.
10+
11+
- 9fb8d5d: Adds `serverComponents` metadata
12+
13+
This adds a change necessary to support server islands. During transformation the compiler discovers `server:defer` directives and appends them to the `serverComponents` array. This is exported along with the other metadata so that it can be used inside of Astro.
14+
315
## 2.8.2
416

517
### Patch Changes

packages/compiler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "module",
66
"bugs": "https://github.com/withastro/compiler/issues",
77
"homepage": "https://astro.build",
8-
"version": "2.8.2",
8+
"version": "2.9.0",
99
"scripts": {
1010
"build": "tsup"
1111
},

0 commit comments

Comments
 (0)