Changelog

oven-sh/bun · · 3 commits

Redirect retries and shell errors get fixed

Bun fixes redirect retry state loss, separates shell parse errors with newlines, and pins React experimental test installs.

HTTP redirects now preserve the original request on retries (robobund4f3c54)

Bun fixed a use-after-free and state corruption bug when a retried request had previously followed redirects. The retry path now restores the original URL, method, and headers before rescheduling, which matters for installs and other HTTP flows that must restart cleanly after transient failures.

Shell parse errors are now newline-separated (robobun1498d7b)

When multiple shell parse errors occur in one script, Bun now joins them with \n instead of concatenating them into one unreadable string. That makes ShellError.message and CLI output much clearer, and the new test covers the multi-error case.

Other misc changes

  • Pinned the bake test harness to a specific React experimental build to avoid breakage from the moving experimental tag.
  • Updated the React install cache key and shared package list in the bake harness.
  • Added regression coverage for redirect retry behavior in install tests.