wow
maybe ur right
@bun.sh.bsky.social
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
wow
maybe ur right
Bun v1.2.15
28.05.2025 22:14 β π 56 π 2 π¬ 2 π 1Bun 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.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....
Stream browser console. log to terminal Memory 272 MB OLD 150 ΠΌΠ² NEW Hot reloads with lucide-react (307 reloads) [browser) Hello! Node.js Compatibility 98.4% of timers tests pass node,js
Bun v1.2.12
05.05.2025 21:04 β π 70 π 3 π¬ 3 π 2Bun 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....
mport { run, bench } from "mitata"; // Assuming the vectors are of the same length function cosineDistance(a, b) { let dotProduct = 0; let magA = 0; let magB = 0; for (let i = 0; i < a.length; i++) { dotProduct += a[i] * b[i]; magA += a[i] * a[i]; magB += b[i] * b[i]; } return 1 - dotProduct / (Math.sqrt(magA) * Math.sqrt(magB)); } // Generate random data for testing const dimensions = 1536; // Adjust dimensions as needed const array1 = Array.from({ length: dimensions }, () => Math.random() * 100); const array2 = Array.from({ length: dimensions }, () => Math.random() * 100); const floatArray1 = new Float32Array(array1); const floatArray2 = new Float32Array(array2); bench("Array", () => { cosineDistance(array1, array2); }); bench("Float32Array", () => { cosineDistance(floatArray1, floatArray2); }); await run(); bun-latest array.mjs # New clk: ~3.94 GHz cpu: Apple M3 Max runtime: bun 1.2.9 (arm64-darwin) benchmark avg (min β¦ max) ------------------------------------------- Array 1.07 Β΅s/iter 1.07 Β΅s ββ βββ (1.06 Β΅s β¦ 1.13 Β΅s) 1.09 Β΅s βββββββββ ββββββββββββ Float32Array 1.64 Β΅s/iter 1.64 Β΅s β (1.46 Β΅s β¦ 1.68 Β΅s) 1.67 Β΅s βββββββββββββββββββββ bun-1.2.8 array.mjs # Prev clk: ~3.87 GHz cpu: Apple M3 Max runtime: bun 1.2.8 (arm64-darwin) benchmark avg (min β¦ max) ------------------------------------------- Array 1.07 Β΅s/iter 1.07 Β΅s β ββ (1.06 Β΅s β¦ 1.11 Β΅s) 1.10 Β΅s β ββββββββ ββββββββββββ Float32Array 13.52 Β΅s/iter 13.50 Β΅s β β (13.41 Β΅s β¦ 14.02 Β΅s) 13.59 Β΅s βββββββββββββββββββββ node array.mjs # Node, for comparison clk: ~3.94 GHz cpu: Apple M3 Max runtime: node 23.10.0 (arm64-darwin) benchmark avg (min β¦ max) ------------------------------------------- Array
In the next version of Bun & Safari
Polymorphic array access gets up to 8x faster, thanks to
@yusukesuzuki.bsky.social
Thanks to 10 contributors!
bun.sh/blog/bun-v1....
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
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
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.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....
built a @turbo.build template with a shared @tailwindcss.com v4 config, @biomejs.dev for linting & formatting, and powered by @bun.sh
Check it out: github.com/shutock/twur...
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.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...
And done! Try exporting your Paper docs with my new tool: www.npmjs.com/package/drop...
19.02.2025 17:36 β π 3 π 1 π¬ 1 π 0The above is a TailwindCSS + shadcn/ui Twitter frontend clone demo app. This is hot reloading css & js/ts/tsx, running a tailwindcss plugin, transpiling jsx/tsx, websocket hmr happening live as you type.
11.02.2025 08:05 β π 11 π 0 π¬ 0 π 0In the next version of Bun
Bun.serve() gets builtin support for hot reloading frontend applications.
@bun.sh is gunning for @vite.dev! youtu.be/NvitRPQqaSs Now it can serve HTML files right off the command line, and it even supports API routes!
04.02.2025 16:52 β π 18 π 3 π¬ 2 π 1Bun 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 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....
If we donβt already do this then thatβs a bug. Iβm pretty sure we already do this though
26.01.2025 04:01 β π 3 π 0 π¬ 0 π 0bun dler
youtu.be/Y5JrsqBt7sI?...
Introducing Bun 1.2
bun.sh/blog/bun-v1.2
Bun v1.2 in 17 hours
youtu.be/uSzffuqfJQk?...
it was fixed, and then msw switched to using an undocumented internal node module that we haven't implemented support for
20.01.2025 06:55 β π 2 π 0 π¬ 0 π 0