---
title: "Bun v1.1.27"
description: "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."
url: "https://swe.quest/articles/bun-v1-1-27-a8cf9cc05fdad9ea"
canonical: "https://bun.com/blog/bun-v1.1.27"
source: "Bun"
published: "2024-09-07"
difficulty: "medium"
kind: "Release"
reading_minutes: 10
tags: ["javascript","runtimes","performance"]
---

# Bun v1.1.27

A post on [Bun](https://swe.quest/sources/bun.md), published 2024-09-07, 10 min read, Release. Original: [https://bun.com/blog/bun-v1.1.27](https://bun.com/blog/bun-v1.1.27)

## Summary

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. It adds \`bun pm pack\` as an npm pack replacement and extends Bun.serve() with static routes, streaming request/response clone(), ReadableStream cancel on abort, per-request timeouts, and a faster buffered-body path (65k vs 29k req/s). Fixes explain several root causes: signal propagation in \`bun run\`, a strong Promise reference leaking memory in Request, and missing V8-style handle scopes in N-API, which let JavaScriptCore's stack-scanning GC free heap-allocated values early.

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)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## 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))
- Web Streams API

## Keywords

Bun, node:zlib, Bun.serve, N-API, JavaScriptCore, ReadableStream, bun pm pack

## Related posts

- [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.
- [Bun v1.1.8](https://swe.quest/articles/bun-v1-1-8-72b84da88fe769f5.md): Bun · 2024-05-10 · Medium · 6 min read · JavaScript, Runtimes & VMs
  Bun v1.1.8 fixes 54 bugs and adds support for process.on("uncaughtException") and process.on("unhandledRejection"), Brotli compression in node:zlib (which also restores axios compatibility), and \[Symbol.dispose\] on Bun.spawn, Bun.serve, Bun.connect and Bun.listen for use with the \`using\` syntax.
- [Bun v0.3.0](https://swe.quest/articles/bun-v0-3-0-ce34b4df06ef614a.md): Bun · 2022-12-07 · Medium · 8 min read · JavaScript, Runtimes & VMs, Performance engineering
  Bun v0.3.0 focuses on stability and Node.js/Web API compatibility, cutting memory use 3-5x under load by scheduling garbage collection in coordination with the event loop and speeding up TextEncoder.encodeInto() 3x via simdutf.
- [Bun v1.1.21](https://swe.quest/articles/bun-v1-1-21-557c16e13cb74793.md): Bun · 2024-07-27 · Medium · 11 min read · JavaScript, Runtimes & VMs, Performance engineering, Build systems
  Bun v1.1.21 fixes 72 bugs and speeds up gzip/deflate decompression in fetch() by 30% on Linux x64 by switching to libdeflate, which also speeds up the WebSocket server.
- [Bun v1.1.22](https://swe.quest/articles/bun-v1-1-22-2b177fc67a458073.md): Bun · 2024-08-07 · Medium · 11 min read · JavaScript, Runtimes & VMs, Performance engineering, Build systems
  Bun v1.1.22 fixes 79 bugs and makes Express 3x faster than on Node.js through node:http improvements.

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)
