bun - bun-v0.6.13
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 https://github.com/oven-sh/bun/pull/3474 - fix: export
ClientRequest
andOutgoingMessage
as part of thenode:http
package by @stijnvanhulle in https://github.com/oven-sh/bun/pull/3470 - implement perf_hooks.constants by @paperdave in https://github.com/oven-sh/bun/pull/3476
- [jest] fix lifecycle hook execution order by @alexlamsl in https://github.com/oven-sh/bun/pull/3461
- [test] skip private class fields in
expect.toEqual
by @dylan-conway in https://github.com/oven-sh/bun/pull/3484 - Make HTTP Request struct use 8 bytes less memory by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3483
- [WIP]Fix calling
Buffer.toString
with(offset, length, encoding)
by @Hanaasagi in https://github.com/oven-sh/bun/pull/3467 - Use
BunString
inSystemError
by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3485 - Make
buffer.toString("base64")
4x faster by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3486 - Fix leak in fd by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3487
- Fixes #3489 by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3490
- fix zero length env var values by @paperdave in https://github.com/oven-sh/bun/pull/3496
- [node:buffer] Implement
isUtf8
andisAscii
by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3498 - Use fast path for Base64 in
btoa
by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3504 - Set Content-Length to 0 when using fetch with an empty post/patch/etc body by @paperdave in https://github.com/oven-sh/bun/pull/3503
- Support mocking
new Date()
&Date.now()
in bun:test by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3501 - [tls] add socket parameter, setServername and ALPNprotocols support by @cirospaciari in https://github.com/oven-sh/bun/pull/3457
- [fix] patch fs.watch sym link by @cirospaciari in https://github.com/oven-sh/bun/pull/3481
- Allow zero length WebSocket client & server messages by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3488
- [install] fix run-time module loading by @alexlamsl in https://github.com/oven-sh/bun/pull/3510
- Add alias for readBigUInt64BE ... by @Hanaasagi in https://github.com/oven-sh/bun/pull/3514
- [tls] fix servername by @cirospaciari in https://github.com/oven-sh/bun/pull/3513
- use sengrid account on nodemailer test by @cirospaciari in https://github.com/oven-sh/bun/pull/3517
New Contributors
- @stijnvanhulle made their first contribution in https://github.com/oven-sh/bun/pull/3470
Full Changelog: https://github.com/oven-sh/bun/compare/bun-v0.6.12...bun-v0.6.13
Details
date
July 4, 2023, 11:41 p.m.
name
Bun v0.6.13
type
Patch
official page
👇
Register or login to:
- 🔍View and search all bun releases.
- 🛠️Create and share lists to track your tools.
- 🚨Setup notifications for major, security, feature or patch updates.
- 🚀Much more coming soon!