High PotentialStable

Bun 1.4.4: Try Built-In Formatting in One Package First

Bun adds a built-in formatter. Check whether it matches your current output before replacing a CI step.

What Changed

The formatter can read an existing Prettier or oxfmt configuration, so the first trial can use the same rules your team already reviews against. Import sorting and Tailwind class sorting have built-in support. A file type that still needs a Prettier plugin can fall back to the installed Prettier.

Checking types is a separate change. The build mode can reuse parsed declaration files across TypeScript projects, which is especially relevant if CI checks many packages one after another. Compare both speed and diagnostics with your existing checker before switching the command that blocks merges.

Release Highlights

  • Bun ships a formatter through bun fmt, so teams can try formatting without invoking a separate CLI.
  • The same release speeds up bun check. A formatting trial and a type-checking trial can be evaluated separately.
  • Use bun fmt --check to see which files would change without reformatting the branch.

What It Unlocks

A repository that already runs Bun can simplify its checks if the formatter preserves its conventions and the checker produces useful failures.

Who Should Try It

Bun projects with a dedicated formatter or a slow type-checking job.

When to Hold Off

Keep the current formatter if the new output churns files or omits rules the team relies on. Test the checker on its own if CI speed is the bigger problem.

What to Check First

  1. Use a scratch branch and run the formatter on one package. Inspect representative TypeScript and CSS diffs against your existing formatter.
  2. Time both check commands on the same checkout and seed a known type error. Compare what fails and what a reviewer sees in CI.

ShipFoundry for your project

Find the Bun Updates Worth Shipping

Add Bun to your project in ShipFoundry. See which releases are worth acting on, why they fit your stack, and what your coding agent should check first.

Start 7-Day Trial