Skip to content

Releases: withastro/compiler

@astrojs/[email protected]

01 Apr 13:44
c307b73
Compare
Choose a tag to compare

Patch Changes

  • 5467f40: Fix issue with head content being pushed into body
  • d587ca6: Adds warnings indicating that the data-astro-rerun attribute can not be used on an external module <script> and that data-astro-reload is only supported on <a>, <area> and <form> elements.

@astrojs/[email protected]

05 Mar 15:58
4eaa5a9
Compare
Choose a tag to compare

Minor Changes

  • 50fc0a9: Implement the transition:persist-props transformation

Patch Changes

  • f45dbfd: Updates deprecated Node.js 16 github actions.

@astrojs/[email protected]

21 Feb 19:51
8e2c357
Compare
Choose a tag to compare

Minor Changes

  • a90d99e: Adds a new renderScript option to render non-inline script tags using a renderScript function from internalURL, instead of stripping the script entirely

Patch Changes

  • 6ffa54b: Fix TSX output prefixing output with unnecessary jsdoc comment
  • 86221d6: Adds a lint rule to display a message when attributes are added to a script tag, explaining that the script will be treated as is:inline.

@astrojs/[email protected]

06 Feb 15:18
a7c48c6
Compare
Choose a tag to compare

Patch Changes

  • c17734d: Rollbacks the dynamic slot generation feature to rework it

@astrojs/[email protected]

31 Jan 01:28
d7f0835
Compare
Choose a tag to compare

Patch Changes

  • 418558c: Fixes an issue where a slotted element in an expression would cause subsequent ones to be incorrectly printed
  • db93975: Fixes an issue where an expression inside a th tag would cause an infinite loop

@astrojs/[email protected]

23 Jan 23:48
1457326
Compare
Choose a tag to compare

Patch Changes

  • d071b0b: Fixes an issue which caused the hydration script of default exported components to fail loading in some cases.

@astrojs/[email protected]

18 Jan 19:27
ed22138
Compare
Choose a tag to compare

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]

16 Jan 17:18
56ace04
Compare
Choose a tag to compare

Patch Changes

  • 9938bc1: Fixes a sourcemap-related crash when using multibyte characters

@astrojs/[email protected]

09 Jan 14:50
3909ab4
Compare
Choose a tag to compare

Patch Changes

  • 7a07089: Fixes a bug where expressions starting with whitespace, followed by anything else, weren't printed correctly.

@astrojs/[email protected]

04 Jan 19:11
83bef19
Compare
Choose a tag to compare

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