oxfmt_v0.73.0

oxc-project/oxcoxfmt_v0.73.0Oct 13, 2026by github-actions[bot]

Upgrading?

AI Summary

Focuses on improving Prettier migration capabilities and adding comprehensive support for the Astro language, including LSP integration. The release also addresses various formatting edge cases in CSS and JavaScript.

Key Highlights

  • Enhanced `--migrate prettier` with Astro support
  • New `associations` config option for language specification
  • Astro language support in LSP
  • Improved CSS-in-js placeholder handling
  • Fixes for symlinked config discovery

Breaking Changes

  • Improve `--migrate prettier` option
  • Add `oxc_formatter_toml` crate wrapping `oxc-toml`

New Features

  • Support `overrides[].parser` -> `associations[].language` migration
  • Support `associations` config
  • Show root config errors to LSP client
  • Support Astro language in LSP
  • Support Astro plugin in `--migrate prettier`

Full Release Notes

### 💥 BREAKING CHANGES

- 1ef2888 oxfmt: [**BREAKING**] Improve `--migrate prettier` (#27444) (leaysgur)
- c2e6d5f formatter_toml: [**BREAKING**] Add `oxc_formatter_toml` crate wrapping `oxc-toml` (#27365) (leaysgur)

### 🚀 Features

- ce4e8dc oxfmt: Support `overrides[].parser` -> `associations[].language` migration (#27475) (leaysgur)
- a495e82 oxfmt: Support `associations` config to specify language over filepath (#27437) (leaysgur)
- 77f8156 oxfmt/lsp: Show root config errors to LSP client (#26014) (Sysix)
- c1adce3 oxfmt/lsp: Support astro language (#27388) (leaysgur)
- 4f024a1 oxfmt: Support astro plugin in `--migrate prettier` (#27387) (leaysgur)
- 5db28fa oxfmt: Support Astro via `prettier-plugin-astro@1.x` (#27386) (leaysgur)

### 🐛 Bug Fixes

- 76ec31b formatter_css: Support css-in-js placeholders in property names and conditions (#27640) (leaysgur)
- 99bb268 formatter_css: Keep css-in-js placeholder as media type (#27639) (leaysgur)
- 372849e formatter: Fix crash on css-in-js comment containing interpolation (#27638) (leaysgur)
- da692b8 formatter: Wrap `export default class|function` consistently (#27628) (leaysgur)
- 21dee96 formatter: Keep parens around `TSInstantiationExpression` before ! and export (#27626) (leaysgur)
- b6eb914 oxfmt: Normalize symlink targets in CLI snapshots (#27498) (camc314)
- 5dae56f oxfmt/lsp: Return error on config resolving error (#26003) (Sysix)
- 676cc60 formatter/jsdoc: Preserve paragraphs by checking `@description` tag width (#27439) (leaysgur)
- 2349a31 oxfmt: Follow symlinked configs in discovery (#27389) (leaysgur)
- db360de oxfmt: Load svelte plugin for svelte-in-mdx-in-md (#27369) (leaysgur)
- 6e573f9 oxlint,oxfmt: Set stderr blocking (#27363) (leaysgur)
- d730fdd formatter_core: Leave blank frontmatter without dispatcher (#27359) (leaysgur)

### 📚 Documentation

- 4a28c91 formatter_css: Clarify `missed-semicolon-accepted` divergence (#27433) (leaysgur)
- 408d87f oxfmt: Simplify oxfmtrc docs (#27432) (leaysgur)
- 902e188 oxfmt: Update how `embeddedLanguageFormatting` option works (#27362) (leaysgur)
- 37b3c48 formatter_markdown: Fix DIVERGENCES.md examples and slug to match behavior (#27358) (leaysgur)

Related Repositories