To upgrade:
bun upgrade
This release is mostly bug fixes.
Improved fish completions
- less noisy: no more file paths unless relevant and package executables are shown on
bun run
instead ofbun
- Before the description for a script was
"script"
, now it's the actual script - If the first part of the script is
NODE_OPTIONS=".*"
(or any variation ofNODE_OPTIONS
), it's stripped out from the description. This is slightly nicer for larger repos that set--max-heap-size
Bug fixes
- [bun run] Fix bug when running
bun run yarn
or a script that runsyarn --prod
- [bun run] Fix a bug with how quotes & spaces were being passed through
- [bun create] Fix npm install/yarn install for people using Volta (symlinks)
- [bun run] Fix invoking
node
when using Volta (symlinks) - [JSX parser] Match esbuild behavior for JSX multi-line string literals and improve test coverage
- [JSX parser] Fix regression with decoding JSX entities (e.g.
&
) and improve test coverage - [JS parser] Decode input as WTF-8 instead of UTF-8. Insert a unicode replacement character for invalid unicode codepoints. Amongst other things, this fixes an error that occurred on
require("faker")
- [installer] Auto-detect when an Apple Silicon device is running on Rosetta 2 and download the arm64 version instead
Full Changelog: bun-v0.0.44...bun-v0.0.45