Skip to content

Releases: withastro/compiler

@astrojs/compiler@2.8.0

02 May 11:58
face554
Compare
Choose a tag to compare

Minor Changes

  • 17f8932: The WASM binaries for the compiler are now built using Go 1.22.

Patch Changes

  • e8b6cdf: Skips printing createAstro code if the Astro global is not referenced
  • ecd7e90: Skips printing async for component functions if await is not used

@astrojs/compiler@2.7.1

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/compiler@2.7.0

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/compiler@2.6.0

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/compiler@2.5.3

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

Patch Changes

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

@astrojs/compiler@2.5.2

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/compiler@2.5.1

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/compiler@2.5.0

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/compiler@2.4.2

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

Patch Changes

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

@astrojs/compiler@2.4.1

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.