github oven-sh/bun bun-v0.0.46
Bun v0.0.46

latest releases: bun-v1.1.29, bun-v1.1.28, bun-v1.1.27...
2 years ago

To upgrade:

bun upgrade

Like last release, this one is mostly bug fixes.

Better ZSH completions

The zsh completions now include flags, descriptions of subcommands, and "scripts" appear above package bins.

Also:

  • Filter out post.* and pre.* scripts from completions
  • Filter out .js files that start with . from completions
  • Filter out builtin commands from showing up at the top

The plugin for the typeahead here is zsh-autocomplete

macOS Mojave & macOS Catalina support

For absolutely no good reason, Bun was not able to run on any macOS version before macOS 11. Now bun should work for macOS Mojave and macOS Catalina.

However, I don't have a test machine so please let me know if it still doesn't work.

Bug fixes:

  • [resolver] Fix a bug with importing modules from packages using /*.extension in "exports" package.json and improve test coverage
  • [internal] Improve error messages when Bun fails to build due to a missing dependency
  • [zsh] zsh completions should more reliably find a directory to put them in
  • [zsh] Command not found: compdef previously appeared if zsh completions weren't installed. That's fixed now

Don't miss a new bun release

NewReleases is sending notifications on new releases.