To install Bun v1.0.5:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bun
To upgrade to Bun v1.0.5:
bun upgrade
Read Bun v1.0.5's release notes on Bun's blog
What's Changed
- Add license information to package.json by @mathiasrw in #6255
- Docs: Update context.md by @wbjohn in #6256
- docs: update
typescript.md
by @jsparkdev in #6222 - feat(encoding): support BOM detection with test passed by @WingLim in #6074
- Fix bunx command for github package #5974 by @axlEscalada in #6042
- fix(blob): Add the current offset to the new blob slice by @Hanaasagi in #6259
- compat: Buffer: allow optional positional arguments to be undefined by @kitsuned in #4911
- Support
bun run --if-present
by @Electroid in #6248 - Upgrade webkit by @dylan-conway in #6277
- Closes #6309 by @colinhacks in #6310
- Create
AbortSignal
without JS by @Jarred-Sumner in #6278 - Update
preload
documentation to make applicability to plugins more obvious by @Pandapip1 in #6298 - Fix
query
property ofurl
object by @Jarred-Sumner in #6274 - fix semver and repository host bugs by @dylan-conway in #6312
- Use singular nouns when appropriate on install messages by @jakeboone02 in #2543
- Update Node.js compat docs by @colinhacks in #6282
- test(bun install): cover http(s) non-github case by @booniepepper in #6190
- WebCryptoAPI: remove JWK "EdDSA" alg checks by @panva in #6294
- fix(serve): fix
close_connection
behaviour inendWithoutBody
by @Hanaasagi in #6315 - docs:
file.stream()
is not a promise by @pnodet in #6337 - [types] allow onLoad plugin callbacks to return undefined by @silversquirl in #6346
- Fix memory leak in fetch() by @Jarred-Sumner in #6350
- feat(KeyObject) by @cirospaciari in #5940
- Fix array variables preview in debugger by @2hu12 in #6379
- fix: support uint8 exit code range by @liz3 in #6303
- docs: fixing a couple typos by @Cadienvan in #6331
- Update README.md by @Longju000 in #6291
- added commands by @babarkhuroo in #6314
- [Docs] Add Fedora build instructions to development.md by @otterDeveloper in #6359
- fix(AbortSignal/fetch) fix AbortSignal.timeout, fetch lock behavior and fetch errors by @cirospaciari in #6390
- Documentation for the IPC of Bun.spawn by @RaresAil in #6400
- Update vite.md : removal of incorrect information about --bun flag by @yukulele in #6399
- Add missing ws declarations by @vthemelis in #6307
- docs: rearranged cli/runtime related sections by @cyfung1031 in #6275
- Add File to binary data TOC by @AaronDewes in #6025
- make peer dependencies install by default by @dylan-conway in #6396
- fix: form data content type by @yadav-saurabh in #6380
- feat(test): implement
toEqualIgnoringWhitespace
by @EladBezalel in #6293 - Fix lifecycle scripts not running on reinstallation by @Arden144 in #6376
- feat(install): automatically migrate package-lock.json to bun.lockb by @paperdave in #6352
New Contributors
- @mathiasrw made their first contribution in #6255
- @wbjohn made their first contribution in #6256
- @jsparkdev made their first contribution in #6222
- @kitsuned made their first contribution in #4911
- @Pandapip1 made their first contribution in #6298
- @panva made their first contribution in #6294
- @2hu12 made their first contribution in #6379
- @Cadienvan made their first contribution in #6331
- @Longju000 made their first contribution in #6291
- @babarkhuroo made their first contribution in #6314
- @otterDeveloper made their first contribution in #6359
- @RaresAil made their first contribution in #6400
- @yukulele made their first contribution in #6399
- @vthemelis made their first contribution in #6307
- @EladBezalel made their first contribution in #6293
- @Arden144 made their first contribution in #6376
Full Changelog: bun-v1.0.4...bun-v1.0.5