Releases: withastro/compiler
@astrojs/[email protected]
Minor Changes
-
59f7759: Support HTML element
Based on the recent commit history, this change appears to be related to fixing issue #1093 regarding selectedcontent parsing in customizable selects. The element is part of the new Customizable Select Element API
in HTML, used within elements to display the currently selected option(s). -
89c80fe: Adds a
walkAsync
utility function that returns a Promise from the tree traversal process.Unlike the existing
walk
function which doesn't provide a way to wait for traversal completion,walkAsync
allows consumers toawait
the full traversal of the AST.
Patch Changes
@astrojs/[email protected]
Patch Changes
- 950635e: Reverts a change where view transitions were made async to accomodate the CSP requirements.
@astrojs/[email protected]
@astrojs/[email protected]
Minor Changes
- e428ae0: Add head propagation metadata to server islands
@astrojs/[email protected]
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/[email protected]
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/[email protected]
@astrojs/[email protected]
Patch Changes
- f05a7cc: Adjust TSX output to return ranges using UTF-16 code units, as it would in JavaScript