---
title: "Bun v1.0.26"
description: "Bun v1.0.26 fixes 30 bugs and adds multi-statement queries to bun:sqlite via db.run() and db.exec(), though not query or prepare. bun --watch now reliably closes file descriptors on reload, using close_range(2) on Linux and POSIX_SPAWN_CLOEXEC_DEFAULT on macOS, and resets signal handlers."
url: "https://swe.quest/articles/bun-v1-0-26-3ad49b25623332b4"
canonical: "https://bun.com/blog/bun-v1.0.26"
source: "Bun"
published: "2024-02-03"
difficulty: "medium"
kind: "Release"
reading_minutes: 6
tags: ["javascript","runtimes","sqlite","testing"]
---

# Bun v1.0.26

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

## Summary

Bun v1.0.26 fixes 30 bugs and adds multi-statement queries to bun:sqlite via db.run() and db.exec(), though not query or prepare. bun --watch now reliably closes file descriptors on reload, using close\_range(2) on Linux and POSIX\_SPAWN\_CLOEXEC\_DEFAULT on macOS, and resets signal handlers. Other fixes address Bun.FileSystemRouter failing past 64 routes (a JavaScriptCore inline-property assertion), V8 stack-trace API compatibility (undefined error.stack, negative CallSite line numbers, default Error.prepareStackTrace), toStrictEqual with deleted properties, and undrained microtask queues in websockets, spawn and IPC that caused memory growth. Windows support is targeted for February 15.

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)
- [SQLite](https://swe.quest/tags/sqlite.md) (Data & databases)
- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)

## Prerequisites

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

## Keywords

Bun, bun:sqlite, JavaScriptCore, V8 Stack Trace API, close\_range, bun:test, AbortController

## Related posts

- [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).
- [Bun v1.1.14](https://swe.quest/articles/bun-v1-1-14-d9093a5e7df90e79.md): Bun · 2024-06-19 · Medium · 11 min read · JavaScript, Runtimes & VMs, SQLite, Build systems, Debugging
  Bun v1.1.14 fixes 63 bugs and adds \`bun patch\`, which clones a dependency out of the global cache for local edits and saves the changes as a standard diff under \`patches/\` that \`bun install\` applies automatically. \`bun:sqlite\` gains \`query.as(Class)\` for prototype-based result mapping without constructors, a \`strict\` mode for unprefixed bindings, \`run()\` returning \`changes\` and \`lastInsertRowid\`, and \`safeIntegers\` for 64-bit BigInt results.
- [Bun v1.1.4](https://swe.quest/articles/bun-v1-1-4-9c82ce3f6902b04b.md): Bun · 2024-04-16 · Medium · 8 min read · JavaScript, Runtimes & VMs, Build systems, SQLite
  Bun v1.1.4 adds \`bun --filter\` for running workspace scripts in parallel across a monorepo using glob patterns, and makes \`bun install\` reinstalls up to 50% faster (1.54x on a 450 MB node\_modules) by moving deletion of old package files to a separate thread.
- [Bun v1.0.23](https://swe.quest/articles/bun-v1-0-23-0e9295dd9be6be9e.md): Bun · 2024-01-16 · Medium · 11 min read · JavaScript, Runtimes & VMs, SQLite, Build systems, Performance engineering
  Bun v1.0.23 adds importing SQLite databases via import attributes (\`with {type: "sqlite"}\`), with an \`embed: "true"\` option that bakes the database into \`bun build --compile\` single-file executables.
- [Bun v1.0.12](https://swe.quest/articles/bun-v1-0-12-7e77f90bbca6622e.md): Bun · 2023-11-16 · Medium · 12 min read · JavaScript, Runtimes & VMs, Testing, Developer tools
  Bun v1.0.12 fixes 24 bugs and adds \`bun -e\` for evaluating inline scripts (with TypeScript, JSX and top-level await), \`--env-file\` for choosing which .env files to load, \`server.url\`, \`import.meta.env\`, and \`expect.unreachable()\` in bun:test.

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)
