Bun bun-v0.5.7stable Released Feb 24, 2023
Impact Score: 5/10

Bun v0.5.7

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.5.7. Source highlight: **Read Bun v0.5.7's release notes on Bun's blog**

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 (6)

  • [WIP] feat(napi): add `napi-fatal-exception`
  • feat(napi): add `napi_get_value_bigint_words`
  • Add dynamic port assigning to Bun.serve
  • feat(fetch) AbortSignal
  • allow `bun add` of packages with capital letters
  • feat(node/os): implement `os.machine()`

โšก Performance & Enhancements (1)

  • [install] improve `package.json` validation

๐Ÿ”ง Bug Fixes & Patches (6)

  • [streams] fix byte accounting
  • [install] fix flaky tests
  • fix assertion failure
  • [install] fix duplicate check on `peerDependencies`
  • fix(string_immutable): fix `toUTF16Alloc` for bindgen
  • Fix PATH setup in macOS setup instructions
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
**[Read Bun v0.5.7's release notes on Bun's blog](https://bun.sh/blog/bun-v0.5.7)** To install: ```bash curl https://bun.sh/install | bash # or you can use npm # npm install -g bun ``` To upgrade: ```bash bun upgrade ``` <a href="https://bun.sh/blog/bun-v0.5.7"> <img height="390" src="https://user-images.githubusercontent.com/709451/220815500-39575f67-c3a6-4217-87e9-e74217103e64.png" /> </a> ## What's Changed * [streams] fix byte accounting by @alexlamsl in https://github.com/oven-sh/bun/pull/2029 * [simdutf] workaround validation OOB access by @alexlamsl in https://github.com/oven-sh/bun/pull/2031 * [install] fix flaky tests by @alexlamsl in https://github.com/oven-sh/bun/pull/2032 * fix assertion failure by @alexlamsl in https://github.com/oven-sh/bun/pull/2033 * drop ASCII double-scan and other minor clean-ups by @alexlamsl in https://github.com/oven-sh/bun/pull/2038 * [install] fix duplicate check on `peerDependencies` by @alexlamsl in https://github.com/oven-sh/bun/pull/2039 * fix(string_immutable): fix `toUTF16Alloc` for bindgen by @ThatOneBro in https://github.com/oven-sh/bun/pull/2042 * Fix PATH setup in macOS setup instructions by @ekzhang in https://github.com/oven-sh/bun/pull/2044 * Fix #631: bun add throwing JSON lexer bug by @jwhear in https://github.com/oven-sh/bun/pull/2041 * [WIP] feat(napi): add `napi-fatal-exception` by @ThatOneBro in https://github.com/oven-sh/bun/pull/2054 * fix segfault during non-install script execution by @alexlamsl in https://github.com/oven-sh/bun/pull/2045 * fix string corruption in FS entry cache by @alexlamsl in https://github.com/oven-sh/bun/pull/2055 * Return server on listen (node:http) by @michalwarda in https://github.com/oven-sh/bun/pull/2057 * [install] support `git://github.com/` dependencies by @alexlamsl in https://github.com/oven-sh/bun/pull/2059 * Implement `FormData` by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/2051 * feat(napi): add `napi_get_value_bigint_words` by @ThatOneBro in https://github.com/oven-sh/bun/pull/2061 * Add dynamic port assigning to Bun.serve by @michalwarda in https://github.com/oven-sh/bun/pull/2062 * fix(FormData): add string literal operator by @ThatOneBro in https://github.com/oven-sh/bun/pull/2064 * fix(FormData): make String explicit, thanks @dylan-conway by @ThatOneBro in https://github.com/oven-sh/bun/pull/2065 * Reject with error when invalid fetch() body by @ekzhang in https://github.com/oven-sh/bun/pull/2047 * [WIP] fix(node:fs): export `fs.ReadStream` and `fs.WriteStream` by @ThatOneBro in https://github.com/oven-sh/bun/pull/1798 * [install] improve `package.json` validation by @alexlamsl in https://github.com/oven-sh/bun/pull/2074 * [install] link network-delayed `.bin` scripts correctly by @alexlamsl in https://github.com/oven-sh/bun/pull/2076 * ED25519 WebCrypto by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/1971 * Fix 2063 by @jwhear in https://github.com/oven-sh/bun/pull/2079 * fix(webcrypto): fix ed25519 CryptoKey.algorithm by @ThatOneBro in https://github.com/oven-sh/bun/pull/2082 * feat(fetch) AbortSignal by @cirospaciari in https://github.com/oven-sh/bun/pull/2019 * Clarify and clean up macOS build process by @controversial in https://github.com/oven-sh/bun/pull/2087 * Fix #1516 by @jwhear in https://github.com/oven-sh/bun/pull/2089 * Implement `machine` for Linux by @jwhear in https://github.com/oven-sh/bun/pull/2088 * Support yarn-like `"workspaces"."packages": string[]` by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/2086 * allow `bun add` of packages with capital letters by @alexlamsl in https://github.com/oven-sh/bun/pull/2095 * Fix #2005 by @jwhear in https://github.com/oven-sh/bun/pull/2096 * [install] support git dependencies by @alexlamsl in https://github.com/oven-sh/bun/pull/2094 * Fix #1602 by @jwhear in https://github.com/oven-sh/bun/pull/2066 * use `bun.logger` instead of `bun.Output` by @alexlamsl in https://github.com/oven-sh/bun/pull/2099 * update `bun.lockb`s by @alexlamsl in https://github.com/oven-sh/bun/pull/2101 * feat(node/os): implement `os.machine()` by @sno2 in https://github.com/oven-sh/bun/pull/1378 * fix: Print URL as object in by @MichaReiser in https://github.com/oven-sh/bun/pull/2104 * Fix Deno SQLite benchmark by @mlafeldt in https://github.com/oven-sh/bun/pull/2112 * docs(bunx): add initial documentation to readme by @AgentEnder in https://github.com/oven-sh/bun/pull/2106 * Add mention of `bunx --bun` to `README` by @ThatOneBro in https://github.com/oven-sh/bun/pull/2114 * Update test runner output with colors and diffs by @dylan-conway in https://github.com/oven-sh/bun/pull/2122 * [install] support SCP-style `git` dependencies by @alexlamsl in https://github.com/oven-sh/bun/pull/2124 * Add runtime layer to run Bun on AWS Lambda by @Electroid in https://github.com/oven-sh/bun/pull/2009 * fix(child_process): match Node's promisified exec fn by @ThatOneBro in https://github.com/oven-sh/bun/pull/2128 * fix(child_process): import from primordials by @ThatOneBro in https://github.com/oven-sh/bun/pull/2132 * wiptest -> test by @dylan-conway in https://github.com/oven-sh/bun/pull/2131 * Fix glibc error in latest alpine by @WebReflection in https://github.com/oven-sh/bun/pull/2126 * format options and fix quote strings regression by @dylan-conway in https://github.com/oven-sh/bun/pull/2134 * Various type fixes by @colinhacks in https://github.com/oven-sh/bun/pull/2135 * feat(Request.signal) Initial support for signal in Request + fetch and Request + Bun.serve by @cirospaciari in https://github.com/oven-sh/bun/pull/2097 * feat(undici): add `undici.request` by @ThatOneBro in https://github.com/oven-sh/bun/pull/2136 * Update README.md by @beeburrt in https://github.com/oven-sh/bun/pull/2138 * Update README.md - Delete unnecessary selection by @N0N1m3 in https://github.com/oven-sh/bun/pull/2145 * fix illegal memory reference in `bun link` by @alexlamsl in https://github.com/oven-sh/bun/pull/2147 * Add documentation by @colinhacks in https://github.com/oven-sh/bun/pull/2148 ## New Contributors * @ekzhang made their first contribution in https://github.com/oven-sh/bun/pull/2044 * @controversial made their first contribution in https://github.com/oven-sh/bun/pull/2087 * @MichaReiser made their first contribution in https://github.com/oven-sh/bun/pull/2104 * @mlafeldt made their first contribution in https://github.com/oven-sh/bun/pull/2112 * @AgentEnder made their first contribution in https://github.com/oven-sh/bun/pull/2106 * @beeburrt made their first contribution in https://github.com/oven-sh/bun/pull/2138 * @N0N1m3 made their first contribution in https://github.com/oven-sh/bun/pull/2145 **Full Changelog**: https://github.com/oven-sh/bun/compare/bun-v0.5.6...bun-v0.5.7