---
title: "Bun v1.1.1"
description: "Bun v1.1.1 fixes 20 bugs, mostly in bun install on Windows. The causes include a race in the Zig standard library's retry-on-ERROR_DELETE_PENDING loop, mishandled ERROR_SHARING_VIOLATION from mismatched file sharing modes, a bunx cache invalidation bug that compared npm publish-time file creation dates, and git dependencies relying on a stale cwd file descriptor instead of `git -C`."
url: "https://swe.quest/articles/bun-v1-1-1-0a986921804883de"
canonical: "https://bun.com/blog/bun-v1.1.1"
source: "Bun"
published: "2024-04-04"
difficulty: "medium"
kind: "Release"
reading_minutes: 7
tags: ["javascript","runtimes","build-systems","debugging"]
---

# Bun v1.1.1

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

## Summary

Bun v1.1.1 fixes 20 bugs, mostly in bun install on Windows. The causes include a race in the Zig standard library's retry-on-ERROR\_DELETE\_PENDING loop, mishandled ERROR\_SHARING\_VIOLATION from mismatched file sharing modes, a bunx cache invalidation bug that compared npm publish-time file creation dates, and git dependencies relying on a stale cwd file descriptor instead of \`git -C\`. Bun Shell gains subshells and $0–$9 positional arguments, which fixes sharp installs on Windows. A JavaScriptCore upgrade brings faster RegExp, Float32Array and string operations, and error source previews are now truncated to 1024 bytes per line for minified code.

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

## Prerequisites

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

## Keywords

Bun, JavaScriptCore, Bun Shell, Windows, Zig, bunx, sharp

## Related posts

- [Bun v1.1.2](https://swe.quest/articles/bun-v1-1-2-414c241e93595dbb.md): Bun · 2024-04-06 · Easy · 4 min read · JavaScript, Runtimes & VMs, Developer tools
  Bun v1.1.2 focuses on Windows fixes: EBUSY errors when saving bun.lockb or running next dev/vite dev, caused by holding file handles open too long and requesting wrong permissions, are resolved. fs.watch on Windows was rewritten to deduplicate watched paths, and tarball extraction race conditions and invalid-filename handling were fixed.
- [Bun v1.1.3](https://swe.quest/articles/bun-v1-1-3-00e62e32c59d26f7.md): Bun · 2024-04-08 · Medium · 3 min read · JavaScript, Runtimes & VMs, Build systems, Performance engineering
  Bun v1.1.3 makes bun install up to 50% faster on Windows (about 1.6x in a hyperfine benchmark on a Next/SvelteKit project) by parallelizing some file copying and hardlinking.
- [Bun v1.1.7](https://swe.quest/articles/bun-v1-1-7-443b16215b4eb538.md): Bun · 2024-05-03 · Medium · 7 min read · JavaScript, Runtimes & VMs, Debugging
  Bun v1.1.7 fixes 28 bugs and adds glob patterns in package.json workspaces (via Bun.Glob), asymmetric matcher support in expect.extend's this.equals, and a working bunx --version.
- [Bun v1.0.32](https://swe.quest/articles/bun-v1-0-32-1109f83c2797523f.md): Bun · 2024-03-17 · Medium · 4 min read · JavaScript, Runtimes & VMs, Debugging
  Bun v1.0.32 fixes 13 bugs, several of them regressions from the I/O rewrite in v1.0.31 done in preparation for Windows support. bun install could hang in GitHub Actions because the active lifecycle-script counter was never decremented. --frozen-lockfile and --production still installed packages, and Bun Shell hung on && and || because a file descriptor was left open.
- [Bun v1.3.10](https://swe.quest/articles/bun-v1-3-10-809e937e8a78ed82.md): Bun · 2026-02-26 · Medium · 19 min read · JavaScript, Runtimes & VMs, Performance engineering, Build systems, TypeScript
  Bun v1.3.10 replaces its npm-based REPL with a native Zig REPL that supports top-level await, imports, history and tab completion.

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)
