---
title: "Bun v1.2.21"
url: https://daily.dev/posts/bun-v1-2-21-jdwzyttzb
source_url: https://bun.com/blog/bun-v1.2.21
type: article
source: "Bun"
published: 2025-08-25T11:58:22.342Z
updated: 2025-08-25T11:58:49.533Z
tags: ["javascript", "sql", "mysql", "bun"]
reading_time: 14
upvotes: 48
comments: 1
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.21

**[Bun](https://daily.dev/sources/bun)** · 14 min read · 48 upvotes · 1 comments

## Summary

Bun v1.2.21 introduces major features including unified SQL client support for MySQL, SQLite, and PostgreSQL through Bun.SQL, native YAML parsing, 500x faster string postMessage performance, and a native secrets manager for secure credential storage. The release adds executable compilation via Bun.build() API with cross-platform targets, Windows metadata embedding, and SIMD-accelerated ANSI escape removal. Package management improvements include security scanner API, enhanced audit filtering, optimized lockfile-only installs, and interactive update scrolling. The update fixes 69 issues with extensive Node.js compatibility improvements and bundler optimizations.

## 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.21>

## Community discussion

Top comments from developers on daily.dev.

**@andersonribeirolopes** · 0 upvotes

> 500x performance increase is brutal

## Similar posts on daily.dev

- [Bun JS toolkit adds MySQL driver, secrets API, YAML, more](https://daily.dev/posts/bun-js-toolkit-adds-mysql-driver-secrets-api-yaml-more-yoi7alfzf) · The Register · 1 upvotes · 0 comments
- [Bun v1.2.23](https://daily.dev/posts/bun-v1-2-23-rogxshgci) · Bun · 50 upvotes · 1 comments

---

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

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