---
title: "Bun v0.8.0"
description: "Bun v0.8.0 adds a debugger via WebKit's Inspector Protocol (`--inspect` with a web UI at debug.bun.sh), a `bun update` command, streaming `fetch()` response bodies, and true streaming of ReadableStream responses in `Bun.serve()`, which previously buffered them. `node:tty` ReadStream/WriteStream and `process.stdin.setRawMode()` now work, unblocking interactive prompt libraries such as inquirer, and SvelteKit and the Nuxt dev server now run."
url: "https://swe.quest/articles/bun-v0-8-0-6b987fd4a933f802"
canonical: "https://bun.com/blog/bun-v0.8.0"
source: "Bun"
published: "2023-08-24"
difficulty: "medium"
kind: "Release"
reading_minutes: 11
tags: ["javascript","runtimes","developer-tools"]
---

# Bun v0.8.0

A post on [Bun](https://swe.quest/sources/bun.md), published 2023-08-24, 11 min read, Release. Original: [https://bun.com/blog/bun-v0.8.0](https://bun.com/blog/bun-v0.8.0)

## Summary

Bun v0.8.0 adds a debugger via WebKit's Inspector Protocol (\`--inspect\` with a web UI at debug.bun.sh), a \`bun update\` command, streaming \`fetch()\` response bodies, and true streaming of ReadableStream responses in \`Bun.serve()\`, which previously buffered them. \`node:tty\` ReadStream/WriteStream and \`process.stdin.setRawMode()\` now work, unblocking interactive prompt libraries such as inquirer, and SvelteKit and the Nuxt dev server now run. Other changes include Jest \`test.each\`/\`describe.each\`, a SIMD-optimized \`Buffer.toString("hex")\` that is 40x faster, and a fix for a DOMJIT crash in Buffer functions introduced by a JavaScriptCore upgrade. For fast streaming, \`type: "direct"\` ReadableStreams are still recommended for now.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Runtimes & VMs](https://swe.quest/tags/runtimes.md) (Compilers & runtimes)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

- JavaScript runtimes ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- Node.js APIs ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))

## Keywords

Bun, WebKit Inspector Protocol, SvelteKit, Nuxt, ReadableStream, JavaScriptCore, node:tty

## Related posts

- [Bun v0.2.0](https://swe.quest/articles/bun-v0-2-0-c0c3775be874dec7.md): Bun · 2022-10-13 · Medium · 5 min read · JavaScript, Runtimes & VMs, Performance engineering
  Bun v0.2.0 adds \`bun --hot\` for server-side hot reloading that preserves global state and in-flight HTTP requests, \`Bun.spawn\`/\`Bun.spawnSync\` for process spawning with flexible stdin sources and ReadableStream output, and streaming request bodies in \`Bun.serve\`.
- [Bun v1.3.12](https://swe.quest/articles/bun-v1-3-12-6739a38ec397eac1.md): Bun · 2026-04-09 · Medium · 18 min read · JavaScript, Runtimes & VMs, Performance engineering, Developer tools
  Bun v1.3.12 adds Bun.WebView, a built-in headless browser automation API with WebKit and Chrome (CDP) backends.
- [Bun v1.2.12](https://swe.quest/articles/bun-v1-2-12-c11b21fb9d378ec8.md): Bun · 2025-05-04 · Medium · 4 min read · JavaScript, Runtimes & VMs, Developer tools
  Bun v1.2.12 adds a \`--console\` flag (and \`development.console\` option in \`Bun.serve()\`) that streams browser console.log/error output to the terminal over the existing HMR WebSocket, prefixed with \`\[browser\]\`.
- [Bun v0.8.1](https://swe.quest/articles/bun-v0-8-1-ecd25e5146563167.md): Bun · 2023-08-26 · Medium · 6 min read · Runtimes & VMs, JavaScript, Performance engineering, Memory management
  Bun v0.8.1 adds unix domain socket support to Bun.serve() via a new \`unix\` option and fixes a 2.8x request-body throughput regression from v0.8.0 (about 38.6k to 110k req/s).
- [Bun v1.2.18](https://swe.quest/articles/bun-v1-2-18-58157b3ac1570ec2.md): Bun · 2025-07-03 · Medium · 13 min read · JavaScript, Runtimes & VMs, Performance engineering
  Bun v1.2.18 fixes 52 issues and adds ReadableStream .text()/.json()/.bytes()/.blob(), ReadableStream stdin for Bun.spawn, permessage-deflate compression for the WebSocket client, and Math.sumPrecise.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
