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