Skip to content

@astrojs/compiler-rs@0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Jun 09:39
64111e1

Minor Changes

  • 7116c0c: The compiler now needs Node.js v22.12.0 a minimum version.
  • 7116c0c: The compiler now ships only ESM modules.

Patch Changes

  • 6bde0ca: Fixes backslashes being dropped from attribute values, such as <input pattern="^example\.com$" /> rendering as ^example.com$. Backslashes are now kept in element attributes, component props, and set:html.
  • 9abf779: Fix handling JSX in object literal
  • 0ec1a02: Fix :global() being silently ignored when its selector starts with a combinator
  • 6bde0ca: Fixes unquoted attribute values containing a / failing to compile, such as URLs like <a href=https://example.com/path> or root-relative paths like <img src=/logo.png>. Values containing =, quotes, or backticks are also no longer cut short.
  • Updated dependencies [6bde0ca]
  • Updated dependencies [6bde0ca]
    • @astrojs/compiler-binding@0.3.0