Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Bun 15 min read Release mediumAdept

Bun v1.3.11

Bun v1.3.11 adds Bun.cron, a cross-platform API that registers OS-level cron jobs (crontab, launchd, Task Scheduler) and parses cron expressions, plus Bun.sliceAnsi, an ANSI- and grapheme-aware string slicer that replaces slice-ansi and cli-truncate using a SIMD ASCII fast path and single-pass streaming. Bun.markdown.render list callbacks now receive richer metadata, with a fixed object shape kept for monomorphic inline caches. bun test gains --path-ignore-patterns, and Windows ARM64 gets a native .bin shim. The release also fixes macOS dgram UDP bugs caused by hardcoded Linux errno values, an http2 WINDOW_UPDATE stall, a TLS SNI loss with custom DNS lookups, and many Node.js compatibility crashes.

Assumes: Node.js APIscron syntax

Related posts

  • Bun v1.3.12

    Bun mediumAdept

    Bun v1.3.12 adds Bun.WebView, a built-in headless browser automation API with WebKit and Chrome (CDP) backends. It dispatches OS-level trusted input events and waits for elements to be actionable, Playwright-style. Other additions are terminal Markdown rendering via `bun ./file.md` and Bun.markdown.ansi(), an in-process Bun.cron() scheduler that never overlaps runs and fires in UTC, and async stack traces for native APIs. The release also fixes UDP ICMP error handling and truncation detection, aligns unix socket lifecycle with Node.js, and embeds standalone Linux executables in an ELF section so execute-only binaries work. A JavaScriptCore upgrade brings `using` declarations and JIT improvements, and benchmarks show URLPattern up to 2.3x faster, SIMD-accelerated stripANSI/stringWidth up to ~11x faster, and faster bun build on low-core machines.

  • Bun v1.3.9

    Bun mediumAdept

    Bun v1.3.9 adds `bun run --parallel` and `--sequential` for running package.json scripts with prefixed output across workspaces, along with Node-compatible HTTP/2 connection upgrades via `net.Server`, `Symbol.dispose` support for test mocks, `NO_PROXY` handling for explicit proxies, `--cpu-prof-interval`, and ESM bytecode in `--compile`. A JavaScriptCore upgrade brings SIMD-accelerated RegExp prefix search on ARM64 and x86_64, JIT compilation of fixed-count parenthesized subpatterns (~3.9x faster), DFG/FTL intrinsics for `startsWith`, `Set/Map#size` (2.2-2.7x) and `trim`, and rope-returning `String#replace`. Fixes include SIGILL crashes on ARMv8.0 CPUs caused by mimalloc LSE atomics, a chunked-encoding request smuggling bug, and keep-alive hangs for proxy-style requests.

  • Bun v1.0.31

    Bun mediumAdept

    Bun v1.0.31 adds `bun --print` (Node-compatible eval with top-level await, TypeScript and JSX), running code from stdin via `bun run -`, `bun add --trust` plus `bun pm untrusted`/`trust` for managing blocked postinstall scripts, and `fetch()`/`node:http` support for Unix and Linux abstract domain sockets. A 100% CPU bug in `Bun.spawn()` on pre-5.10 Linux kernels came from the SIGCHLD fallback never reading its eventfd, which also masked a broken signal handler; a CPU-time regression test now guards it. A build mistake that statically linked all of ICU on macOS, inflating the binary from 47.7 MB to 80.4 MB, is fixed. Streaming file I/O and process spawning were reimplemented to avoid blocking the main thread without a threadpool, alongside Node.js compatibility and bunx/install fixes.

  • Bun v1.0.30

    Bun mediumAdept

    Bun v1.0.30 fixes 27 bugs, including an 8x performance regression in Bun.serve() when a direct ReadableStream writes exactly one chunk in a single event-loop tick, introduced in v1.0.4. It adds a --conditions flag to bun build and the runtime for resolving package.json "exports" conditions such as react-server, plus expect.assertions() and expect.hasAssertions() in bun:test. Several crash causes are explained: a request-body Promise rejected after it was no longer pending, an incorrect JavaScriptCore tailcall intrinsic in require that broke Next.js, a TextEncoder.encode side-effects JIT bug, and uninitialized timer memory on Linux ARM64. Node.js compatibility fixes to node:stream event timing resolve hangs in prisma generate and node-fetch.

  • Bun v1.2.16

    Bun mediumAdept

    Bun v1.2.16 fixes 73 issues and adds 119 passing Node.js tests. Headline changes are serving files directly through Bun.serve routes, an install.linkWorkspacePackages bunfig option that installs workspace dependencies from the registry (useful in CI), bun outdated support for catalog dependencies, and Bun.hash.rapidhash. Node.js compatibility improves through a node:net rework, vm.SyntheticModule, an llhttp-backed HTTPParser binding and AbortController handling in timers/promises. The release also fixes memory leaks in N-API handle scopes and unread Bun.spawn stdio, plus assorted TLS, HTTP/2, CSS parser and Windows bugs.

The quest for software engineering knowledge.

Look:
Layout: