---
title: "Bun v1.1.7"
description: "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."
url: "https://swe.quest/articles/bun-v1-1-7-443b16215b4eb538"
canonical: "https://bun.com/blog/bun-v1.1.7"
source: "Bun"
published: "2024-05-03"
difficulty: "medium"
kind: "Release"
reading_minutes: 7
tags: ["javascript","runtimes","debugging"]
---

# Bun v1.1.7

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

## Summary

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. Several fixes come with root causes: a SIMD invalid memory access in Zig's std.mem.indexOfScalarPos crashing Windows startup, a misassumed 8-byte alignment of FILE\_DIRECTORY\_INFORMATION, threadlocal destructors running during std::quick\_exit with live Workers, an uninitialized C++ integer corrupting stacktrace line numbers, and a memory leak from unread Bun.serve() request bodies since v1.0.30. Smaller changes include WebSocket close code 1015 on TLS failures, a ServerWebSocket shrink from 32 to 24 bytes, and adding clang-analyzer to CI.

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)
- [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 workspaces

## Keywords

Bun, Zig, mimalloc, Bun Shell, bunx, Bun.Glob

## 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.17](https://swe.quest/articles/bun-v1-1-17-36691cca78554f0f.md): Bun · 2024-06-25 · Medium · 3 min read · JavaScript, Runtimes & VMs, Performance engineering, Zig
  Bun v1.1.17 fixes four bugs and makes two small macOS performance improvements.
- [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 v1.2.1](https://swe.quest/articles/bun-v1-2-1-aab3e8d9e0004536.md): Bun · 2025-01-27 · Medium · 7 min read · JavaScript, Runtimes & VMs, Memory management, Zig
  Bun v1.2.1 fixes 32 bugs and adds S3 storage class support, X25519 key generation in crypto.generateKeyPair, Node's --zero-fill-buffers flag, indented inline snapshots in bun test, and a bunfig option to disable minification for HTML imports.
- [Bun v1.2.2](https://swe.quest/articles/bun-v1-2-2-430cc9d4f8048e2e.md): Bun · 2025-02-01 · Medium · 8 min read · JavaScript, Runtimes & VMs, Memory management
  Bun v1.2.2 fixes 38 bugs and cuts idle JavaScript memory usage by 10–30% (28% for Next.js, 11% for Elysia).

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)
