Skip to content

v0.15.0

Choose a tag to compare

@thejackshelton thejackshelton released this 19 Sep 20:10
· 199 commits to main since this release

Highlights

  • The formatter now settles its output: one oxc-tsrx-fmt --write leaves nothing for --check to find. With the default objectWrap: "preserve", an object literal the first pass broke was read as an authored expansion by the next pass, and an enclosing member chain could change layout (#93, upstream oxc#23852, fix proposed in oxc#26851). A changed file is parsed once more and formatted again only when an object that was written flat came out expanded; already-formatted input costs nothing extra. pass_count and check_parse_count join the format metadata.
  • A comment written inside a dynamic closing tag's braces (</{Tag /* note */}>) is formatted as a comment child, {/* note */}, instead of coming back as JSX text.

compare changes

🔥 Performance

  • format: Run the settling pass only when a flat object literal expanded (dc2f461)

🩹 Fixes

  • format: Settle formatter output so one write leaves nothing for check (#93, 188c402)

📋 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.

  • site: pin wasm demo engine 7d8d2db (e81a099)
  • Merge pull request #97 from tsrx-org/site/wasm-pin-7d8d2db (595df54)
  • Merge pull request #96 from tsrx-org/release-v0.14.0 (d7beb67)
  • site: pin wasm demo engine d7beb67 (64200dc)
  • Merge pull request #98 from tsrx-org/site/wasm-pin-d7beb67 (9b6e9fc)
  • fix(format): settle formatter output so one write leaves nothing for check (#93) (188c402)
  • Merge pull request #99 from tsrx-org/fix/format-settle-pass (8754093)
  • site: pin wasm demo engine 8754093 (a3f31cf)
  • Merge pull request #100 from tsrx-org/site/wasm-pin-8754093 (742625f)
  • Merge pull request #101 from tsrx-org/fix/format-drift-probe (a8bdada)

❤️ Contributors