To install Bun v1.0.7:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bun
To upgrade to Bun v1.0.7:
bun upgrade
Read Bun v1.0.7's release notes on Bun's blog
What's Changed
- fix editing package json when adding github dependency by @dylan-conway in #6432
- Upgrade zig to 0.12.0-dev.888+130227491 by @paperdave in #6471
- Add overrides/resolutions docs by @colinhacks in #6476
- fixes obvious typo in CONTRIBUTING.md by @clay-curry in #6479
- Adds systemd guide to run a bun application as a daemon by @RaresAil in #6451
- Fix dns.lookup returning wrong address for family by @Electroid in #6474
- fix(error): correct the
path
field in syscall error message. by @Hanaasagi in #6370 - fix(node): dns lookup deprecated behavior by @JoaoAlisson in #6391
- Guide to containerize a bun application using Docker by @RaresAil in #6478
- fix lockfile struct padding by @dylan-conway in #6495
- fix installing dependencies that match workspace versions by @dylan-conway in #6494
- fix(net/tls) fix pg hang on end + hanging on query by @cirospaciari in #6487
- Development -> Contributing by @colinhacks in #6538
- Fix a bunch of small things by @Electroid in #6539
- fix(node:worker_threads): ensure threadId property is exposed on worker_threads instance by @jerome-benoit in #6521
- packages:bun-types:add-type-parameter-to-expect by @Voldemat in #6128
- fix-subprocess-argument-missing by @RaresAil in #6407
- fix Response.statusText by @toshok in #6151
- fix(sqlite) Insert .all() does not return an array #5872 by @HForGames in #5946
- fix: don't remove content-encoding header from header table by @liz3 in #5743
- perf(node:events): optimize
emit(...)
function by @yschroe in #5485 - fix(test): when tests run with --only the nested describe blocks `.on… by @igorshapiro in #5616
- Simplify getting Set of extentions by @Connormiha in #4975
- fix(runtime): improve IPC reliability + organization pass on that code by @paperdave in #6475
- fix(runtime): make some things more stable (partial jsc debug build) by @paperdave in #5881
- perf(bun-types): remove needless some call by @Connormiha in #6550
- docs: fix ws.publish by @aralroca in #6558
- fix(node:http): fix
server.address()
by @Hanaasagi in #6442 - use npm alias in dependencies by @dylan-conway in #6545
- fix #4766 by @pierre-cm in #6563
- fix: stub performance.getEntriesByName by @liz3 in #6542
- Fix minimum kernel version in docs by @klatka in #6153
- fix: online docs moved by @mountainash in #6579
- fix: change
--no-scripts
to--ignore-scripts
by @owlcode in #6587 - fix(node:buffer): fix the behavior of
totalLength
inBuffer.concat
by @Hanaasagi in #6574 - fix(serve): When IPv6 is not enabled, attempt to bind to IPv4 address under the same hostname. by @Hanaasagi in #6533
- Add append content to a file guide by @nygmaaa in #6581
- fix install add by @dylan-conway in #6609
- fix(install): dont replace git urls when already present by @liz3 in #6607
- Fix websocket upgrade by @Electroid in #6564
- fix: support custom file type in Bun.file by @liz3 in #6512
- String response for lambda function - no need to stringify string by @vladaman in #6208
- Fix missing function names in console.log and Bun.inspect by @Jarred-Sumner in #6612
- fix findBestMatch so it finds the best match and not the first match by @dylang in #6611
- respect optional peer dependencies and update docs by @dylan-conway in #6615
- Sort list of dependencies and fix test by @Jarred-Sumner in #6616
- Update quickstart.md - removed the part for editing
compilerOptions
… by @PaulaBurgheleaGithub in #6620 - fix(napi): incorrect refCount with napi_wrap() by @alangecker in #6598
- Fixes IV calculation for AES-GCM mode by @imcatwhocode in #6590
New Contributors
- @clay-curry made their first contribution in #6479
- @jerome-benoit made their first contribution in #6521
- @Voldemat made their first contribution in #6128
- @toshok made their first contribution in #6151
- @HForGames made their first contribution in #5946
- @yschroe made their first contribution in #5485
- @Connormiha made their first contribution in #4975
- @aralroca made their first contribution in #6558
- @pierre-cm made their first contribution in #6563
- @klatka made their first contribution in #6153
- @mountainash made their first contribution in #6579
- @owlcode made their first contribution in #6587
- @nygmaaa made their first contribution in #6581
- @vladaman made their first contribution in #6208
- @PaulaBurgheleaGithub made their first contribution in #6620
- @alangecker made their first contribution in #6598
- @imcatwhocode made their first contribution in #6590
Full Changelog: bun-v1.0.6...bun-v1.0.7