---
title: "Bun v1.1.11"
description: "Bun v1.1.11 fixes 36 bugs, makes `bun update` write changes to package.json (preserving semver ranges unless `--latest`), and fixes incorrect peer dependency hoisting in `bun install` that broke packages like ajv and expo."
url: "https://swe.quest/articles/bun-v1-1-11-e2abf125ea0a0b79"
canonical: "https://bun.com/blog/bun-v1.1.11"
source: "Bun"
published: "2024-06-01"
difficulty: "medium"
kind: "Release"
reading_minutes: 9
tags: ["javascript","runtimes","performance","build-systems"]
---

# Bun v1.1.11

A post on [Bun](https://swe.quest/sources/bun.md), published 2024-06-01, 9 min read, Release. Original: [https://bun.com/blog/bun-v1.1.11](https://bun.com/blog/bun-v1.1.11)

## Summary

Bun v1.1.11 fixes 36 bugs, makes \`bun update\` write changes to package.json (preserving semver ranges unless \`--latest\`), and fixes incorrect peer dependency hoisting in \`bun install\` that broke packages like ajv and expo. Timers were reimplemented: \`setTimeout\` throughput is 5x faster on Linux (648 ms vs 3454 ms for 2M calls, beating Node.js 22's 1182 ms), callbacks now receive a \`Timeout\` object as \`this\`, \`setInterval\` reschedules from callback start like Node, and returned promises are no longer awaited. Other fixes include a macOS kqueue bug that assumed events were either readable or writable but not both, UDP hangs, Windows build and DNS issues, several fuzzing-found crashes, and a breaking change making \`bun test\` exit 1 on uncaught errors between tests.

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)
- [Build systems](https://swe.quest/tags/build-systems.md) (Engineering practices)

## Prerequisites

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

## Keywords

Bun, Node.js, bun install, setTimeout, kqueue, c-ares

## Related posts

- [Bun v0.1.12](https://swe.quest/articles/bun-v0-1-12-78431d37239a7e49.md): Bun · 2022-09-18 · Medium · 4 min read · JavaScript, Runtimes & VMs, Performance engineering, Concurrency, Debugging
  Bun v0.1.12 fixes stability problems in \`bun install\` that caused crashes or hangs roughly once per 80,000 cold package installs on Linux.
- [Bun v1.2.10](https://swe.quest/articles/bun-v1-2-10-b151a5b1f4be88e2.md): Bun · 2025-04-17 · Medium · 5 min read · JavaScript, Runtimes & VMs, Performance engineering, Testing
  Bun v1.2.10 is mostly a bugfix release (33 fixes). It fixes a pathological setImmediate slowdown when non-timer I/O was pending (a 100-iteration loop drops from 74s to 4ms), which makes next build about 10% faster on macOS, and caches the 34 HTTP method strings so request.method no longer allocates.
- [Bun v1.2.20](https://swe.quest/articles/bun-v1-2-20-d97fc960ddc0e406.md): Bun · 2025-08-10 · Medium · 10 min read · JavaScript, Runtimes & VMs, Testing, Build systems
  Bun v1.2.20 fixes 141 issues and cuts idle CPU usage by no longer over-scheduling the garbage collector.
- [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.0.7](https://swe.quest/articles/bun-v1-0-7-b09b1a042388dc2a.md): Bun · 2023-10-20 · Medium · 6 min read · JavaScript, Runtimes & VMs, Build systems
  Bun v1.0.7 fixes 59 bugs and adds support for optional peer dependencies in \`bun install\`, so packages marked optional in \`peerDependenciesMeta\` are no longer installed unless the root project lists them.

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)
