<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/bun-v1-2-21-jdwzyttzb" -->

---
title: Bun v1.2.21 | daily.dev
description: 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...
canonical: https://daily.dev/posts/bun-v1-2-21-jdwzyttzb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Bun v1.2.21 | daily.dev
og:description: 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...
og:url: https://daily.dev/posts/bun-v1-2-21-jdwzyttzb
og:image: https://api.daily.dev/og/posts/JdWzyttzb.png
og:image:alt: Bun v1.2.21
og:image:width: 1200
og:image:height: 630
og:locale: 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

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 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)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Bun v1.2.21","url":"https://daily.dev/posts/bun-v1-2-21-jdwzyttzb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/bun-v1-2-21-jdwzyttzb"},"datePublished":"2025-08-25T11:58:22.342Z","dateModified":"2025-08-25T11:58:49.533Z","description":"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...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3612b48c19afa00e58a082f035a03abc?_a=AQAEulh","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/3612b48c19afa00e58a082f035a03abc?_a=AQAEulh","isAccessibleForFree":true,"articleSection":"Bun","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Bun","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/9d715eb44dae4d74a2cebd8871d91a0d","url":"https://daily.dev/sources/bun"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/bun-v1-2-21-jdwzyttzb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":48},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"javascript,sql,mysql,bun","timeRequired":"PT14M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Bun","item":"https://daily.dev/sources/bun"},{"@type":"ListItem","position":3,"name":"Bun v1.2.21"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/bun-v1-2-21-jdwzyttzb","comment":[{"@type":"Comment","text":"500x performance increase is brutal","datePublished":"2025-09-03T20:00:29.075Z","url":"https://daily.dev/posts/JdWzyttzb#c-AUR98ERu1","author":{"@type":"Person","name":"Anderson Ribeiro Lopes","url":"https://daily.dev/andersonribeirolopes","image":"https://avatars.githubusercontent.com/u/73368853?v=4"}}]}
```

