Bun

Blog

Bun v1.0.15

Fixes 23 bugs (addressing 117 👍 reactions), tsc starts 2x faster, prettier 40% faster. Stable WebSocket client, syntax-highlighted errors, cleaner stack traces, add custom test matchers with expect.extend(), TensorFlow.js support, fs.readdir recursive is 40x faster than in Node, and more.

Ashcon Partovi · December 2, 2023

Bun v1.0.14

Introduces Bun.Glob - a fast glob matcher, fixes a race condition when extracting dependencies during bun install, improves TypeScript module resolution in node_modules, makes error messages easier to read, and more fixes.

Ashcon Partovi · November 22, 2023

Bun v1.0.13

Fixes 6 bugs (addressing 317 👍 reactions). 'http2' module & gRPC.js work now. Vite 5 & Rollup 4 work. Implements process.report.getReport(), improves support for ES5 'with' statements, fixes a regression in bun install, fixes a crash when printing exceptions, fixes a Bun.spawn bug, and fixes a peer dependencies bug

Jarred Sumner · November 18, 2023

Bun v1.0.12

Fixes 24 bugs, makes bun's CLI help menus easier to read, adds support for bun -e, bun --env-file, server.url, import.meta.env, expect.unreachable(), improves support for module mocks, allows importing builtin modules at bundle-time, and improves Node.js compatibility

Ashcon Partovi · November 16, 2023

Bun v1.0.11

Fixes 5 bugs, adds Bun.semver, fixes a bug in bun install and fixes bugs impacting astro and @google-cloud/storage

Jarred Sumner · November 8, 2023

Bun v1.0.10

Fixes 14 bugs (addressing 102 👍 reactions), node:http gets 14% faster, stability improvements to Bun for Linux ARM64, bun install bugfix, and node:http bugfixes

Jarred Sumner · November 7, 2023

Bun v1.0.9

Fixes a glibc symbol version error, illegal instruction error, a Bun.spawn bug, an edgecase with peer dependency installs, and a JSX transpiler bugfix

Jarred Sumner · November 5, 2023

Bun v1.0.8

Fixes 138 bugs (addressing 257 👍 reactions), makes require() use 30% less memory, adds module mocking to bun test, and improves reliability of bun install and Bun.spawn

Ashcon Partovi · November 2, 2023

Bun v1.0.7

Fixes 59 bugs (addressing 78 👍 reactions), support for optional peerDependencies, improvements to Node.js compatibility, and more stability for bun install.

Jarred Sumner · October 20, 2023

Bun v1.0.6

Fixes 3 bugs (addressing 85 👍 reactions), implements support for the 'overrides' & 'resolutions' fields in package.json and a regression impacting Docker usage with Bun

Jarred Sumner · October 11, 2023

Bun v1.0.5

Fixes 41 bugs + a memory leak in fetch(), KeyObject support in crypto module, import package-lock.json, install peer dependencies, bun pm migrate subcommand, bun install bugfixes, and toEqualIgnoringWhitespace matcher in bun:test

Ashcon Partovi · October 11, 2023

Bun v1.0.4

Bun v1.0.4 fixes 62 bugs, adds server.requestIP, supports virtual modules in runtime plugins, fixes many bun install bugs, and reduces memory consumption in Bun.serve()

Jarred Sumner · October 3, 2023

Bun v1.0.3

emitDecoratorMetadata, Nest.js support, better private registry support, bunx bugfix, console.log() depth 8 -> 2, silence .env loaded message, and many bugfixes

Colin McDonnell · September 22, 2023

Bun v1.0.2

Faster watch mode, bunx @latest bugfix, Bun uses V8's date parser, bugfixes to node:readline, node:dns, bun run, http streaming, transpiler, node:tty and more

Jarred Sumner · September 15, 2023

Bun v1.0.1

Named imports for .json & .toml files, bugfixes to bun install, node:path, Buffer. Support for NODE_TLS_REJECT_UNAUTHORIZED=0

