To install:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bun
To upgrade:
bun upgrade
Read Bun v0.6.13's release notes on Bun's blog
What's Changed
- [install] handle
workspace:
specifier correctly by @alexlamsl in #3474 - fix: export
ClientRequest
andOutgoingMessage
as part of thenode:http
package by @stijnvanhulle in #3470 - implement perf_hooks.constants by @paperdave in #3476
- [jest] fix lifecycle hook execution order by @alexlamsl in #3461
- [test] skip private class fields in
expect.toEqual
by @dylan-conway in #3484 - Make HTTP Request struct use 8 bytes less memory by @Jarred-Sumner in #3483
- [WIP]Fix calling
Buffer.toString
with(offset, length, encoding)
by @Hanaasagi in #3467 - Use
BunString
inSystemError
by @Jarred-Sumner in #3485 - Make
buffer.toString("base64")
4x faster by @Jarred-Sumner in #3486 - Fix leak in fd by @Jarred-Sumner in #3487
- Fixes #3489 by @Jarred-Sumner in #3490
- fix zero length env var values by @paperdave in #3496
- [node:buffer] Implement
isUtf8
andisAscii
by @Jarred-Sumner in #3498 - Use fast path for Base64 in
btoa
by @Jarred-Sumner in #3504 - Set Content-Length to 0 when using fetch with an empty post/patch/etc body by @paperdave in #3503
- Support mocking
new Date()
&Date.now()
in bun:test by @Jarred-Sumner in #3501 - [tls] add socket parameter, setServername and ALPNprotocols support by @cirospaciari in #3457
- [fix] patch fs.watch sym link by @cirospaciari in #3481
- Allow zero length WebSocket client & server messages by @Jarred-Sumner in #3488
- [install] fix run-time module loading by @alexlamsl in #3510
- Add alias for readBigUInt64BE ... by @Hanaasagi in #3514
- [tls] fix servername by @cirospaciari in #3513
- use sengrid account on nodemailer test by @cirospaciari in #3517
New Contributors
- @stijnvanhulle made their first contribution in #3470
Full Changelog: bun-v0.6.12...bun-v0.6.13