---
title: "Bun v1.2.22"
url: https://daily.dev/posts/bun-v1-2-22-ptoglize2
source_url: https://bun.com/blog/bun-v1.2.22
type: article
source: "Bun"
published: 2025-09-14T13:04:13.233Z
updated: 2025-09-14T13:04:37.716Z
tags: ["webdev", "javascript", "nodejs", "bun"]
reading_time: 18
upvotes: 60
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Bun v1.2.22

**[Bun](https://daily.dev/sources/bun)** · 18 min read · 60 upvotes · 0 comments

## Summary

Bun v1.2.22 introduces async stack traces for better debugging, 240x faster postMessage and structuredClone for simple objects, and YAML stringify support. The release includes significant improvements to the MySQL adapter with affectedRows and lastInsertRowid support, better column type handling, and TLS connectivity. The bundler gains new minification optimizations, JSX side effects preservation, and an onEnd hook for plugins. Additional enhancements cover WebSocket subprotocol negotiation, Redis database selection, HTTP server idle connection management, event loop delay monitoring, and extensive Node.js compatibility fixes across child_process, crypto, N-API, and other modules.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://bun.com/blog/bun-v1.2.22>

## Similar posts on daily.dev

- [Bun v1.2.23](https://daily.dev/posts/bun-v1-2-23-rogxshgci) · Bun · 50 upvotes · 1 comments
- [Bun v1.3.1](https://daily.dev/posts/bun-v1-3-1-6ud9r04nj) · Bun · 51 upvotes · 2 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#javascript](https://daily.dev/tags/javascript), [#nodejs](https://daily.dev/tags/nodejs), [#bun](https://daily.dev/tags/bun)

[View this post on daily.dev](https://daily.dev/posts/bun-v1-2-22-ptoglize2)
