---
title: "Bun v0.5"
description: "Bun v0.5 adds npm workspaces support (installing the Remix monorepo in about 500ms, claimed 28x faster than npm), a Bun.dns lookup API backed by c-ares, node:readline, and socket support via node:net and node:tls that lets database drivers like Postgres.js, mysql2 and node-redis run for the first time."
url: "https://swe.quest/articles/bun-v0-5-b38dde54130b760c"
canonical: "https://bun.com/blog/bun-v0.5.0"
source: "Bun"
published: "2023-01-18"
difficulty: "medium"
kind: "Release"
reading_minutes: 7
tags: ["javascript","runtimes","build-systems"]
---

# Bun v0.5

A post on [Bun](https://swe.quest/sources/bun.md), published 2023-01-18, 7 min read, Release. Original: [https://bun.com/blog/bun-v0.5.0](https://bun.com/blog/bun-v0.5.0)

## Summary

Bun v0.5 adds npm workspaces support (installing the Remix monorepo in about 500ms, claimed 28x faster than npm), a Bun.dns lookup API backed by c-ares, node:readline, and socket support via node:net and node:tls that lets database drivers like Postgres.js, mysql2 and node-redis run for the first time. Performance changes include 10x faster Buffer instantiation by removing Object.setPrototypeOf from construction and 50x faster crypto.createHash by switching from pure JS to BoringSSL. Module resolution now ignores the package.json browser field and honors the node export condition, and the release adds HTTPS\_PROXY support, custom WebSocket handshake headers, more Jest-compatible test APIs, and many bun install fixes.

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)
- [Build systems](https://swe.quest/tags/build-systems.md) (Engineering practices)

## Prerequisites

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

## Keywords

Bun, npm workspaces, node:dns, node:net, node:tls, BoringSSL, c-ares, Postgres.js

## Related posts

- [Bun v1.2.16](https://swe.quest/articles/bun-v1-2-16-2fbfbd468574713c.md): Bun · 2025-06-11 · Medium · 5 min read · JavaScript, Runtimes & VMs
  Bun v1.2.16 fixes 73 issues and adds 119 passing Node.js tests.
- [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.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\`.
- [Bun v0.7.0](https://swe.quest/articles/bun-v0-7-0-d3096f46f4bdb50f.md): Bun · 2023-07-21 · Medium · 10 min read · JavaScript, Runtimes & VMs, Concurrency
  Bun v0.7.0 focuses on Node.js compatibility: it can now run \`vite dev\` (experimentally, via \`bun --bun\` to override the node shebang), supports Web \`Worker\` threads with \`postMessage\` and \`structuredClone()\`, and implements \`AsyncLocalStorage\` from \`node:async\_hooks\` as a step toward Next.js support.
- [Bun v1.0.10](https://swe.quest/articles/bun-v1-0-10-49e5b151965cc45d.md): Bun · 2023-11-07 · Medium · 5 min read · Runtimes & VMs, JavaScript, Performance engineering, Linux
  Bun v1.0.10 makes node:http 14% faster by building Node.js headers, rawHeaders and url strings directly in native code.

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)
