Bun v0.1.8 #1053
Jarred-Sumner
announced in
Announcements
Bun v0.1.8
#1053
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A huge thank you to @zhuzilin for all their help on this release. @zhuzilin fixed 4 crashes!
What's new
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-timeWebSocket
is more reliable now. Previously the garbage collector would attempt to free it when the socket was still open 🙉bun:ffi
'stoBuffer
andtoArrayBuffer
functions now support a function pointer to a destructor so that native code can perform cleanup without needing to go through aFinalizationRegistry
.console.log
TypedArray
logs the value for the type (instead of in bytes 🙈)console.log(
MessageEvent
) is more useful nowMore:
setInterval
wouldn't cause the process to stay alive 😢 and now that is fixed thanks to @zhuzilinbun install
gets asymlink
backend, which you probably don't want to use in most cases. It's used internally if you dofile:./
as a dependency, which some packages doprocess.revision
returns the git sha used to build bunBug fixes
Typos:
assert
module as a function #941 fix by @JL102 in #941 fix #998Misc:
Full Changelog: bun-v0.1.7...bun-v0.1.8
This discussion was created from the release Bun v0.1.8.
Beta Was this translation helpful? Give feedback.
All reactions