bun - bun-v0.7.1


To install:

curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bun

To upgrade:

bun upgrade

Read Bun v0.7.1's release notes on Bun's blog

What's Changed

  • Typo loaders.md by @vjpr in https://github.com/oven-sh/bun/pull/3728
  • clean tables before testing by @cirospaciari in https://github.com/oven-sh/bun/pull/3721
  • improve test by @alexlamsl in https://github.com/oven-sh/bun/pull/3731
  • fix #3716 by @dylan-conway in https://github.com/oven-sh/bun/pull/3733
  • handle latin1 in Bun__encoding__toString. by @Hanaasagi in https://github.com/oven-sh/bun/pull/3739
  • Use WebKit's URL parser in fetch() and bun install by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3730
  • Unified event loop by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3741
  • Fix writeFileSync when the mode is greater than 0o777. by @Hanaasagi in https://github.com/oven-sh/bun/pull/3747
  • fix path.format for vite build by @paperdave in https://github.com/oven-sh/bun/pull/3734
  • [install] improve workspace substitution of npm dependencies by @alexlamsl in https://github.com/oven-sh/bun/pull/3754
  • Explicitly ref/unref blobs before extracting the value by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3755
  • Update development.md by @arturovt in https://github.com/oven-sh/bun/pull/3718
  • Update nodejs-apis.md by @alexandertrefz in https://github.com/oven-sh/bun/pull/3762
  • Fix bugs with connecting to localhost by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3758
  • more tests for #3754 by @alexlamsl in https://github.com/oven-sh/bun/pull/3774
  • Upgrade WebKit by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3777
  • bun:sqlite gets 10% faster by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3780
  • [install] fix workspace override of aliased npm dependency by @alexlamsl in https://github.com/oven-sh/bun/pull/3784
  • fix rope string push by @dylan-conway in https://github.com/oven-sh/bun/pull/3796
  • Merge import.meta.require and require to be the same thing by @paperdave in https://github.com/oven-sh/bun/pull/3732
  • fix some cases in the dirname function. by @Hanaasagi in https://github.com/oven-sh/bun/pull/3785
  • handle Non-ASCII path (path:dirname) by @Hanaasagi in https://github.com/oven-sh/bun/pull/3799
  • Add guides by @colinhacks in https://github.com/oven-sh/bun/pull/3826
  • [install] handle workspace:[alias@]range by @alexlamsl in https://github.com/oven-sh/bun/pull/3819
  • Concurrent Transpiler by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3816
  • fix decorator and declare by @dylan-conway in https://github.com/oven-sh/bun/pull/3828
  • [fetch] Ignore invalid Content-Encoding header by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3834
  • Start time performance improvements to build tools by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3797
  • Remove lstat call in fs.watch by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3836
  • Make readdir() async, fix crash in large directory trees by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3838
  • Remove no longer needed flag from benchmark documentation by @lpinca in https://github.com/oven-sh/bun/pull/3845
  • Use putDirectIndex instead of initializeIndex when returning rows of data in bun:sqlite by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3839
  • Fix hot reloading in canary by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3848
  • Make readFile() async by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3850
  • Resolve watch directories outside main thread + async iterator and symlink fixes by @cirospaciari in https://github.com/oven-sh/bun/pull/3846
  • Fix bug with // @bun annotation in main thread by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3855
  • Fixes #3795 by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3856
  • fix(tls) exposes native canonicalizeIP and fix rootCertificates by @cirospaciari in https://github.com/oven-sh/bun/pull/3866
  • Support file: URLs in fetch by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3858
  • fix the chunk boundary (node:stream:createReadStream) by @Hanaasagi in https://github.com/oven-sh/bun/pull/3853
  • feat(bun/test): Impl. expect().pass() & expect().fail() by @TiranexDev in https://github.com/oven-sh/bun/pull/3843
  • add fork to child_process by @sirenkovladd in https://github.com/oven-sh/bun/pull/3851
  • MessageChannel and MessagePort by @dylan-conway in https://github.com/oven-sh/bun/pull/3860
  • Ignore when printing to stdout errors by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3869
  • Stat largefile test by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3870

New Contributors

  • @vjpr made their first contribution in https://github.com/oven-sh/bun/pull/3728
  • @alexandertrefz made their first contribution in https://github.com/oven-sh/bun/pull/3762
  • @sirenkovladd made their first contribution in https://github.com/oven-sh/bun/pull/3851

Full Changelog: https://github.com/oven-sh/bun/compare/bun-v0.7.0...bun-v0.7.1


Details

date
July 29, 2023, 4:15 a.m.
name
Bun v0.7.1
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