---
title: "Bun v1.1.13"
description: "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."
url: "https://swe.quest/articles/bun-v1-1-13-5296aa9cfb98f4b1"
canonical: "https://bun.com/blog/bun-v1.1.13"
source: "Bun"
published: "2024-06-05"
difficulty: "medium"
kind: "Release"
reading_minutes: 13
tags: ["javascript","runtimes","testing","networking","build-systems"]
---

# Bun v1.1.13

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

## Summary

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. Several fixes come with explanations of their cause. Concurrent \`fetch\` failures came from TCP FIN handling, now fixed by setting \`SO\_LINGER\` to 0 to avoid TIME\_WAIT socket exhaustion. A \`Last-Modified\` manifest-cache shortcut in \`bun install\` broke HTTP keep-alive and has been disabled. Stack-trace offsets were traced to how line and column numbers were read from JavaScriptCore. \`crypto.pbkdf2\` now uses BoringSSL instead of a JS polyfill, running about 30-40x faster than before and roughly 3x faster than Node.js. Other fixes cover semver parsing, npm manifest string deduplication and WebSocket server crashes.

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

## Prerequisites

- JavaScript runtimes ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- npm package management ([easy posts on Engineering management](https://swe.quest/tags/engineering-management.md?difficulty=easy))

## Keywords

Bun, bun install, bun:test, worker\_threads, BoringSSL, JavaScriptCore, SO\_LINGER, WebSocket

## Related posts

- [Bun v0.7.0](https://swe.quest/articles/bun-v0-7-0-d3096f46f4bdb50f.md): Bun · 2023-07-21 · Medium · 10 min read · JavaScript, Runtimes & VMs, Concurrency
  Bun v0.7.0 focuses on Node.js compatibility: it can now run \`vite dev\` (experimentally, via \`bun --bun\` to override the node shebang), supports Web \`Worker\` threads with \`postMessage\` and \`structuredClone()\`, and implements \`AsyncLocalStorage\` from \`node:async\_hooks\` as a step toward Next.js support.
- [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.0.22](https://swe.quest/articles/bun-v1-0-22-18af769c3ea29601.md): Bun · 2024-01-09 · Medium · 6 min read · JavaScript, Runtimes & VMs
  Bun v1.0.22 fixes 29 bugs, most notably a \`bun install\` failure on Vercel.
- [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.2.16](https://swe.quest/articles/bun-v1-2-16-2fbfbd468574713c.md): Bun · 2025-06-11 · Medium · 5 min read · JavaScript, Runtimes & VMs
  Bun v1.2.16 fixes 73 issues and adds 119 passing Node.js tests.

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)
