Impact Score: 5/10
Bun v0.1.8
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.1.8. Source highlight: curl https://bun.sh/install | bash
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.
๐ง Bug Fixes & Patches (6)
- `setInterval` wouldn't cause the process to stay alive ๐ข and now that is fixed thanks to @zhuzilin
- build issue caused "Illegal instruction" error to return - that is fixed now
- [wiptest] fix calling toBe in describe
- Re-register setInterval to VM after completion
- Fix segfault for query().all() with more than 64 properties
- Update example Next app to 12.2
๐ View Raw Release Notes (Original Developer Log)
To upgrade:
```bash
bun upgrade
```
To install:
```bash
curl https://bun.sh/install | bash
```
<details>
<summary>If you have any problems upgrading</summary>
Run the install script (you can run it multiple times):
```bash
curl https://bun.sh/install | bash
```
</details>
## What's new
A huge thank you to @zhuzilin for all their help on this release. @zhuzilin fixed 4 crashes!
**`bun link`** lets you symlink a folder to node_modules. It works like npm link.
<img src="https://user-images.githubusercontent.com/709451/184067798-47a3f596-fc58-42d7-8fd6-51e085b99ceb.png" height=500 />
**`fs.copyFileSync`** gets 2x to 10x faster:
<img src="https://user-images.githubusercontent.com/709451/184067848-071d266c-34e2-4527-9109-506c3998bdc0.png" height=500 />
`require.resolve` works at runtime now instead of only build-time
<img width="447" alt="image" src="https://user-images.githubusercontent.com/709451/184080105-933acd43-7db5-4ee0-84ee-12cb364236c7.png">
`WebSocket` is more reliable now. Previously the garbage collector would attempt to free it when the socket was still open ๐
`bun:ffi`'s `toBuffer` and `toArrayBuffer` functions now support a function pointer to a destructor so that native code can perform cleanup without needing to go through a `FinalizationRegistry`.
#### console.log
`TypedArray` logs the value for the type (instead of in bytes ๐)
<img width="420" alt="image" src="https://user-images.githubusercontent.com/709451/184079844-feb408f1-30f5-402f-a479-647df879a6e6.png">
console.log(`MessageEvent` ) is more useful now
<img width="341" alt="image" src="https://user-images.githubusercontent.com/709451/184079813-bb30f902-af8d-4042-b8bb-f069e0535587.png">
More:
* `setInterval` wouldn't cause the process to stay alive ๐ข and now that is fixed thanks to @zhuzilin
* Log error on unhandled rejected promises by @zhuzilin in https://github.com/oven-sh/bun/pull/1010
* Log error on uncaught exceptions in event loop
* `bun install` gets a `symlink` backend, which you probably don't want to use in most cases. It's used internally if you do `file:./` as a dependency, which some packages do
* `process.revision` returns the git sha used to build bun
## Bug fixes
* build issue caused "Illegal instruction" error to return - that is fixed now
* [wiptest] fix calling toBe in describe by @zhuzilin in https://github.com/oven-sh/bun/pull/1000
* Re-register setInterval to VM after completion by @zhuzilin in https://github.com/oven-sh/bun/pull/1014
* Fix segfault for query().all() with more than 64 properties by @zhuzilin in https://github.com/oven-sh/bun/pull/1025
* Update example Next app to 12.2 by @TiKevin83 in https://github.com/oven-sh/bun/pull/1033
* Fix static require by setting the state machine manually by @zhuzilin in https://github.com/oven-sh/bun/pull/1034
* #941 fix by @JL102 in https://github.com/oven-sh/bun/pull/998
Typos:
* refactor(src/install): clap readability fixes by @ryanrussell in https://github.com/oven-sh/bun/pull/1024
Misc:
* fix compiling error on linux by @zhuzilin in https://github.com/oven-sh/bun/pull/1027
**Full Changelog**: https://github.com/oven-sh/bun/compare/bun-v0.1.7...bun-v0.1.8