Bun

@bun.sh

Bun is a fast, all-in-one toolkit for installing, bundling, running and testing JavaScript & TypeScript. To install Bun: ``` curl https://bun.sh/install | bash -s ``` https://bun.sh

Bun v1.2.15 - Fixes 11 issues (addressing 261 👍) - `bun audit` scans for vulnerabilities - `bun pm view <pkg>` - `bun init` adds a Cursor rule - `bun ./index.html` gets "Automatic workspace folders" edit files in browser - Fixes for vm & worker_threads bun.sh/blog/bun-v1....

Bun v1.2.15

Fixes 11 issues (addressing 261 👍). bun audit scans dependencies for security vulnerabilities, bun pm view shows package metadata from npm. bun init adds a Cursor rule to use Bun instead of Node.js/Vi...

bun.sh

Bun v1.2.14 - Fixes 39 issues (addressing 179 👍) - Catalogs in bun install simplify sharing dependency versions in monorepos - Fixes HTTPS proxy issue impacting OpenAI Codex - zstd + fetch - Several Node compatibility bugfixes Thanks to 13 contributors! bun.sh/blog/bun-v1....

Bun v1.2.14

Fixes 39 issues (addressing 179 👍). Adds support for catalogs in bun install, --react flag for bun init, improved HTTP routing with method-specific routes, better TypeScript default module settings, f...

bun.sh

Bun v1.2.12 - Echo browser console logs to terminal - Reduced memory usage for frontend hmr with Bun.serve() - Node.js compatibility fixes for `timers`, `vm`, `net`, and `http` - bugfix for global postinstalls impacting Claude Code thx 10 contributors! bun.sh/blog/bun-v1....

Bun v1.2.12

Stream browser console logs to your terminal, dev server uses less memory. Node.js compatibility improvements for timers, vm, net, http, and bugfixes for TextDecoder, hot reloading reliability bugfixe...

bun.sh

Bun v1.2.8 - Fixes 18 bugs (addressing 18 👍) - napi perf improvement for integers - 2x faster headers.get() - node:http & node:fs bugfixes - `bun install --frozen-lockfile` + `overrides` fix - `bun pack` directory-specific ignores Full release notes below

Bild

Bun v1.2.7 - Fixes 35 bugs (addressing 219 👍) - Builtin request.cookies.set & get in Bun.serve() routes - Fixed TypeScript type definitions conflicts with `@types/node` & libdom - Bugfixes for node:http, node:vm Thanks to 13 contributors! Full release notes below

Bild

Bun v1.2.6 - Fixes 74 bugs (addressing 36 👍) - node:crypto gets faster & more Node.js compatible - Faster fastify & express - `timeout` in Bun.spawn - Dev Server stability fixes - Bun.SQL unix domain sockets Thanks to 23 contributors! bun.sh/blog/bun-v1....

Bun v1.2.6

