Bun v0.0.46
Jarred-Sumner
released this
07 Nov 11:33
·
9930 commits
to main
since this release
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.*
andpre.*
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