Bun v1.3.5 introduces a new Bun.Terminal API for pseudo-terminal (PTY) support, enabling interactive terminal applications. The release adds compile-time feature flags for dead-code elimination in the bundler, improves Bun.stringWidth accuracy for Unicode and emoji, and implements V8 C++ value type checking APIs. It also adds Content-Disposition support for S3 uploads and fixes environment variable expansion in .npmrc files. The update addresses 32 issues including networking bugs (macOS kqueue CPU usage, HTTP proxy authentication), Windows-specific crashes (WebSocket with compression, bunx panics), Node.js compatibility improvements, TypeScript definition fixes, and security issues with trusted dependencies.

8m read timeFrom bun.com
Post cover image
Table of contents
Bun.Terminal API for pseudo-terminal (PTY) supportCompile-time Feature Flags for Dead-Code EliminationImproved Bun.stringWidth AccuracyV8 Value Type Checking APIsContent-Disposition support for S3 uploadsEnvironment Variable Expansion in .npmrc Quoted ValuesBug Fixes

Sort: