Releases: withastro/compiler
Releases · withastro/compiler
@astrojs/[email protected]
@astrojs/[email protected]
@astrojs/[email protected]
Minor Changes
- a90d99e: Adds a new
renderScript
option to render non-inline script tags using arenderScript
function frominternalURL
, instead of stripping the script entirely
Patch Changes
@astrojs/[email protected]
Patch Changes
- c17734d: Rollbacks the dynamic slot generation feature to rework it
@astrojs/[email protected]
@astrojs/[email protected]
Patch Changes
- d071b0b: Fixes an issue which caused the hydration script of default exported components to fail loading in some cases.
@astrojs/[email protected]
Minor Changes
- db13db9: - Adds support for dynamic slots inside loops
- Fixes an issue where successive named slotted elements would cause a runtime error
- Fixes an issue in which if there was an implicit default slotted element next to named one, the former would get swallowed by the later.
@astrojs/[email protected]
Patch Changes
- 9938bc1: Fixes a sourcemap-related crash when using multibyte characters
@astrojs/[email protected]
Patch Changes
- 7a07089: Fixes a bug where expressions starting with whitespace, followed by anything else, weren't printed correctly.
@astrojs/[email protected]
Minor Changes
- 9ff6342: Return generated frontmatter and body ranges in TSX output
Patch Changes
- b52f7d1: Fixes an issue where unterminated quoted attributes caused the compiler to crash
- 24e2886: Fixes a regression that caused whitespace between elements in an expression to result invalid code
- c5bcbd0: Prefix TSX output with a JSX pragma to ensure proper types are used
- 4f74c05: Fixes an issue where HTML and JSX comments lead to subsequent content being incorrectly treated as plain text when they have parent expressions.
- cad2606: Fixes an issue where components with template literal attributes were printed with the name of the attribute as value.
- 14ccba5: Fixes an issue where a
tr
element which contained an expression would cause its parent table to swallow any trailing element inside said table - f9373f2: Fixes an issue where Astro fragments used inside a
table
element would cause lots of missing pieces of markup - 4de359b: Preserve whitespace in expressions
- fe2f0c8: Fixes an issue where
/
or*/
would cause prematurely closed comments in the tsx output