---
title: "Bun v1.1.2"
description: "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."
url: "https://swe.quest/articles/bun-v1-1-2-414c241e93595dbb"
canonical: "https://bun.com/blog/bun-v1.1.2"
source: "Bun"
published: "2024-04-06"
difficulty: "easy"
kind: "Release"
reading_minutes: 4
tags: ["javascript","runtimes","developer-tools"]
---

# Bun v1.1.2

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

## Summary

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 Shell gains seq, yes, basename and dirname, bun install --production now works without a lockfile, and a WebKit upgrade makes \`{ ...obj }\` cloning about 5x faster (105ns to 20ns in a microbenchmark). A TypeScript \`infer ... extends\` parsing edge case was also fixed.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Runtimes & VMs](https://swe.quest/tags/runtimes.md) (Compilers & runtimes)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

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

## Keywords

Bun, JavaScriptCore, Bun Shell, fs.watch, bun install, Windows

## Related posts

- [Bun v1.1.1](https://swe.quest/articles/bun-v1-1-1-0a986921804883de.md): Bun · 2024-04-04 · Medium · 7 min read · JavaScript, Runtimes & VMs, Build systems, Debugging
  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 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.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.0.18](https://swe.quest/articles/bun-v1-0-18-9638e729e8d88398.md): Bun · 2023-12-14 · Medium · 5 min read · JavaScript, Runtimes & VMs, Linux, Testing
  Bun v1.0.18 fixes 27 bugs, including a process.stdin hang that froze create-vite and create-next-app at the second prompt.
- [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.

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)
