Bun bun-v0.6.13stable Released Jul 04, 2023
Impact Score: 5/10

Bun v0.6.13

Source available โ€” automated, not human-reviewed

Component: bun ยท Channel: stable. Automated analysis, not a compatibility certification. How this works.

Analysis updated: 2026-11-01.

Compatibility not verified โ€” check source notes
๐Ÿ“„ .MD
โšก Executive Summary (TL;DR)

Bun bun-v0.6.13. Source highlight: curl https://bun.sh/install | bash

Who Does This Impact? (Role-Based Analysis)

๐Ÿ’ป Software Engineers & Devs

Check the source notes against the package and APIs you use before upgrading.

๐Ÿ“Š Product & Engineering Leads

Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.

โš™๏ธ DevOps & Security

Verify the target version, runtime requirements and rollback procedure in the official documentation.

โœจ New Features & Capabilities (2)

  • [tls] add socket parameter, setServername and ALPNprotocols support
  • Add alias for readBigUInt64BE ...

โšก Performance & Enhancements (1)

  • implement perf_hooks.constants

๐Ÿ”ง Bug Fixes & Patches (6)

  • fix: export `ClientRequest` and `OutgoingMessage` as part of the `node:http` package
  • [jest] fix lifecycle hook execution order
  • [WIP]Fix calling `Buffer.toString` with `(offset, length, encoding)`
  • Fix leak in fd
  • Fixes #3489
  • fix zero length env var values
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
To install: ```bash curl https://bun.sh/install | bash # or you can use npm # npm install -g bun ``` To upgrade: ```bash bun upgrade ``` **[Read Bun v0.6.13's release notes on Bun's blog](https://bun.sh/blog/bun-v0.6.13)** ## What's Changed * [install] handle `workspace:` specifier correctly by @alexlamsl in https://github.com/oven-sh/bun/pull/3474 * fix: export `ClientRequest` and `OutgoingMessage` as part of the `node: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` in `SystemError` 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` and `isAscii` 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