---
title: "Bun v1.2.11"
description: "Bun v1.2.11 fixes 62 bugs and adds process.ref/process.unref, util.parseArgs negative options (allowNegative) with process.argv defaulting, and a BUN_INSPECT_PRELOAD environment variable equivalent to --preload."
url: "https://swe.quest/articles/bun-v1-2-11-a6136f703ebcac71"
canonical: "https://bun.com/blog/bun-v1.2.11"
source: "Bun"
published: "2025-04-29"
difficulty: "medium"
kind: "Release"
reading_minutes: 5
tags: ["javascript","runtimes"]
---

# Bun v1.2.11

A post on [Bun](https://swe.quest/sources/bun.md), published 2025-04-29, 5 min read, Release. Original: [https://bun.com/blog/bun-v1.2.11](https://bun.com/blog/bun-v1.2.11)

## Summary

Bun v1.2.11 fixes 62 bugs and adds process.ref/process.unref, util.parseArgs negative options (allowNegative) with process.argv defaulting, and a BUN\_INSPECT\_PRELOAD environment variable equivalent to --preload. Google's Highway SIMD library now selects the best SIMD implementation at runtime, narrowing the gap between baseline and non-baseline builds, and inline sourcemap lexing is ~40% faster. Node.js compatibility work covers a reimplemented node:crypto KeyObject hierarchy with structuredClone support, HTTP/2 option validation, TLSSocket allowHalfOpen semantics and readline/promises error propagation. Fixes also land for minifier dead-code elimination in comma expressions, DevServer crashes and the PostgreSQL flush method.

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

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

## Keywords

Bun, Highway SIMD, Node.js, node:crypto, HTTP/2

## Related posts

- [Bun v1.3.9](https://swe.quest/articles/bun-v1-3-9-b7a8e766ebce7857.md): Bun · 2026-02-08 · Medium · 8 min read · JavaScript, Runtimes & VMs, Performance engineering, Compilers
  Bun v1.3.9 adds \`bun run --parallel\` and \`--sequential\` for running package.json scripts with prefixed output across workspaces, along with Node-compatible HTTP/2 connection upgrades via \`net.Server\`, \`Symbol.dispose\` support for test mocks, \`NO\_PROXY\` handling for explicit proxies, \`--cpu-prof-interval\`, and ESM bytecode in \`--compile\`.
- [Bun v1.0.10](https://swe.quest/articles/bun-v1-0-10-49e5b151965cc45d.md): Bun · 2023-11-07 · Medium · 5 min read · Runtimes & VMs, JavaScript, Performance engineering, Linux
  Bun v1.0.10 makes node:http 14% faster by building Node.js headers, rawHeaders and url strings directly in native code.
- [Bun v1.1.16](https://swe.quest/articles/bun-v1-1-16-73af18d20e38e0ab.md): Bun · 2024-06-23 · Medium · 6 min read · JavaScript, Runtimes & VMs, Testing, Build systems
  Bun v1.1.16 fixes 41 bugs and adds lcov output for \`bun test --coverage\`, configurable in bunfig.toml.
- [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.28](https://swe.quest/articles/bun-v1-1-28-8e190941a0fa10b3.md): Bun · 2024-09-18 · Medium · 4 min read · JavaScript, Runtimes & VMs
  Bun v1.1.28 fixes 40 bugs and adds compiling and running C directly from JavaScript to use native system libraries without a separate build step, a 30x faster \`path.resolve\`, and named pipe support on Windows.

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)
