---
title: "Bun v1.1.37"
description: "Bun v1.1.37 fixes 62 bugs and adds realtime runtime error reporting in VSCode's Problems tab without a debugger, self-referencing package imports via the exports field, and npm_package_config_ and npm_lifecycle environment variables for bun run."
url: "https://swe.quest/articles/bun-v1-1-37-46bd1462fa31707f"
canonical: "https://bun.com/blog/bun-v1.1.37"
source: "Bun"
published: "2024-11-26"
difficulty: "medium"
kind: "Release"
reading_minutes: 7
tags: ["javascript","runtimes","developer-tools","memory-management"]
---

# Bun v1.1.37

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

## Summary

Bun v1.1.37 fixes 62 bugs and adds realtime runtime error reporting in VSCode's Problems tab without a debugger, self-referencing package imports via the exports field, and npm\_package\_config\_ and npm\_lifecycle environment variables for bun run. Notable fixes include an 8-byte-per-query Prisma memory leak caused by never freeing napi\_threadsafe\_function queues, a bun install crash on aliased dependencies after package manager state moved out of BSS, a Windows readline setRawMode bad cast, snapshot escaping of backticks and ${}, and a node:net regression breaking http2-wrapper. CSS parser and Bun.write error messages are also clearer.

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)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [Memory management](https://swe.quest/tags/memory-management.md) (Compilers & runtimes)

## Prerequisites

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

## Keywords

Bun, Prisma, Node-API, VSCode, napi\_threadsafe\_function, bun install

## Related posts

- [Bun v1.0.28](https://swe.quest/articles/bun-v1-0-28-97fe58815435c62a.md): Bun · 2024-02-19 · Medium · 3 min read · Runtimes & VMs, JavaScript, Testing
  Bun v1.0.28 is a small bugfix release fixing 6 bugs. A Prisma crash came from an incorrect napi\_create\_reference implementation that assumed only one napi reference per object, and an Astro v4.4 error came from calling \[Symbol.asyncIterator\] lazily in a ReadableStream's pull instead of immediately.
- [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 v0.6.7](https://swe.quest/articles/bun-v0-6-7-7c277e48946bb12b.md): Bun · 2023-06-02 · Medium · 4 min read · JavaScript, Runtimes & VMs
  Bun v0.6.7 fixes Node.js compatibility bugs in Node-API, node:http, undici, WebSocket, node:net and CommonJS/ESM interop, which lets Prisma, Discord.js and Puppeteer run in Bun.
- [Bun v1.0.24](https://swe.quest/articles/bun-v1-0-24-b6bb723c8a51261e.md): Bun · 2024-01-20 · Medium · 3 min read · JavaScript, Runtimes & VMs
  Bun v1.0.24 introduces Bun Shell, an experimental embedded shell language and interpreter for running cross-platform shell scripts from JavaScript and TypeScript via the $ template tag, with interop for fetch responses, files and line-by-line output.
- [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.

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)
