bun - bun-v0.6.7


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

image

What's Changed

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

New Contributors

  • @nchase made their first contribution in https://github.com/oven-sh/bun/pull/3160

Full Changelog: https://github.com/oven-sh/bun/compare/bun-v0.6.6...bun-v0.6.7


Details

date
June 3, 2023, 8:04 a.m.
name
Bun v0.6.7
type
Patch
👇
Register or login to:
  • 🔍View and search all bun releases.
  • 🛠️Create and share lists to track your tools.
  • 🚨Setup notifications for major, security, feature or patch updates.
  • 🚀Much more coming soon!
Continue with GitHub
Continue with Google
or