Jarred Sumner · September 12, 2023

Bun 1.0

Bun is stable and ready for production.

Jarred Sumner & Ashcon Partovi & Colin McDonnell · September 8, 2023

Bun v0.8.1

Bun.serve() gets unix domain socket support, a performance regression has been fixed, and bugs in bun install, node:http and napi have been fixed

Jarred Sumner · August 26, 2023

Bun v0.8.0

Bun gets debugger support, fetch streaming, and bun update. ReadStream and WriteStream from node:tty are implemented, including raw mode on process.stdin. SvelteKit now works in Bun. Plus bug fixes and stability improvements.

Colin McDonnell · August 24, 2023

Bun v0.7.3

bun test gets code coverage reporting. bun test -t pattern lets you filter tests to run by regex pattern. Fixes a crash in bun:sqlite, node.js compatiblity improvements, and more.

Jarred Sumner · August 6, 2023

Bun v0.7.2

worker_threads, BroadcastChannel, diagnostics_channel, Node.js compatibility improvements, bun ., bugfixes and 2 memory leaks fixed

Jarred Sumner · August 3, 2023

Bun v0.7.1

Node.js compatibility improvements for Vite & frameworks. Better workspace support in bun installl & a bugfix for private registries. ES Modules load 30% faster. vite dev starts 90% faster on Linux. Transpiler bugfixes. fetch() file urls. MessagePort & MessageChannel.

Jarred Sumner · July 29, 2023

Bun v0.7.0

vite dev support, Workers, bun --smol, WebSocket.ping(), structuredClone(), serialize() and better Node.js compatibility

Jarred Sumner · July 21, 2023

Bun v0.6.14

Better support for Node.js process and lots of fixed bugs.

Ashcon Partovi · July 12, 2023

Bun v0.6.13

Mock Date, 10x faster base64 encoding, WebSocket client reliability improvements, support for postgres tls and nodemailer, and various bug fixes.

Ashcon Partovi · July 4, 2023

CommonJS is not going away

CommonJS is here to stay, and that's okay. Better tooling will solve today's developer experience issues.

Jarred Sumner · June 30, 2023

Bun v0.6.12

Sourcemapped stack traces at runtime, Node.js compatibility improvements, Bun.file(path).exists, minifier and bundler bugfixes

Jarred Sumner · June 30, 2023

Bun v0.6.10

Reduced memory usage, fs.watch(), better CommonJS support, improvements to bun test, bun install, and many bugfixes.

Ashcon Partovi · June 26, 2023

Bun v0.6.9

Memory usage reductions in Bun.serve(), bun install, module imports, and crypto hashing. Crash in CommonJS modules fixed, plus additional bugfixes.

Jarred Sumner · June 13, 2023

Bun v0.6.8

Password hashing, function mocking, debugging, and bug squashing

Colin McDonnell · June 9, 2023

Bun v0.6.7

Discord.js, Prisma, and Puppeteer support, faster node:crypto hashing, and lots of bug fixes

Jarred Sumner · June 2, 2023

Bun v0.6.6

Lots of improvements to bun test, including Github Actions support, bun test --only, test.if(), describe.skip(), and more matchers

Ashcon Partovi · May 31, 2023

JavaScript Macros in Bun

Call JavaScript functions at bundle-time and inline results into the AST

Jarred Sumner · May 31, 2023

Bun v0.6.5

Native CommonJS support, $npm_lifecycle_event, bugfix for Bun.serve() with streaming files, bugfix for Node.js createConnection and a bundler bugfix

Jarred Sumner · May 29, 2023

Bun v0.6.4

Up to 80% faster bun test, test timeouts, timezone support, bundler bugfixes, console.log() improvements, node:http bugfixes, and more

Ashcon Partovi · May 26, 2023

Bun v0.6.3

Introducing node:vm support, support for socket.io and mongodb, test.todo(), and many bug fixes for the bundler.

Ashcon Partovi · May 22, 2023

Bun v0.6.2

