Best of Bun2025

  1. 1
    Article
    Avatar of collectionsCollections·24w

    Anthropic Acquires Bun to Enhance AI Coding Products' Performance and Stability

    Anthropic acquired Bun, the high-performance JavaScript runtime with 7 million monthly downloads and 83,000 GitHub stars. Despite $26 million in VC funding, Bun generated no revenue. The runtime will remain open source under MIT license and integrate into Anthropic's AI coding products like Claude Code and Claude Agent SDK. The acquisition provides Bun with resources to expand its team and accelerate development while supporting Anthropic's AI-driven development infrastructure, as Claude Code reaches $1 billion in run-rate revenue.

  2. 2
    Article
    Avatar of bunBun·22w

    Bun v1.3.5

    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.

  3. 3
    Video
    Avatar of awesome-codingAwesome·44w

    A clean and simple stack for modern web dev

    The BEVR stack combines Bun (runtime/package manager), Hono (backend framework), Vite (build tool), and React to create a modern web development setup. This stack offers faster package installation, lightweight backend APIs, instant frontend builds, and type-safe communication between client and server through shared TypeScript definitions in a monorepo structure. The setup provides flexibility for deployment, allowing both bundled and separate hosting options.

  4. 4
    Article
    Avatar of vercelVercel·26w

    Support for Elysia

    Vercel now supports automatic detection and deployment of Elysia, a TypeScript framework with end-to-end type safety. When deployed, Vercel automatically provisions optimal resources and uses Node by default, with optional Bun runtime support via configuration. Deployments leverage Fluid compute with Active CPU pricing, charging only for active CPU usage time.

  5. 5
    Article
    Avatar of communityCommunity Picks·1y

    aurijs/jason: Slash database complexity away with jason.

    jason is a lightweight, embeddable JSON database designed for Bun projects. It features schema validation, concurrency control, and built-in caching. The simple API allows easy CRUD operations and custom queries. Jason supports versioning to track document changes and offers different concurrency strategies. Contributions to the project are welcome.

  6. 6
    Article
    Avatar of bunBun·39w

    500x faster postMessage(string)

    Bun v1.2.21 introduces a zero-copy optimization for postMessage(string) that achieves up to 500x faster performance and 22x less memory usage by avoiding serialization for thread-safe strings. The optimization works by directly sharing immutable string pointers between threads in JavaScriptCore, bypassing the Structured Clone Algorithm for strings that aren't atoms, substrings, or rope strings. This dramatically improves performance for common patterns like sending JSON between workers, with the optimization automatically applying to strings over 256 characters.

  7. 7
    Article
    Avatar of bunBun·25w

    Bun v1.3.3

    Bun v1.3.3 fixes 95 issues and introduces several new features. Key additions include CompressionStream and DecompressionStream APIs with support for gzip, deflate, brotli, and zstd formats. Standalone executables now support flags to disable automatic .env and bunfig.toml loading. The test runner gains retry and repeats options for handling flaky tests. A new --no-env-file flag allows disabling automatic environment file loading. SQLite has been upgraded to version 3.51.0, and the runtime now uses Zig 0.15.2. The release includes numerous bug fixes across the bundler, package installer, Windows support, Node.js compatibility, Web APIs, networking, YAML parsing, and TypeScript definitions.

  8. 8
    Article
    Avatar of bunBun·35w

    Bun v1.2.22

    Bun v1.2.22 introduces async stack traces for better debugging, 240x faster postMessage and structuredClone for simple objects, and YAML stringify support. The release includes significant improvements to the MySQL adapter with affectedRows and lastInsertRowid support, better column type handling, and TLS connectivity. The bundler gains new minification optimizations, JSX side effects preservation, and an onEnd hook for plugins. Additional enhancements cover WebSocket subprotocol negotiation, Redis database selection, HTTP server idle connection management, event loop delay monitoring, and extensive Node.js compatibility fixes across child_process, crypto, N-API, and other modules.

  9. 9
    Article
    Avatar of bunBun·23w

    Bun v1.3.4

    Bun v1.3.4 fixes 194 issues and introduces several new features. The release adds URLPattern API for declarative URL matching, fake timers for the test runner to control time in tests, and custom proxy headers in fetch requests. It fixes a critical http.Agent connection pooling bug that prevented connection reuse. Standalone executables now skip loading config files at runtime by default for better performance. The update includes SQLite 3.51.1, console.log %j format specifier support, and numerous bugfixes across testing, bundler, Windows compatibility, Node.js APIs, and FFI.

  10. 10
    Article
    Avatar of communityCommunity Picks·1y

    realfakenerd/jason: simple, fast, lightweight JSON Database.

    jason is a lightweight and embeddable JSON database designed for Bun projects, offering a simple API for CRUD operations and query functionalities. Features include schema validation, concurrency control, versioning support, built-in caching, and a flexible query system. The database can be easily integrated and used with minimal code, ensuring data integrity and preventing update conflicts.

  11. 11
    Article
    Avatar of bytesdevBytes by ui.dev·1y

    Bun is eating the world

    Bun 1.2 introduces major updates including improved Node.js compatibility, HTML imports for bundling JS and CSS, built-in S3 object support, native PostgreSQL bindings, and a text-based lockfile for easier diff viewing. These updates enhance Bun's efforts to become an all-in-one JavaScript toolchain.

  12. 12
    Article
    Avatar of bunBun·30w

    Bun v1.3.1

    Bun v1.3.1 fixes 103 issues with significant performance and feature improvements. Key updates include 2× faster builds on macOS for symlink-heavy projects, source maps preserving legal comments, and CommonJS format now inlining import.meta. The test runner adds Vitest's global vi, --pass-with-no-tests and --only-failures flags. Package management improvements include .npmrc email authentication support, faster installs without peer dependencies, and selective hoisting via publicHoistPattern/hoistPattern for isolated installs. Node.js compatibility enhancements include FileHandle.readLines() in fs/promises. Numerous bundler, transpiler, WebSocket, MySQL, and Windows-specific bugs are resolved.

  13. 13
    Article
    Avatar of bunBun·33w

    Bun v1.2.23

    Bun v1.2.23 introduces major improvements including pnpm-lock.yaml migration for seamless switching from pnpm, Redis Pub/Sub support, concurrent test execution with configurable parallelism, platform-specific dependency filtering, system CA certificates support, Windows code signing for compiled executables, JSX configuration improvements, SQL array helpers, randomized test ordering, and numerous Node.js compatibility fixes across http, dns, worker_threads, crypto, and other modules.

  14. 14
    Article
    Avatar of bunBun·38w

    Bun v1.2.21

    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.

  15. 15
    Video
    Avatar of awesome-codingAwesome·24w

    Claude buys Bun, and this is really bad for devs...

    Anthropic acquired Bun, the JavaScript runtime built as a faster alternative to Node.js. While Bun will remain open source and MIT licensed, concerns arise about whether future development priorities will serve the JavaScript community or primarily benefit Claude's AI coding capabilities. The acquisition highlights broader tensions around AI companies claiming to replace developers while simultaneously hiring engineers and acquiring development tools. The piece questions the credibility of predictions about AI replacing software engineers within months, comparing them to historically inaccurate tech forecasts.

  16. 16
    Article
    Avatar of bunBun·27w

    Bun v1.3.2

    Bun 1.3.2 fixes 287 issues and restores hoisted installs as the default for existing workspaces while keeping isolated installs for new projects. The release introduces CPU profiling with --cpu-prof flag, faster installs for packages with post-install scripts, and a new onTestFinished hook for bun:test. Notable improvements include better Git dependency resolution, ServerWebSocket subscriptions getter, Alpine 3.22 in Docker images, and a bun list alias. The update addresses numerous bugs across install, HTTP/HTTPS, N-API, testing, bundling, and runtime, with significant Node.js compatibility improvements and fixes for spawnSync, module resolution, and Web Crypto.

  17. 17
    Article
    Avatar of bunBun·40w

    Bun v1.2.20

    Bun v1.2.20 fixes 141 issues and introduces significant performance improvements including reduced idle CPU usage and 40x faster AbortSignal.timeout. Key features include automatic yarn.lock migration to bun.lock, improved test diffing with new matchers like toHaveReturnedWith, TypeScript type testing with expectTypeOf, and WebAssembly streaming support. The release adds automatic ETag headers for static routes, Windows long path support, and enhanced workspace management with recursive flags for bun outdated and bun update commands.