Bun is an incredibly fast JavaScript runtime, bundler, transpiler, and package manager โ all in one.
Bun v1.0.33 fixes 2 bugs, including a bug with the mv command in Bun Shell and in node:crypto creating & verifying signatures
Previous releases
v1.0.32fixes 13 bugs and improves Node.js compatibility. 'ws' package can now send & receive ping/pong events. util.promisify'd setTimeout setInterval, setImmediate work now. FileHandle methods have been implemented.v1.0.31fixes 54 bugs (addresses 113 ๐ reactions), introducesbun --print,<stdin> | bun run -,bun add --trust,fetch()with Unix sockets, fixes macOS binary size regression, fixes high CPU usage bug in spawn() on older linux, addsutil.styleText, Node.js compatibiltiy improvements, bun install bugfixes, and bunx bugfixesv1.0.30fixes 27 bugs (addressing 103 ๐ reactions), fixes an 8x perf regression to Bun.serve(), adds a new--conditionsflag tobun buildand Bun's runtime, adds support forexpect.assertions()andexpect.hasAssertions()in Bun's test runner, fixes crashes and improves Node.js compatibility.v1.0.29fixes 8 bugs. Bun.stringWidth(a) is a ~6,756x faster drop-in replacement for the popular 'string-width' package. bunx checks for updates more frequently. Adds expect().toBeOneOf() in bun:test. Memory leak impacting Prisma is fixed. Shell now supports advanced redirects like '2>&1', '&>'. Reliability improvements to bunx, bun install, WebSocket client, and Bun Shell
To install Bun:
curl -fsSL https://bun.sh/install | bashnpm install -g bunbrew tap oven-sh/bunbrew install bundocker pull oven/bundocker run --rm --init --ulimit memlock=-1:-1 oven/bunTo upgrade Bun:
bun upgradeFixed: mv command in Bun Shell
In Bun v1.0.31, the mv command in Bun Shell regressed and in several scenarios would not move files and instead throw an error.
This has been fixed thanks to @zackradisic, and we've added tests to prevent this from happening again.
Fixed: node:crypto id values for sign function
Our node:crypto implementation was missing the id values for the sign functions. This has been fixed.
The node-forge and acme-client npm packages now work in Bun, thanks to @zenshixd.
Windows support is close
We are close to shipping Windows support with Bun v1.1. Once Bun for Windows passes 95% of Bun's test suite, we will announce the release date.
Bun for Windows currently passes 92.51% of Bun's test suite
โ Bun (@bunjavascript) March 12, 2024
โโโโโโโโโโโโโ 92.51%