---
title: "Bun v1.0.19"
description: "Bun v1.0.19 fixes 26 bugs and replaces bun-types with @types/bun, which re-exports the real @types/node to avoid type conflicts."
url: "https://swe.quest/articles/bun-v1-0-19-97f3853badb73f03"
canonical: "https://bun.com/blog/bun-v1.0.19"
source: "Bun"
published: "2023-12-22"
difficulty: "medium"
kind: "Release"
reading_minutes: 9
tags: ["javascript","runtimes","performance","testing","typescript"]
---

# Bun v1.0.19

A post on [Bun](https://swe.quest/sources/bun.md), published 2023-12-22, 9 min read, Release. Original: [https://bun.com/blog/bun-v1.0.19](https://bun.com/blog/bun-v1.0.19)

## Summary

Bun v1.0.19 fixes 26 bugs and replaces bun-types with @types/bun, which re-exports the real @types/node to avoid type conflicts. Timers get 4x higher throughput on Linux by swapping a timerfd-per-timer for a timer heap from libxev. Bun.spawnSync uses in-memory file descriptors instead of pipes for 50% faster large-output handling, and Bun.peek is 90x faster via a JavaScriptCore bytecode intrinsic. --frozen-lockfile now compares a hash of sorted package names and versions rather than filesystem input. The release also adds N-API fixes that let bcrypt and argon2 work, mock.module specifier resolution, and an embedded SQLite upgrade to 3.44.2.

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)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)
- [TypeScript](https://swe.quest/tags/typescript.md) (Languages)

## Prerequisites

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

## Keywords

Bun, @types/bun, libxev, JavaScriptCore, N-API, bun:test, bun:sqlite, timerfd

## Related posts

- [Bun v0.3.0](https://swe.quest/articles/bun-v0-3-0-ce34b4df06ef614a.md): Bun · 2022-12-07 · Medium · 8 min read · JavaScript, Runtimes & VMs, Performance engineering
  Bun v0.3.0 focuses on stability and Node.js/Web API compatibility, cutting memory use 3-5x under load by scheduling garbage collection in coordination with the event loop and speeding up TextEncoder.encodeInto() 3x via simdutf.
- [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.34](https://swe.quest/articles/bun-v1-1-34-d8b685a5be9be177.md): Bun · 2024-11-02 · Medium · 7 min read · JavaScript, Runtimes & VMs, Build systems
  Bun v1.1.34 fixes 64 bugs and adds Bun.randomUUIDv7() for sortable, database-friendly IDs, more aggressive garbage collection while idle in the event loop to cut memory in long-running processes, and Node-API type tagging (napi\_type\_tag\_object/napi\_check\_object\_type\_tag) that unblocks tree-sitter.
- [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.3.9](https://swe.quest/articles/bun-v1-3-9-b7a8e766ebce7857.md): Bun · 2026-02-08 · Medium · 8 min read · JavaScript, Runtimes & VMs, Performance engineering, Compilers
  Bun v1.3.9 adds \`bun run --parallel\` and \`--sequential\` for running package.json scripts with prefixed output across workspaces, along with Node-compatible HTTP/2 connection upgrades via \`net.Server\`, \`Symbol.dispose\` support for test mocks, \`NO\_PROXY\` handling for explicit proxies, \`--cpu-prof-interval\`, and ESM bytecode in \`--compile\`.

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)
