---
title: "Bun v1.0.29"
description: "Bun v1.0.29 adds Bun.stringWidth, a Zig/SIMD-implemented drop-in replacement for the string-width npm package that handles ANSI codes, fullwidth characters, graphemes and emoji across Latin1, UTF-16 and UTF-8."
url: "https://swe.quest/articles/bun-v1-0-29-6d8cc6b27e66b888"
canonical: "https://bun.com/blog/bun-v1.0.29"
source: "Bun"
published: "2024-02-23"
difficulty: "medium"
kind: "Release"
reading_minutes: 11
tags: ["javascript","runtimes","performance","testing"]
---

# Bun v1.0.29

A post on [Bun](https://swe.quest/sources/bun.md), published 2024-02-23, 11 min read, Release. Original: [https://bun.com/blog/bun-v1.0.29](https://bun.com/blog/bun-v1.0.29)

## Summary

Bun v1.0.29 adds Bun.stringWidth, a Zig/SIMD-implemented drop-in replacement for the string-width npm package that handles ANSI codes, fullwidth characters, graphemes and emoji across Latin1, UTF-16 and UTF-8. Benchmarks show it running 48x to 137,623x faster than the package, about 6,756x for 500-char ASCII input. The release also adds expect().toBeOneOf() in bun:test and advanced redirects (2\>&1, &\>, 2\>\>) in Bun Shell. Fixes include a napi memory leak affecting Prisma (1720 MB to 275 MB), bcrypt verification of passwords over 72 characters (now SHA-512 prehashed consistently with hash), bunx update checks, and pre-release semver resolution in bun install.

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)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)

## Prerequisites

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

## Keywords

Bun, Bun.stringWidth, string-width, bun:test, Bun Shell, bunx, Prisma, bcrypt

## Related posts

- [Bun v1.1.16](https://swe.quest/articles/bun-v1-1-16-73af18d20e38e0ab.md): Bun · 2024-06-23 · Medium · 6 min read · JavaScript, Runtimes & VMs, Testing, Build systems
  Bun v1.1.16 fixes 41 bugs and adds lcov output for \`bun test --coverage\`, configurable in bunfig.toml.
- [Bun v0.6.8](https://swe.quest/articles/bun-v0-6-8-d3a463075fc8738e.md): Bun · 2023-06-09 · Medium · 7 min read · JavaScript, Testing, Runtimes & VMs, Cryptography
  Bun v0.6.8 adds a built-in Bun.password API for argon2 (default) and bcrypt password hashing.
- [Bun v1.2.1](https://swe.quest/articles/bun-v1-2-1-aab3e8d9e0004536.md): Bun · 2025-01-27 · Medium · 7 min read · JavaScript, Runtimes & VMs, Memory management, Zig
  Bun v1.2.1 fixes 32 bugs and adds S3 storage class support, X25519 key generation in crypto.generateKeyPair, Node's --zero-fill-buffers flag, indented inline snapshots in bun test, and a bunfig option to disable minification for HTML imports.
- [Bun v1.3.7](https://swe.quest/articles/bun-v1-3-7-c2527b00781a4168.md): Bun · 2026-01-27 · Medium · 20 min read · JavaScript, Runtimes & VMs, Performance engineering, Developer tools
  Bun v1.3.7 upgrades JavaScriptCore, which brings faster async/await (35%), Array.from, padStart/padEnd, array.flat and better ARM64 codegen using ccmp/ccmn chains.
- [Bun v1.1.7](https://swe.quest/articles/bun-v1-1-7-443b16215b4eb538.md): Bun · 2024-05-03 · Medium · 7 min read · JavaScript, Runtimes & VMs, Debugging
  Bun v1.1.7 fixes 28 bugs and adds glob patterns in package.json workspaces (via Bun.Glob), asymmetric matcher support in expect.extend's this.equals, and a working bunx --version.

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)
