MyGit

bun-v0.1.8

oven-sh/bun

版本发布时间: 2022-08-11 16:18:30

oven-sh/bun最新发布版本:bun-v1.1.38(2024-11-29 19:55:48)

To upgrade:

bun upgrade

To install:

curl https://bun.sh/install | bash
If you have any problems upgrading

Run the install script (you can run it multiple times):

curl https://bun.sh/install | bash

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.

fs.copyFileSync gets 2x to 10x faster:

require.resolve works at runtime now instead of only build-time

image

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 🙈)

image

console.log(MessageEvent ) is more useful now

image

More:

Bug fixes

Typos:

Misc:

Full Changelog: https://github.com/oven-sh/bun/compare/bun-v0.1.7...bun-v0.1.8

相关地址:原始地址 下载(tar) 下载(zip)

1、 bun-darwin-aarch64-profile.zip 14.11MB

2、 bun-darwin-aarch64.zip 12.7MB

3、 bun-darwin-x64-baseline-profile.zip 16.2MB

4、 bun-darwin-x64-baseline.zip 15.73MB

5、 bun-darwin-x64-profile.zip 16.58MB

6、 bun-darwin-x64.zip 16.13MB

7、 bun-linux-aarch64-profile.zip 55.21MB

8、 bun-linux-aarch64.zip 29.54MB

9、 bun-linux-x64-baseline-profile.zip 55.86MB

10、 bun-linux-x64-baseline.zip 31.29MB

11、 bun-linux-x64-profile.zip 56.36MB

12、 bun-linux-x64.zip 31.66MB

查看:2022-08-11发行的版本