Skip to content

v0.21.0

Choose a tag to compare

@thejackshelton thejackshelton released this 14 Oct 20:08
· 49 commits to main since this release

compare changes

🩹 Fixes

  • format: Format a self-closing <style /> beside raw style payloads (#180)
  • format: Format an import inside a module block, as the TSRX parser accepts it (#181)
  • format: Keep a raw <script>/<style> payload stable across passes (#185)
  • format: Keep block comment indentation inside an @for body (#186)
  • format: Keep multi-line attribute strings inside control flow (#189)
  • format: Keep expression containers in @case and @default bodies (#191)
  • format: Only treat a quote glued to name= as an attribute string (2e841db)
  • format: See case body expression containers past comments (959bbc7)
  • format: Keep text slashes glued to a JSX text block comment (6f53783)
  • format: Keep a spacer before a JSX text comment on its own line (905fe9c)
  • format: Keep dynamic tag comments out of the closing tag (537b136)
  • format: Find dynamic tag edge comments with a forward scan (79c0a94)
  • format: Skip regex bodies when finding dynamic tag edge comments (70e2de0)
  • parser: Recognize Unicode line terminators before markup (9f8ac04)
  • parser: Honor Unicode breaks after expression controls (ce60180)
  • parser: Preserve Unicode trivia in template projections (2498d16)
  • parser: Handle Unicode breaks before parenthesized annotations (9b20fbf)
  • release: Build and verify musl parser addons on Alpine (f16b1cb)
  • release: Write musl build artifacts as the runner user (e90dad1)
  • format: Only treat name= quotes inside a JSX tag as attribute strings (59912ad)
  • format: Cover every comment position before a case body expression container (b99ec47)
  • parser: End index names and regex bodies at Unicode line terminators (fc42d31)
  • tsrx-core-compat: Honor preserveParens (#200)
  • format: Lex dynamic tag edge comments with the scanner's tokenizer (76f8bce)
  • parser: Parse a default import named source from an inline module (#201)
  • parser: Quote only inline module names after an import's from keyword (#207)
  • format: Find multi-line attribute strings with the scanner, not a byte heuristic (902ac3a)
  • toolchain: Pass the discovered Vite config to oxlint when Vite+ omits -c (1f845fd)
  • parser: Keep JSX-text line comments running past U+2028 and U+2029 (84646a1)
  • format: See U+2028 and U+2029 line breaks before case body expression containers (78e5583)
  • format: Record attribute strings that break with a bare CR (0982b34)

🏡 Chore

  • Disable Vercel Git deployments for website (#202)

✅ Tests

  • format: Restore test boundaries after merging the formatter fixes (96a37d7)
  • Raise the supported Vite+ lanes to audit-clean 0.3.2 and 0.3.3 (c3e7d5d)
  • Resolve the tsgolint the workspace pins, not whichever version pnpm hoisted (7547359)

🤖 CI

  • Fix clippy assert_is_empty across the workspace (1b717e8)

📋 Other changes

Commits changelogen could not classify, oldest first. They are here because a
release note that hides most of the history is not a release note.

  • Merge pull request #178 from tsrx-org/release-v0.20.0 (22aa5be)
  • site: pin wasm demo engine 22aa5be (d9f1d1e)
  • Merge pull request #179 from tsrx-org/site/wasm-pin-22aa5be (64918f6)
  • fix(format): format a self-closing <style /> beside raw style payloads (#180) (4c125f5)
  • fix(format): format an import inside a module block, as the TSRX parser accepts it (#181) (6af2bbb)
  • fix(format): keep a raw <script>/<style> payload stable across passes (#185) (ba9390c)
  • fix(format): keep block comment indentation inside an @for body (#186) (897edf9)
  • fix(format): keep multi-line attribute strings inside control flow (#189) (770b361)
  • fix(format): keep expression containers in @case and @default bodies (#191) (dea7d35)
  • chore: disable Vercel Git deployments for website (#202) (2702dd6)
  • Merge branch 'pr-183' into triage/batch-a (90eac17)
  • Merge branch 'pr-195' into triage/batch-a (070d37e)
  • Merge branch 'pr-184' into triage/batch-a (14c744c)
  • Merge branch 'pr-187' into triage/batch-a (20a21cf)
  • Merge branch 'pr-188' into triage/batch-a (31f0bff)
  • Merge branch 'pr-196' into triage/batch-a (ab74eea)
  • fix(tsrx-core-compat): honor preserveParens (#200) (67dc8ba)
  • fix(parser): parse a default import named source from an inline module (#201) (2cf6ff2)
  • fix(parser): quote only inline module names after an import's from keyword (#207) (2875253)
  • Merge pull request #208 from tsrx-org/ci/drift-2026-10-14 (b686857)
  • Merge branch 'triage/batch-a' into triage/batch-b (ef2cd8b)
  • Merge branch 'pr-190' into triage/batch-b (f6ee999)
  • Merge branch 'pr-192' into triage/batch-b (f42449f)
  • Merge branch 'pr-198' into triage/batch-b (9e1fc3b)
  • Merge branch 'pr-199' into triage/batch-b (61fdcba)
  • Merge branch 'pr-204' into triage/batch-b (df9b1d0)
  • Merge branch 'pr-206' into triage/batch-b (9e2cfa4)
  • Merge branch 'pr-207' into triage/batch-b (8f0bbe2)
  • Merge remote-tracking branch 'origin/fix/vite-plus-1-lint-config' into triage/batch-b (f520c47)
  • Merge remote-tracking branch 'origin/main' into fix-199 (510bc6d)
  • Merge branch 'fix-199' into triage/batch-b (c51599b)
  • Merge pull request #210 from tsrx-org/triage/batch-b (6c54e58)

❤️ Contributors