Bun v1.0
Jarred-Sumner
released this
08 Sep 14:00
·
3804 commits
to main
since this release
Today is an exciting day.
To install Bun v1.0:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bun
To upgrade to Bun v1.0:
bun upgrade
Read Bun v1.0.0's release notes on Bun's blog
What's Changed
- Fix assertion failure with sourcemaps in multi-threaded transpiler by @Jarred-Sumner in #4321
- Automatically hot reload Bun.serve() by @Jarred-Sumner in #4344
- Fix the crash when importing a module that does not exist. by @Hanaasagi in #4348
- More improvements to debugger support by @Electroid in #4345
- Set the timezone in spawn in tests by @Jarred-Sumner in #4337
- @Electroid's dap changes by @Jarred-Sumner in #4367
- Fix some edge cases in the
env
param ofspawn
. by @Hanaasagi in #4364 - just kernel32 things by @Jarred-Sumner in #4354
- make pending_response and metdata life cycle more clear and make fetch more reliable by @cirospaciari in #4331
- Bring uSockets & uWebSockets forks into Bun's repository by @Jarred-Sumner in #4372
- remove uws from .gitmodules by @prabhatexit0 in #4374
- use
options.fd
if provided forfs.Read/WriteStream
by @dylan-conway in #4378 - feat(node:dns): implement
dns.reverse
. by @Hanaasagi in #4332 - fix #4356 by @dylan-conway in #4386
- Fix close callback and open event for fs streams by @dylan-conway in #4384
- add unix socket support for
node:http.server
by @Hanaasagi in #4390 - fix(node-fetch): use stream.Readable instead of web streams by @paperdave in #4394
- Fix assertion failure in spawn-related tests by @Jarred-Sumner in #4400
- More support for DAP by @Electroid in #4380
- reset signal handlers in Bun.spawn by @Jarred-Sumner in #4405
- fix(http/https) disable decompress on http/https client by @cirospaciari in #4399
- minor rebuild diffs by @alexlamsl in #4416
- exit handlers for resetting tty by @dylan-conway in #4419
- [install] fix stale root life-cycle script in lockfile by @alexlamsl in #4411
- add life cycle scripts to lockfile metahash by @dylan-conway in #4420
- feat(node:fs): add
cp
/cpSync
/promises.cp
+ asynccopyFile
by @paperdave in #4340 - Fix(semver): fix matching with pre-release version by @Hanaasagi in #4412
- get name if not provided in
FormData.append
by @dylan-conway in #4434 bun install
correctly join dependency URLs by @Parzival-3141 in #4421- only set initial debugger breakpoint once by @dylan-conway in #4441
- fix(runtime):
fs.cp
edge cases by @paperdave in #4439 - fix(runtime): fix dns_resolver crash by @paperdave in #4435
- fix
Bun.serve
with tls andBun.file
by @dylan-conway in #4450 - keep
export * as
by @dylan-conway in #4451 - Fix typo in docs/api/tcp by @JorgeJimenez15 in #4445
- docs: fix http simple example log statement by @karlbohlmark in #4320
- fix(runtime): Fix
fs.stat().mtime
on MacOS by @paperdave in #4440 - fix(syscall): fix handling syscall errno by @Hanaasagi in #4461
- fix(HTMLRewriter) buffer response before transform by @cirospaciari in #4418
- docs typo:
loaders
->loader
by @Hanaasagi in #4476 - fix zlib deflate on fetch by @cirospaciari in #4483
- remove
chmod
usage with--bun
flag by @dylan-conway in #4490 - fix dup syscall on Windows by @CGQAQ in #4496
- minor rebuild diffs by @alexlamsl in #4486
- fix ipv6 localhost fetch by @dylan-conway in #4498
- fix checkout/build failure due to
src/deps/uws
by @alexlamsl in #4505 - fix(install): ensure all lockfile structs do not have undefined padding by @paperdave in #4401
- fix(fetch) fix proxy tunneling by @cirospaciari in #4510
- fix(fetch) always use readable stream if it is available by @cirospaciari in #4503
- fix(node:net): emit close event on connection error by @paperdave in #4336
- feat(runtime): Implement
fs.watchFile
by @paperdave in #4467 - Align
process.nextTick
execution order with Node by @Jarred-Sumner in #4409 - fix text decode trim by @dylan-conway in #4495
- update root certs by @cirospaciari in #4499
- Update development.md by @ThatOneBro in #4480
- allocate task for
ThreadSafeFunction
by @dylan-conway in #4513 - fix(runtime): fix
events.once
not using a once listener. by @paperdave in #4520 - Update node:fs compat docs cp/cpSync/watchFile/unwatchFile by @birkskyum in #4525
- feat(fetch) rejectUnauthorized and checkServerIdentity by @cirospaciari in #4514
- Progress for Next.js by @paperdave in #4468
- revert by @paperdave in #4539
- fix(fetch) closeAndFail instead of close by @cirospaciari in #4537
- fix(cli): final touches for 1.0 by @paperdave in #4538
- Doc updates for v1.0 by @colinhacks in #4485
- Bump version to Bun 1.0.0 by @paperdave in #4543
- Fix typo in sveltekit.md by @hiadamk in #4550
- Fix a couple important bugs by @Jarred-Sumner in #4560
New Contributors
- @prabhatexit0 made their first contribution in #4374
- @JorgeJimenez15 made their first contribution in #4445
- @karlbohlmark made their first contribution in #4320
- @birkskyum made their first contribution in #4525
- @hiadamk made their first contribution in #4550
Full Changelog: bun-v0.8.1...bun-v1.0.0