To install:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bun
To upgrade:
bun upgrade
Read Bun v0.7.3's release notes on Bun's blog
What's Changed
- Update build-id by @Jarred-Sumner in #3940
- Fix thread safety issue in async fs functions file paths by @Jarred-Sumner in #3964
- feat(hot-clear-screen): clear terminal on hot reload by @simylein in #3976
- Fix types by @colinhacks in #3963
- [install] store resolved workspace path in lockfile by @alexlamsl in #3974
- Buffer.copy should ignore out-of-range sourceEnd by @buffaybu in #3971
- FFI typo by @paperdave in #3973
- [types] fix
blob.json()
by @alexlamsl in #3995 - [install] handle
workspace:*
correctly by @alexlamsl in #3994 - fix macro string escaping by @dylan-conway in #3967
- Support
--dev
/-D
and support dependency flags onbun install
by @colinhacks in #3989 - Remove Bun.plugin transpiler hook, encourage usage of
--preload
instead by @paperdave in #3987 - Fix(cli/init): support subpath entrypoint. by @Hanaasagi in #4002
- Implement --test-name-pattern by @paperdave in #3998
- feat: impl
dns.getServers
by @Hanaasagi in #3982 - Code coverage for
bun test
by @Jarred-Sumner in #3975 - Fixes #3129 by @Jarred-Sumner in #4018
New Contributors
Full Changelog: bun-v0.7.2...bun-v0.7.3