Up to 20% faster JSON.parse, 15% faster JSON.stringify, and Proxy gets faster. A couple bugfixes to the minifier and bundler

Jarred Sumner · May 17, 2023

The Bun Bundler

The Bun toolkit gets a new addition. Bun's fast native bundler is now in beta.

Jarred Sumner · May 16, 2023

Bun v0.6.0

A new JavaScript bundler, standalone executables, and lots of new features and improvements

Jarred Sumner · May 16, 2023

Bun v0.5.9

Introducing watch mode using bun --watch, tarball dependencies in bun install, and lots of bug fixes and compatibility improvements.

Ashcon Partovi · April 4, 2023

Bun v0.5.8

Introducing expect() snapshots in bun test, preloading modules using bun --preload, basic glob star support in bun install, improvements to Web & Node.js compatibility, lots of bug fixes, and a teaser of what's next.

Ashcon Partovi · March 18, 2023

Bun has docs now

Bun has docs now? Bun has docs now.

Colin McDonnell · February 24, 2023

Bun v0.5.7

Support for FormData and git dependencies, better setTimeout() compatibility, bun wiptest is now bun test, and better support on AWS Lambda and GitHub Actions.

Ashcon Partovi · February 24, 2023

Bun v0.5.6

Support for Bun.sleep, improved Docker support, and improvements to Node.js and npm compatibility

Ashcon Partovi · February 9, 2023

Bun v0.5.5

Improved compatibility for node:http, support for http.request() and stripe-node, and fixed various bugs.

Ashcon Partovi · February 2, 2023

Bun v0.5.2

MongoDB support, github: dependencies in bun install, faster Buffer, bun run for WebAssembly, express' body-parser package, and many bug fixes.

Jarred Sumner · January 31, 2023

Bun v0.5.1

Support for aliasing package.json dependencies, a better error message when a workspace is not found, and a few important bug fixes.

Jarred Sumner · January 19, 2023

Bun v0.5

Support for npm workspaces, DNS lookups, database drivers, and lots of improvements to bun install.

Ashcon Partovi · January 18, 2023

Bun v0.4

Introducing bunx. Install and run an executable from npm, 100x faster than npx.

Ashcon Partovi · December 23, 2022

Bun v0.3.0

Massive reduction in memory usage, faster text encoding, improved Jest compatibility, file-system routing, automatic package installs, and a lot more

Ashcon Partovi · December 7, 2022

Bun v0.2.2

Release notes for Bun v0.2.2

Jarred Sumner · October 27, 2022

Bun v0.2.1

Release notes for Bun v0.2.1

Jarred Sumner · October 19, 2022

Bun v0.2.0

Release notes for Bun v0.2.0

Jarred Sumner · October 13, 2022

Bun v0.1.12

Release notes for Bun v0.1.12

Jarred Sumner · September 18, 2022

Bun v0.1.11

Release notes for Bun v0.1.11

Jarred Sumner · September 7, 2022

Bun v0.1.10

Release notes for Bun v0.1.10

Jarred Sumner · August 19, 2022

Bun v0.1.9

Release notes for Bun v0.1.9

Jarred Sumner · August 18, 2022

Bun v0.1.8

Release notes for Bun v0.1.8

Jarred Sumner · August 11, 2022

Bun v0.1.7

Release notes for Bun v0.1.7

Jarred Sumner · August 6, 2022

Bun v0.1.6

Release notes for Bun v0.1.6

Jarred Sumner · August 1, 2022

Bun v0.1.5

Release notes for Bun v0.1.5

Jarred Sumner · July 23, 2022

Bun v0.1.4

Release notes for Bun v0.1.4

Jarred Sumner · July 13, 2022

Bun v0.1.3

Release notes for Bun v0.1.3

Jarred Sumner · July 11, 2022

Bun v0.1.2

Release notes for Bun v0.1.2

Jarred Sumner · July 7, 2022

Bun v0.1.1

Release notes for Bun v0.1.1

Jarred Sumner · July 5, 2022