Releases: withastro/compiler-rs
Releases · withastro/compiler-rs
v0.2.2
Version Packages (#44)
@astrojs/compiler-rs@0.2.2
Patch Changes
- 6133672: Improved diagnostics when Astro sees a stray closing tag. Now Astro correctly shows the closing tag that doesn't match an open tag.
- 23038db: Fixes
compact: 'jsx'stripping significant same-line whitespace. JSX whitespace is now only trimmed where it borders a line break (matching React/Babel's rules), so a space at a text/expression, text/element, or element/element boundary is preserved.<h1>Page {n}</h1>now keeps its space (Page 1), as does<span>hello</span> <em>world</em>. Whitespace adjacent to newlines is still collapsed. - Updated dependencies [6133672]
- Updated dependencies [23038db]
- @astrojs/compiler-binding@0.2.2
@astrojs/compiler-binding@0.2.2
Patch Changes
- 6133672: Improved diagnostics when Astro sees a stray closing tag. Now Astro correctly shows the closing tag that doesn't match an open tag.
- 23038db: Fixes
compact: 'jsx'stripping significant same-line whitespace. JSX whitespace is now only trimmed where it borders a line break (matching React/Babel's rules), so a space at a text/expression, text/element, or element/element boundary is preserved.<h1>Page {n}</h1>now keeps its space (Page 1), as does<span>hello</span> <em>world</em>. Whitespace adjacent to newlines is still collapsed.
v0.2.1
Version Packages (#41)
@astrojs/compiler-rs@0.2.1
Patch Changes
- eddd417: Fixes CSS scoping incorrectly adding a scope to
&::pseudo-elementselectors (e.g.&::marker,&::before) and to selectors that only reference&inside:is()/:where()/:not()/:has(). - f4adcce: Fixes
Unterminated string literalerror when a quoted attribute on a component contains literal newlines (e.g. multi-lineclass). - ecb43d3: Fixes JSX not being transformed inside function declarations, class declarations and expressions,
throwstatements, andfor-loop initializers. - Updated dependencies [eddd417]
- Updated dependencies [f4adcce]
- Updated dependencies [ecb43d3]
- @astrojs/compiler-binding@0.2.1
@astrojs/compiler-binding@0.2.1
Patch Changes
- eddd417: Fixes CSS scoping incorrectly adding a scope to
&::pseudo-elementselectors (e.g.&::marker,&::before) and to selectors that only reference&inside:is()/:where()/:not()/:has(). - f4adcce: Fixes
Unterminated string literalerror when a quoted attribute on a component contains literal newlines (e.g. multi-lineclass). - ecb43d3: Fixes JSX not being transformed inside function declarations, class declarations and expressions,
throwstatements, andfor-loop initializers.
v0.2.0: Version Packages (#32)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@astrojs/compiler-rs@0.2.0
Minor Changes
- 0726e00: Emit
templateEnter/templateExitinstructions when printing<template>elements for withastro/astro#15980
Patch Changes
@astrojs/compiler-binding@0.2.0
Minor Changes
- 0726e00: Emit
templateEnter/templateExitinstructions when printing<template>elements for withastro/astro#15980
Patch Changes
- 0bddba4: Fixes
Unexpected tokenerror when an HTML attribute has an unquoted value such as a number (<input maxlength=255>) or contains characters like-or#.
v0.1.10: Version Packages (#30)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>