To install Bun v1.0.13:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bun
To upgrade to Bun v1.0.13:
bun upgrade
Read Bun v1.0.13's release notes on Bun's blog
What's Changed
- Add license information to package.json of bun-types by @mathiasrw in #7149
- Don't allocate new
"require"
and"resolve"
strings in CJS modules by @Jarred-Sumner in #7162 - Properly handle errors from
posix_spawn
by @Electroid in #7163 - Fix bug where
with
statements do not trigger CommonJS by @Jarred-Sumner in #7167 - Partially support
Object.create
inStats
withinnode:fs
by @Jarred-Sumner in #7168 - Fix the TypeError of
isValidTLSArray
for http by @HK-SHAO in #7154 - ensure
.bin
folder is created before linking binaries by @dylan-conway in #7166 - Implement process.report.getReport() by @Jarred-Sumner in #7171
- node:util core-js compat. fix by @jhmaster2000 in #7101
- fix require transpile by @dylan-conway in #7170
- Set umask once by @Jarred-Sumner in #7176
- Fix
napi_get_value_string_utf8
to match node by @oguimbal in #7175 - Change
Bun.serve({ fetch })
types to allowvoid
when using websockets by @Didas-git in #7160 - Stop swallowing errors from create_hash_table during the build [take 2] by @dottedmag in #7110
- Tweak napi PR by @Jarred-Sumner in #7177
- feat(http2) Client Support by @cirospaciari in #6761
- Output verbose logs when running in Github Action with debug mode by @Electroid in #7183
- choose correct resolved package for peer dependencies by @dylan-conway in #7192
New Contributors
- @HK-SHAO made their first contribution in #7154
- @oguimbal made their first contribution in #7175
- @Didas-git made their first contribution in #7160
Full Changelog: bun-v1.0.12...bun-v1.0.13