Impact Score: 5/10
Bun v0.6.10
Source available โ automated, not human-reviewed
Component: bun ยท Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-01.
โก Executive Summary (TL;DR)
Bun bun-v0.6.10. Source highlight: **Read Bun v0.6.10's release notes on Bun's blog**
Who Does This Impact? (Role-Based Analysis)
๐ป Software Engineers & Devs
Check the source notes against the package and APIs you use before upgrading.
๐ Product & Engineering Leads
Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.
โ๏ธ DevOps & Security
Verify the target version, runtime requirements and rollback procedure in the official documentation.
โจ New Features & Capabilities (6)
- Add typedefs for `Bun.argv`
- feat(test/types): Add types for toBeOdd & toBeEven
- feat(bun/test): Impl. "toBeArray", "toBeArrayOfSize" & "toBeTypeOf"
- Add vi.spyOn and clean up some mock function binding calls
- [feat] fs.watch
- Add support for install with --frozen-lockfile
โก Performance & Enhancements (1)
- Improve error message for `error.DependencyLoop`
๐ง Bug Fixes & Patches (6)
- fix TS5096
- [Bun.serve] fix `Bun.serve` argument check
- Fix typo in run.md
- Fix a bunch of bugs
- Fix bug that breaks `bunx prisma init` when node is not installed
- Fix crash with .env files that are exactly 159 bytes long
๐ View Raw Release Notes (Original Developer Log)
**[Read Bun v0.6.10's release notes on Bun's blog](https://bun.sh/blog/bun-v0.6.10)**
To install:
```bash
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bun
```
To upgrade:
```bash
bun upgrade
```
## What's Changed
* fix TS5096 by @xxxhussein in https://github.com/oven-sh/bun/pull/3256
* `mock` type changes by @colinhacks in https://github.com/oven-sh/bun/pull/3305
* Add typedefs for `Bun.argv` by @paperdave in https://github.com/oven-sh/bun/pull/3302
* Make `Bun.argv` the same as `process.argv` by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3310
* [Bun.serve] fix `Bun.serve` argument check by @cirospaciari in https://github.com/oven-sh/bun/pull/3314
* Tweak CommonJS output by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3320
* Fix typo in run.md by @kbrgl in https://github.com/oven-sh/bun/pull/3331
* don't remove const declaration if referenced before declaration by @dylan-conway in https://github.com/oven-sh/bun/pull/3337
* Set the publishToSelf option to true by @lpinca in https://github.com/oven-sh/bun/pull/3343
* feat(test/types): Add types for toBeOdd & toBeEven by @TiranexDev in https://github.com/oven-sh/bun/pull/3344
* [eventsource] SSE Client by @cirospaciari in https://github.com/oven-sh/bun/pull/3074
* minor build diffs by @alexlamsl in https://github.com/oven-sh/bun/pull/3349
* Fix a bunch of bugs by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3352
* Fix bug that breaks `bunx prisma init` when node is not installed by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3362
* feat(bun/test): Impl. "toBeArray", "toBeArrayOfSize" & "toBeTypeOf" by @TiranexDev in https://github.com/oven-sh/bun/pull/3316
* implement more of V8's stack trace API by @kvakil in https://github.com/oven-sh/bun/pull/3359
* Cleanup fs.utimesSync by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3363
* Docs for DOM testing and FileSink by @colinhacks in https://github.com/oven-sh/bun/pull/3330
* enable asymmetric matchers in `expect.toEqual`, `expect.toStrictEqual`, and `expect.toHaveProperty` by @dylan-conway in https://github.com/oven-sh/bun/pull/3367
* record jsx factory symbols in classic mode by @dylan-conway in https://github.com/oven-sh/bun/pull/3360
* Improve error message for `error.DependencyLoop` by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3368
* Fix crash with .env files that are exactly 159 bytes long by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3369
* Update module resolution order docs by @aplr in https://github.com/oven-sh/bun/pull/3372
* finish implementing JSMockFunction prototype + lots of expect test organizing by @paperdave in https://github.com/oven-sh/bun/pull/3304
* upgrade zig to `v0.11.0-dev.3737+9eb008717` by @dylan-conway in https://github.com/oven-sh/bun/pull/3374
* Fix CommonJS usages of bun:test by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3378
* revamp dotEnv parser by @alexlamsl in https://github.com/oven-sh/bun/pull/3347
* fix tests for `expect()` by @alexlamsl in https://github.com/oven-sh/bun/pull/3384
* `expect().resolves` and `expect().rejects` by @Electroid in https://github.com/oven-sh/bun/pull/3318
* [fix] c_ares.resolve by @cirospaciari in https://github.com/oven-sh/bun/pull/3388
* Make node-fallbacks build as esm not cjs / Fix `node-fetch` by @paperdave in https://github.com/oven-sh/bun/pull/3377
* Add vi.spyOn and clean up some mock function binding calls by @paperdave in https://github.com/oven-sh/bun/pull/3376
* [feat] fs.watch by @cirospaciari in https://github.com/oven-sh/bun/pull/3249
* Rewrite Bun's runtime CommonJS loader by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3379
* Reliability bugfix for `WebSocket` by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3394
* Speculative fix for regression causing hang with `install --production` by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3400
* [install] fix hang in `bun install --production` by @alexlamsl in https://github.com/oven-sh/bun/pull/3406
* Fix the parameters of WriteStream constructor. by @Hanaasagi in https://github.com/oven-sh/bun/pull/3402
* [fs.watch] fix reference/deinit by @cirospaciari in https://github.com/oven-sh/bun/pull/3396
* Support reading embedded files in compiled executables by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3405
* Add support for install with --frozen-lockfile by @tiagotex in https://github.com/oven-sh/bun/pull/3365
* chore: update lol-html version by @bru02 in https://github.com/oven-sh/bun/pull/3356
* Use bun.String in mkdir by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3404
* Fixes #3334 by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3401
* Fix test failures in import.meta by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3403
* implement `_nodeModulePaths` and `require.main.paths` by @dylan-conway in https://github.com/oven-sh/bun/pull/3411
* [install] support trustedDependencies by @alexlamsl in https://github.com/oven-sh/bun/pull/3288
* Implement writev & readv by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3419
* Runtime support for `__esModule` annotations by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3393
* `.randomInt()` support by @lenovouser in https://github.com/oven-sh/bun/pull/3357
* [bun install] Implement `--exact` flag by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3409
* docs: add troubleshooting section to installation page by @no-stack-dub-sack in https://github.com/oven-sh/bun/pull/3389
* fix overwriting jsx development setting in `configureLinker` by @dylan-conway in https://github.com/oven-sh/bun/pull/3420
* webpack test and add empty `prototype` prop to module by @dylan-conway in https://github.com/oven-sh/bun/pull/3421
* Fix spying on something twice by @paperdave in https://github.com/oven-sh/bun/pull/3422
## New Contributors
* @xxxhussein made their first contribution in https://github.com/oven-sh/bun/pull/3256
* @kbrgl made their first contribution in https://github.com/oven-sh/bun/pull/3331
* @aplr made their first contribution in https://github.com/oven-sh/bun/pull/3372
* @Hanaasagi made their first contribution in https://github.com/oven-sh/bun/pull/3402
* @tiagotex made their first contribution in https://github.com/oven-sh/bun/pull/3365
* @bru02 made their first contribution in https://github.com/oven-sh/bun/pull/3356
* @lenovouser made their first contribution in https://github.com/oven-sh/bun/pull/3357
* @no-stack-dub-sack made their first contribution in https://github.com/oven-sh/bun/pull/3389
**Full Changelog**: https://github.com/oven-sh/bun/compare/bun-v0.6.9...bun-v0.6.10