Skip to content

Releases: withastro/compiler

@astrojs/[email protected]

21 Apr 20:00
020a38f

Choose a tag to compare

Patch Changes

  • 6f30e2e: Fix edge case with nested expression inside <>
  • 15e3ff8: Fix panic when using a <slot /> in head
  • c048567: Fix edge case with select elements and expression children
  • 13d2fc2: Fix #340, fixing behavior of content after an expression inside of 9e37a72: Fix issue when multiple client-only components are used 67993d5: Add support for block comment only expressions, block comment only shorthand attributes and block comments in shorthand attributes 59fbea2: Fix #343, edge case with inside component 049dadf: Fix usage of expressions inside caption and colgroup elements

@astrojs/[email protected]

02 Apr 16:38
3a222ae

Choose a tag to compare

Patch Changes

  • 1a82892: Fix bug with <script src> not being hoisted

@astrojs/[email protected]

02 Apr 15:58
e576701

Choose a tag to compare

Minor Changes

@astrojs/[email protected]

31 Mar 18:53
2cfd88d

Choose a tag to compare

Patch Changes

  • 014370d: Fix issue with named slots in element
  • da831c1: Fix handling of RegExp literals in frontmatter

@astrojs/[email protected]

21 Mar 19:56
6d7efba

Choose a tag to compare

Patch Changes

  • 2f8334c: Update parse and serialize functions to combine attributes and directives, fix issue with serialize not respecting attributes.
  • b308955: Add self-close option to serialize util

@astrojs/[email protected]

18 Mar 22:50
cf59ccd

Choose a tag to compare

Minor Changes

  • ce3f1a5: Update CSS parser to use esbuild, adding support for CSS nesting, @container, @layer, and other modern syntax features

Patch Changes

  • 24a1185: Parser: Always output the children property in an element node, even if it has no children

@astrojs/[email protected]

14 Mar 17:22
3b2d8b2

Choose a tag to compare

Patch Changes

  • 097ac47: Parser: Always output the attribute property in an element node, even if empty
  • ad62437: Add serialize util
  • eb7eb95: Parse: fix escaping of & characters in AST output

@astrojs/[email protected]

11 Mar 21:17
d695553

Choose a tag to compare

Minor Changes

  • c6dd41d: Do not render implicit tags created during the parsing process
  • c6dd41d: Remove "as" option, treats all documents as fragments that generate no implicit tags
  • c6dd41d: Add parse function which generates an AST
  • c6dd41d: Adds support for Astro.self (as accepted in the Recursive Components RFC).

Patch Changes

  • c6dd41d: Add fragment node types to AST definitions, expose Fragment helper to utils
  • c6dd41d: Adds metadata on client:only components
  • c6dd41d: Expose AST types via @astrojs/compiler/types
  • c6dd41d: Export ./types rather than ./types.d.ts
  • c6dd41d: Fix edge case with Fragment parsing in head, add fragment node to AST output
  • c6dd41d: Fix behavior inside of head
  • c6dd41d: Improve head injection behavior
  • ef0b4b3: Move typescript dependency to development dependencies, as it is not needed in the package runtime.
  • c6dd41d: Update exposed types
  • c6dd41d: Remove usage of escapeHTML util
  • c6dd41d: Export all types from shared types
  • c6dd41d: Fix head behavior and a bug related to ParseFragment
  • c6dd41d: Adds a warning when using an expression with a hoisted script

@astrojs/[email protected]

09 Mar 22:26
d751ade

Choose a tag to compare

Pre-release

Patch Changes

  • 95ec808: Fix behavior inside of head
  • 95ec808: Remove usage of escapeHTML util

@astrojs/[email protected]

02 Mar 01:07
9de7628

Choose a tag to compare

Pre-release

Patch Changes

  • 4497628: Improve head injection behavior