Skip to content

Releases: withastro/compiler

@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

@astrojs/[email protected]

15 Dec 20:31
06c1033
Compare
Choose a tag to compare

Patch Changes

  • 56e1959: Fixes a memory reference error when an expression is the final node in a file

@astrojs/[email protected]

15 Dec 19:40
ee569ee
Compare
Choose a tag to compare

Patch Changes

  • 5b450df: Fixed an index out of range error when multibyte characters were rendered as markup
  • 852fc1b: Fix index out of range [0] error when there is a component before the <html> tag
  • 05ecaff: Fixes an issue where when there are nested expressions, subsequent content was incorrectly treated as plain text in some cases.
  • 8c0cffb: Fixes an issue causing index out of range errors when handling some multibyte characters like \u2028.

@astrojs/[email protected]

14 Nov 22:57
53bc69c
Compare
Choose a tag to compare

Patch Changes

  • 2bdb4bb: Revert table related parsing change as it resulted in a regression

@astrojs/[email protected]

14 Nov 15:20
a4e3c37
Compare
Choose a tag to compare

Patch Changes

  • e241f2d: Fix generated code for expressions within td elements
  • 5ce5cc6: Fix compact collapse for empty text nodes between elements