Read Bun v0.6.7's release notes on Bun's blog
To install:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bun
To upgrade:
bun upgrade
What's Changed
- ci: dont run builds in forks by @xHyroM in #3156
- fix typo in documentation ("the today" -> "today") by @nchase in #3160
- record cjs export name if it is assigned by @dylan-conway in #3159
- Fix streams breaking on reverted EventEmitter / Make Discord.js work by @paperdave in #2913
- mark currently known test fails as
.todo
by @paperdave in #3052 - [napi] fix thread safe function callback by @cirospaciari in #3162
- random fixes that help vite/sveltekit by @paperdave in #3140
- Fix typo in macros.md by @ThatOneBro in #3165
- Rename
ptr
to_unsafe_ptr_do_not_use
by @Jarred-Sumner in #3163 - Implement
__dirname
and__filename
, allow direct eval in CommonJS by @Jarred-Sumner in #3164 - Bundle and minify
.exports.js
files. by @paperdave in #3036 - Fix github annotation when using inspect() by @Electroid in #3166
- Fixes #3161 by @Jarred-Sumner in #3174
- types: expose Bun.Env by @xHyroM in #3111
- Fix double-escaping bug by @Jarred-Sumner in #3169
- Support
NO_COLOR
environment variable by @Electroid in #3055 - fix
build --compile
by @dylan-conway in #3178 - Update macro/test docs by @colinhacks in #3180
- [napi] some fixes for prisma by @cirospaciari in #3176
- fix readableStreamToArrayBuffer by @paperdave in #3181
- use NODE_ENV for react-jsx or react-jsxdev by @dylan-conway in #3184
- check package name length in
shouldUnwrapRequire()
by @dylan-conway in #3183 - fixes with hardcoded modules by @paperdave in #3182
- Fix crash with path parse in win32 by @Jarred-Sumner in #3187
New Contributors
Full Changelog: bun-v0.6.6...bun-v0.6.7