Skip to content

Commit

Permalink
[ci] release (#1024)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jul 16, 2024
1 parent 9fb8d5d commit d1ba06d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
7 changes: 0 additions & 7 deletions .changeset/olive-melons-sleep.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/yellow-cooks-deliver.md

This file was deleted.

12 changes: 12 additions & 0 deletions packages/compiler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @astrojs/compiler

## 2.9.0

### Minor Changes

- 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.

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.

- 9fb8d5d: Adds `serverComponents` metadata

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.

## 2.8.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"bugs": "https://github.com/withastro/compiler/issues",
"homepage": "https://astro.build",
"version": "2.8.2",
"version": "2.9.0",
"scripts": {
"build": "tsup"
},
Expand Down

0 comments on commit d1ba06d

Please sign in to comment.