Bun v1.3.7 fixes 91 issues and delivers major performance improvements: 50% faster Buffer.from(array), 35% faster async/await, 3x faster array.flat(), and 90% faster padStart/padEnd through a JavaScriptCore upgrade. New features include native JSON5 and JSONL parsers, Bun.wrapAnsi() (33-88x faster than wrap-ansi npm), heap and
Table of contents
Faster Buffer.from() with arraysJavaScriptCore upgradefetch now preserves header case when sending HTTP requestsBun.wrapAnsi() for ANSI-aware text wrappingMarkdown CPU Profile OutputHeap Profiling with --heap-profNative JSON5 SupportBun.JSONL for Streaming JSONL ParsingS3 presign() now supports contentDisposition and type optionsbun pm pack now respects changes to package.json from lifecycle scriptsnode:inspector Profiler APIFaster Buffer.swap16() and Buffer.swap64()Fixed: Bun.stringWidth - grapheme breaking with GB9c SupportNext.js 16 Cache Components compatibilityFixed: Multipart uploads with form-data + node-fetch@2 + fs.createReadStream() being truncatedreplMode option for Bun.TranspilerIncreased Maximum HTTP Header CountWebSocket URL Credentials SupportFaster JavaScript Built-insS3 contentEncoding Optionbun:ffi now respects C_INCLUDE_PATH and LIBRARY_PATH environment variablesDependency updatesBugfixes1 Comment
Sort: