To upgrade:
bun upgrade
If you have any problems upgrading
Run this:
curl https://bun.sh/install | bash
What's new
- No more "Illegal Instruction" error on start for those using CPUs which don't support AVX/AVX2 instructions! Thanks to bun's new
baseline
builds, these are separate builds of bun for Linux x64 and macOS x64 which do not use AVX/AVX2 instructions. You can install with the install script. This was one of the most common issues people ran into. - Add
util.TextEncoder
by @soneymathew in#844
- fix(ffi): double-free segfault with symbols object by @sno2 in
#919
-profile
builds of bun include debug symbols- Update bun-framework-next for Compatibility with Next 12.2+ by @TiKevin83 in
#920
Thanks to upgrading WebKit:
- 3.5x faster JSON.stringify (thanks @darinadler)
- 396x faster TypedArray.from (thanks @Constellation)
- 1.5x faster Uint8Array.slice() (thanks @Constellation)
- Up to 2% faster JS execution on Linux due to enabling new memory allocator (libpas, thanks @Constellation)
Commits
- doc: added an helper for the huge Makefile by @Sanix-Darker in
#804
- fix install script colors for light background by @alexkuz in
#800
- Fix mistake in Next.js Example README. by @AadiTheCodecerer in
#827
- feat: add .PHONY on makefile targets by @Sanix-Darker in
#847
- ci: add docker caching to ci workflows by @HarshCasper in
#846
- feat: added info, info_bod and success method to wrap type of messages by @Sanix-Darker in
#845
- [Bun.js] support for util.TextEncoder by @soneymathew in
#844
- fix(examples/hono): refine Hono example by @yusukebe in
#773
- Change bun-types to latest by @LoiLock in
#766
- fix(release): Remove the
${{}}
from theif
block in GHA by @rgoomar in#863
- feat: clean/factorize ARGS in the Dockerfile by @Sanix-Darker in
#839
- Use 'ADD' instead of running wget to make docker compare checksums on… by @mikeswann in
#864
- Increasing test coverage for node compatibility for util by @soneymathew in
#854
- chore(installer): use this repository instead release-for-updater by @xHyroM in
#582
- fix(types): add missing types for WebSocket by @xHyroM in
#578
- Add 'scripts/nproc' helper script by @penberg in
#623
- Support for completion in Bash by @zombieleet in
#403
- #609 Don't truncate ascii buffers to 7-bit by @szatkus in
#775
- docs(macos): Improve MacOS Development Instructions by @rgoomar in
#836
- landing/docs: make Bun naming consistent by @holic in
#906
- chore(ci): add segfault label by @sno2 in
#916
- docs: fix broken ffi benchmark link by @xHyroM in
#914
- fix(ffi): double-free segfault with symbols object by @sno2 in
#919
- Update bun-framework-next for Compatibility with Next 12.2+ by @TiKevin83 in
#920
- fix(makefile): devcontainer install by @paperdave in
#933
- Fix/react accessibility by @chasm in
#932
- refactor(bunjs/bindings): code readability fix `functionLazyLoadStrea… by @ryanrussell in
#926
- chore: fix labeler by @xHyroM in
#899
- Fix: move bun, Webkit and zig urls from Jarred-Sumner to oven-sh. by @oransimhony in
#944
- chore: migrate deprecated
@vscode/dev-container-cli
by @kidonng in#912
New Contributors
- @Sanix-Darker made their first contribution in
#804
- @AadiTheCodecerer made their first contribution in
#827
- @HarshCasper made their first contribution in
#846
- @soneymathew made their first contribution in
#844
- @yusukebe made their first contribution in
#773
- @rgoomar made their first contribution in
#863
- @mikeswann made their first contribution in
#864
- @penberg made their first contribution in
#623
- @zombieleet made their first contribution in
#403
- @szatkus made their first contribution in
#775
- @holic made their first contribution in
#906
- @TiKevin83 made their first contribution in
#920
- @paperdave made their first contribution in
#933
- @chasm made their first contribution in
#932
- @oransimhony made their first contribution in
#944
- @kidonng made their first contribution in
#912
Full Changelog: https://github.com/oven-sh/bun/compare/bun-v0.1.5...bun-v0.1.6