Skip to content

Releases: withastro/compiler

@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

@astrojs/[email protected]

08 Nov 09:27
1e421bf
Compare
Choose a tag to compare

Minor Changes

  • 0c24ea1: Add a new annotateSourceFile option. This option makes it so the compiler will annotate every element with its source file location. This is notably useful for dev tools to be able to provide features like a "Open in editor" button. This option is disabled by default.

    <div>
      <span>hello world</span>
    </div>

    Results in:

    <div data-astro-source-file="/Users/erika/Projects/..." data-astro-source-loc="1:1">
      <span data-astro-source-file="/Users/erika/Projects/..." data-astro-source-loc="2:2">hello world</span>
    </div>

    In Astro, this option is enabled only in development mode.

@astrojs/[email protected]

02 Nov 10:49
d6a4ba1
Compare
Choose a tag to compare

Patch Changes

  • bf76663: [TSX] Add ASTRO__MergeUnion util to allow destructuring from automatically inferred union Prop types

@astrojs/[email protected]

17 Oct 16:55
b99bc71
Compare
Choose a tag to compare

Patch Changes

  • a52c181: Fixed an issue where spread attributes could not include double quotation marks.

@astrojs/[email protected]

04 Oct 17:56
cebace1
Compare
Choose a tag to compare

Minor Changes

  • 7579d7c: Support CSS @starting-style rule (From: evanw/esbuild#3249)
  • 09abfe4: Adds ability for TSX output to automatically infer Astro.props and Astro.params when getStaticPaths is used

@astrojs/[email protected]

08 Sep 13:18
2169e80
Compare
Choose a tag to compare

Minor Changes

  • 2584348: Add propagation metadata to the TransformResult

@astrojs/[email protected]

23 Aug 20:54
a163db5
Compare
Choose a tag to compare

Patch Changes

  • 4e1e907: Remove experimental flags from transition: directives. They are now enabled by default.