Skip to content

Releases: withastro/compiler

@astrojs/compiler@2.12.2

09 Jun 08:52
ab9b285
Compare
Choose a tag to compare

Patch Changes

  • 950635e: Reverts a change where view transitions were made async to accomodate the CSP requirements.

@astrojs/compiler@2.12.1

07 Jun 05:37
3fd20b0
Compare
Choose a tag to compare

Patch Changes

  • 138c07f: Improves detection of function body opening curly brace for exported functions.
  • 4a967ab: Fixes a bug where view transition names got lost after update to Astro 5.9

@astrojs/compiler@2.12.0

01 May 11:54
394ef06
Compare
Choose a tag to compare

Minor Changes

  • e428ae0: Add head propagation metadata to server islands

@astrojs/compiler@2.11.0

12 Mar 09:31
29c596f
Compare
Choose a tag to compare

Minor Changes

  • 0399d55: Add an experimental flag experimentalScriptOrder that corrects the order styles & scripts are rendered within a component. When enabled, the order styles & scripts are rendered will be consistent with the order they are defined.

Patch Changes

  • c758d7e: Add async properly when await used inside fragment

@astrojs/compiler@2.10.4

08 Feb 10:19
f167a98
Compare
Choose a tag to compare

Patch Changes

  • 8cae811: Fixes an issue with the conditional rendering of scripts.

    This change updates a v5.0 breaking change when experimental.directRenderScript became the default script handling behavior. If you have already successfully upgraded to Astro v5, you may need to review your script tags again and make sure they still behave as desired after this release. See the v5 Upgrade Guide for more details.

  • 970f085: Fixes an issue when parsing elements inside foreign content (e.g. SVG), when they were inside an expression

  • 6b6a134: Fixes a bug caused by having an extra space in the fragment tag in the TSX output

@astrojs/compiler@2.10.3

14 Aug 11:26
71fb3ef
Compare
Choose a tag to compare

Patch Changes

  • 5d0023d: Fixes sourcemapping for CRLF line endings wrongfully including the last character
  • f55a2af: Resolves an issue where the class:list directive was not correctly merging with the class attribute.

@astrojs/compiler@2.10.2

06 Aug 16:07
1c01c72
Compare
Choose a tag to compare

Patch Changes

  • f05a7cc: Adjust TSX output to return ranges using UTF-16 code units, as it would in JavaScript

@astrojs/compiler@2.10.1

31 Jul 15:56
b9b0b6a
Compare
Choose a tag to compare

Patch Changes

  • 21b7b95: Revert the transformation of top-level returns into throws in TSX as it was buggy in numerous situations
  • af471f5: Fixes positions for extracted tags being wrong when using IncludeStyles and IncludeScripts set to false

@astrojs/compiler@2.10.0

30 Jul 12:43
f31a4ea
Compare
Choose a tag to compare

Minor Changes

  • 1d684b1: Adds detected language to extracted style tags in TSX

Patch Changes

  • 7fa6577: Transform top level returns into throws in the TSX output

@astrojs/compiler@2.9.2

17 Jul 17:50
2e95e17
Compare
Choose a tag to compare

Patch Changes

  • a765f47: Escape script tags with unknown types