---
title: "Bun v1.2.3"
description: "Bun v1.2.3 adds a zero-config frontend dev server (run `bun ./index.html` or glob multiple HTML files) with hot reloading and bundling, plus a built-in `routes` option for Bun.serve() with typed path params so frontend and backend run in one process."
url: "https://swe.quest/articles/bun-v1-2-3-b29be138300c9cc9"
canonical: "https://bun.com/blog/bun-v1.2.3"
source: "Bun"
published: "2025-02-22"
difficulty: "medium"
kind: "Release"
reading_minutes: 15
tags: ["javascript","runtimes","postgres","webassembly","frontend"]
---

# Bun v1.2.3

A post on [Bun](https://swe.quest/sources/bun.md), published 2025-02-22, 15 min read, Release. Original: [https://bun.com/blog/bun-v1.2.3](https://bun.com/blog/bun-v1.2.3)

## Summary

Bun v1.2.3 adds a zero-config frontend dev server (run \`bun ./index.html\` or glob multiple HTML files) with hot reloading and bundling, plus a built-in \`routes\` option for Bun.serve() with typed path params so frontend and backend run in one process. Bun.SQL gains the PostgreSQL simple query protocol via \`.simple()\`, a \`prepare: false\` option for PgBouncer transaction mode, array support, enforced tagged-template calls to prevent SQL injection, and fixes for idle timeouts, ReadyForQuery handling, memory leaks and TLS modes. WebAssembly startup and memory improve because JavaScriptCore's new IPInt interpreter runs Wasm in place instead of converting it to bytecode. Node.js compatibility also improves for Buffer, Node-API and node:fs in single-file executables.

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)
- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [WebAssembly](https://swe.quest/tags/webassembly.md) (Languages)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)

## Prerequisites

- JavaScript runtimes ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- PostgreSQL basics ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))

## Keywords

Bun, Bun.serve, Bun.SQL, JavaScriptCore, IPInt, Node-API, PgBouncer, React

## Related posts

- [Bun 1.3](https://swe.quest/articles/bun-1-3-14b383a02cc8854f.md): Bun · 2025-10-10 · Medium · 63 min read · JavaScript, Runtimes & VMs, Databases, Frontend, Developer tools
  Bun 1.3 turns Bun into a full-stack JavaScript runtime. Bun.serve() now includes a built-in frontend dev server with HMR and React Fast Refresh, parameterized routing, and standalone executables for full-stack apps.
- [Bun v1.2.19](https://swe.quest/articles/bun-v1-2-19-81c69ec42f42be6c.md): Bun · 2025-07-19 · Medium · 16 min read · JavaScript, Build systems, Developer tools, Testing, PostgreSQL
  Bun v1.2.19 adds pnpm-style isolated installs (\`--linker=isolated\`) for monorepos, \`bun update --interactive\`, \`bun pm pkg\` for editing package.json, \`bun why\` for tracing dependency chains, and a fixed dependency-group priority order.
- [Bun 1.2](https://swe.quest/articles/bun-1-2-646ed14b09e00278.md): Bun · 2025-01-22 · Medium · 56 min read · JavaScript, Runtimes & VMs, Cloud platforms, PostgreSQL, Performance engineering
  Bun 1.2 makes a major push on Node.js compatibility by porting thousands of files from the Node.js test suite into Bun's CI, with stubbed internal bindings and assertions on error name/code rather than message text.
- [Bun v1.2.22](https://swe.quest/articles/bun-v1-2-22-c985f96b20e06efe.md): Bun · 2025-09-14 · Medium · 16 min read · JavaScript, Runtimes & VMs, Build systems, MySQL, Debugging
  Bun v1.2.22 adds async stack traces that include awaited caller frames, a fast path making postMessage and structuredClone up to ~240x faster for plain objects of primitives, and Bun.YAML.stringify.
- [Bun v1.2.21](https://swe.quest/articles/bun-v1-2-21-6b251a5a24ec2faf.md): Bun · 2025-08-25 · Medium · 12 min read · JavaScript, Runtimes & VMs, Databases, Build systems, Supply chain security
  Bun v1.2.21 extends Bun.SQL into a unified, zero-dependency client for MySQL/MariaDB (via a driver written in Zig), SQLite and PostgreSQL using the same tagged-template API.

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)
