Skip to content

Releases: withastro/compiler

@astrojs/[email protected]

14 Mar 15:52
8e20866

Choose a tag to compare

Patch Changes

  • 348840b: Fix getStaticPaths export when used with a TypeScript type (#4929)
  • 8ed067e: Fix parse error for multiline export type using Unions or Intersections
  • 6354e50: Improve handling of self-closing tags returned from expression
  • 5a5f91d: Fix define:vars when used with a style attribute
  • b637e9a: Fix ignored form elements after a form element that contains an expression
  • 2658ed4: Correctly apply style when class and class:list are both used

@astrojs/[email protected]

01 Mar 15:15
6ecd2eb

Choose a tag to compare

Minor Changes

  • b2cfd00: Add teardown API to remove WASM instance after using the compiler

@astrojs/[email protected]

22 Feb 18:36
dc780da

Choose a tag to compare

Patch Changes

  • 2de6128: Preserve namespaced attributes when using expressions
  • af13f2d: Fix incorrect convertToTSX types. The function accepts filename, not sourcefile.
  • 5eb4fff: Compile set:html and set:text quoted and template literal attributes as strings

@astrojs/[email protected]

14 Feb 16:24
c1aedbf

Choose a tag to compare

Patch Changes

  • 6765f01: Fix attributes starting with : not being properly transformed in the TSX output

@astrojs/[email protected]

06 Feb 22:03
d9f763a

Choose a tag to compare

Minor Changes

  • a75824d: Allow passing through result to slot call

@astrojs/[email protected]

06 Feb 20:43
5918121

Choose a tag to compare

Patch Changes

  • 0c27f3f: Collapse multiple trailing text nodes if present

@astrojs/[email protected]

19 Jan 18:00
141dcc3

Choose a tag to compare

Patch Changes

  • 94b2c02: Prevent insertion of maybeRenderHead on hoisted scripts

@astrojs/[email protected]

18 Jan 21:18
d2b51cf

Choose a tag to compare

Major Changes

@astrojs/[email protected]

17 Jan 15:05
d9bb735

Choose a tag to compare

Minor Changes

  • 1adac72: Improve error recovery when using the transform function. The compiler will now properly reject the promise with a useful message and stacktrace rather than print internal errors to stdout.

Patch Changes

  • 68d3c0c: Fix edge case where export type could hang the compiler
  • ec1ddf0: Handle edge case with TypeScript generics handling and our TSX output
  • 23d1fc0: Ignore trailing whitespace in components

@astrojs/[email protected]

11 Jan 17:54
47e4cf4

Choose a tag to compare

Minor Changes

  • 2404848: Remove pathname option in favour of sourcefile option
  • 2ca86f6: Remove site and projectRoot options in favour of the astroGlobalArgs option
  • edd3e0e: Merge sourcefile and moduleId options as a single filename option. Add a new normalizedFilename option to generate stable hashes instead.
  • 08843bd: Remove experimentalStaticExtraction option. It is now the default.