---
title: "Bun v1.0.27"
description: "Bun v1.0.27 fixes 72 bugs and lets Bun Shell throw on non-zero exit codes via $.throws(true)."
url: "https://swe.quest/articles/bun-v1-0-27-1e8a7ef250bb34a9"
canonical: "https://bun.com/blog/bun-v1.0.27"
source: "Bun"
published: "2024-02-17"
difficulty: "medium"
kind: "Release"
reading_minutes: 6
tags: ["javascript","runtimes"]
---

# Bun v1.0.27

A post on [Bun](https://swe.quest/sources/bun.md), published 2024-02-17, 6 min read, Release. Original: [https://bun.com/blog/bun-v1.0.27](https://bun.com/blog/bun-v1.0.27)

## Summary

Bun v1.0.27 fixes 72 bugs and lets Bun Shell throw on non-zero exit codes via $.throws(true). Throwing becomes the default in v1.1, a breaking change. Response bodies can now be async generators, async iterables or Node.js Readable streams, which Bun converts internally to a ReadableStream; this also fixes empty pages in Astro v4.4. Other fixes cover Bun Shell escaping, Brotli "ShortRead" errors in fetch(), http2 client hangs, Bun.Glob \`\*\*\` matching, underscores in header names, async module mocks in bun:test, and a bun --watch ctrl+c regression on Linux. Windows support is close, with 85% of the test suite passing.

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)

## Prerequisites

- JavaScript async generators ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- Web Fetch API Response

## Keywords

Bun, Bun Shell, Bun.serve, bun:test, Astro, ReadableStream

## Related posts

- [Bun v1.0.30](https://swe.quest/articles/bun-v1-0-30-809370fb784e3d50.md): Bun · 2024-03-04 · Medium · 7 min read · JavaScript, Runtimes & VMs, Testing, Debugging
  Bun v1.0.30 fixes 27 bugs, including an 8x performance regression in Bun.serve() when a direct ReadableStream writes exactly one chunk in a single event-loop tick, introduced in v1.0.4.
- [Bun v1.4.1](https://swe.quest/articles/bun-v1-4-1-d28e00ae252842cf.md): Bun · 2026-09-04 · Medium · 38 min read · JavaScript, Runtimes & VMs, Performance engineering, Build systems, Networking
  Bun v1.4.1 fixes 202 issues and ships runtime, install and bundler improvements.
- [Bun v1.1.27](https://swe.quest/articles/bun-v1-1-27-a8cf9cc05fdad9ea.md): Bun · 2024-09-07 · Medium · 10 min read · JavaScript, Runtimes & VMs, Performance engineering
  Bun v1.1.27 fixes 130 bugs and rewrites node:zlib in native code, roughly doubling streaming deflate/gzip throughput over v1.1.26 and beating Node 22 on streams, though sync compression still trails Node.
- [Bun v1.1.13](https://swe.quest/articles/bun-v1-1-13-5296aa9cfb98f4b1.md): Bun · 2024-06-05 · Medium · 13 min read · JavaScript, Runtimes & VMs, Testing, Networking, Build systems
  Bun v1.1.13 fixes 97 bugs and adds \`eval: true\` for \`node:worker\_threads\`, \`URL.createObjectURL\` for spawning TypeScript workers from Blobs, custom failure messages in \`expect\`, and five new \`bun:test\` matchers.
- [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)