Fixes 74 bugs (addressing 36 👍). Faster, more compatible node:crypto. `timeout` option in Bun.spawn. Support for `module.children` in `node:module`. Connect to PostgreSQL via unix sockets with `Bun.SQ...

bun.sh

Bun v1.2.5 - Fixes 75 bugs (addressing 162 👍) +69 passing tests from Node.js - Frontend Dev Server fixes, CSS Modules support - Full rewrite of N-API (napi addons) - Faster Sign, Verify, Hash, Hmac from node:crypto Thanks to 25 contributors! bun.sh/blog/bun-v1....

Bun v1.2.5

Fixes 75 bugs (addressing 162 👍), and adds +69 passing Node.js tests. Improvements to the frontend dev server, CSS modules support, a full rewrite of Node-API, faster `Sign`, `Verify`, `Hash`, `Hmac` ...

bun.sh

Bun v1.2.4 - Frontend dev server stability improvements - Codesign compiled executables on macOS - Up to 60% faster `bun build` on macOS - Node.js compatibility fixes - Faster array.includes - Many bugfixes Thanks to 17 contributors! bun.sh/blog/bun-v1....

Bun v1.2.4

Up to 60% faster Bun.build on macOS, codesigning support for single-file executables on macOS, dev server stability improvements, fixes a regression from v1.2.3 affecting Hono, fixes up/down buttons i...

bun.sh

Bun v1.2.3 - Fixes 128 bugs (addressing 349 👍) - Incredibly fast frontend dev server with hot reloading - Builtin routes in Bun.serve - Many Bun.SQL fixes - Wasm gets faster - Node compatibility improvements for napi & Buffer Thanks to 23 contributors! bun.sh/blog/release...

Bun v1.2.3

Fixes 128 bugs (addressing 349 👍). Bun gets a full-featured frontend development toolchain with incredibly fast hot reloading and bundling. Built-in routing for Bun.serve() makes it simpler to build w...

bun.sh

In the next version of Bun Bun.serve() gets builtin support for hot reloading frontend applications.

Bun v1.2.2 - Fixes 38 bugs (addressing 129 👍) - JavaScript idle memory usage reduced by 10–30% - Fixes v1.2.1 regression impacting `vite build` - Node compatibility fixes - Reliability improvements to Bun.SQL and Bun.S3Client Thanks to 12 contributors! bun.sh/blog/bun-v1....

Bun v1.2.2

Fixes 38 bugs (addressing 129 👍). JavaScript idle memory usage drops by 10–30%. Fixes regression impacting vite build. Reliability improvements to Bun.SQL, Bun.S3Client, Bun's CSS parser. Node.js comp...

bun.sh

Bun v.1.2.1 - Fixes 32 bugs - S3Client gets `storageClass` support - X25519 support in node:crypto - Node.js compatibility improvements for node:fs & node:child_process. fs.stat uses less memory. - Several memory leak fixes Thanks to 16 contributors! bun.sh/blog/bun-v1....

Bun v1.2.1

Fixes 32 bugs. S3 storage class support, X25519 support in crypto.generateKeyPair. fs.stat uses less memory. node:fs, node:child_process, and node:process compatibility improvements. CSS parser bugfix...

bun.sh

Bun v1.1.45 - Fixes 13 bugs (addressing 50 👍) - X509Certificate, diffieHellman, getCipherInfo in 'crypto' - 82% of Node.js' "stream" tests pass (several remaining test Node internals) - Bugfixes to fs.mkdir and more Thanks to 5 contributors! bun.sh/blog/bun-v1....

Bun v1.1.45

Fixes 13 bugs (addressing 50 👍) 82% of the 'streams' module tests from Node.js' test suite now pass in Bun. node:crypto now implements diffieHellman, getCipherInfo, and X509Certificate. The checkServe...

bun.sh

Bun v1.1.44 - Fixes 43 bugs - 90% of Node's tests for the `dns` module pass in Bun - Bundle & serve frontend apps in Bun.serve() - `bunx --no-install <pkg> [...]` - Bugfixes to Bun's S3 client, HTMLRewriter, node:fs and more Thanks to 21 contributors! bun.sh/blog/bun-v1....

Bun v1.1.44

Fixes 43 bugs. > 90% of the 'dns' module tests from Node.js' test suite now pass in Bun. You can now build frontend applications on-demand in Bun.serve(). Adds xxHash support to Bun.hash(). Adds suppo...

bun.sh

Bun v1.1.43 - 1st-class S3 support - HTML bundler - V8 heap snapshots - All but 1 of Node.js' "zlib" tests pass - 100% of Node.js[ "path" module tests pass - Many reliability & Node.js compatibility improvements Thanks to 22 contributors! bun.sh/blog/bun-v1....

Bun v1.1.43

Bun v1.1.43 introduces 1st-class S3 support, HTML bundling, bun install --filter, V8 heap snapshots, bun install --lockfile-only, bun add --peer, 100% of `node:path` module Node.js test pass, 98% of `...

bun.sh

In the next version of Bun Bun gets first-class support for S3. Upload, download, stream, and presign with 0 dependencies

import { s3, file, write } from "bun";

const svg = s3("logo.svg", {
  accessKeyId: process.env.S3_ACCESS_KEY,
  secretAccessKey: process.env.S3_SECRET_KEY,
  endpoint: process.env.S3_ENDPOINT,
  bucket: process.env.S3_BUCKET,
});

// Upload a local file to S3
await write(svg, file("./logo.svg"));

// Download from S3 as text 
const text = await svg.text();
// or .json(), .bytes(), etc

// Presign a URL
const url = svg.presign();
console.log(url);