Ir al contenido
verdict:

Bun 1.0.0

featured

note: la síntesis y las notas de la versión están en inglés

ok: actualización segura

0 breaking changes5 puntos clave

Bun 1.0.0 adds hot reloading for Bun.serve() and Node-compatible fs.cp and fs.watchFile, plus many fixes.

síntesis · solo a partir de las notas de la versión · claude-haiku-5-5 · prompt v7

puntos clave

release-notesgithub.com/oven-sh/bun · 94 líneas
  1. Today is an exciting day.
  2. To install Bun v1.0:
  3. ```bash
  4. curl https://bun.sh/install | bash
  5. # or you can use npm
  6. # npm install -g bun
  7. ```
  8. To upgrade to Bun v1.0:
  9. ```bash
  10. bun upgrade
  11. ```
  12. **[Read Bun v1.0.0's release notes on Bun's blog](https://bun.sh/blog/bun-v1.0)**
  13. ## What's Changed
  14. * Fix assertion failure with sourcemaps in multi-threaded transpiler by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4321
  15. * Automatically hot reload Bun.serve() by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4344
  16. * Fix the crash when importing a module that does not exist. by @Hanaasagi in https://github.com/oven-sh/bun/pull/4348
  17. * More improvements to debugger support by @Electroid in https://github.com/oven-sh/bun/pull/4345
  18. * Set the timezone in spawn in tests by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4337
  19. * @electroid's dap changes by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4367
  20. * Fix some edge cases in the `env` param of `spawn`. by @Hanaasagi in https://github.com/oven-sh/bun/pull/4364
  21. * just kernel32 things by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4354
  22. * make pending_response and metdata life cycle more clear and make fetch more reliable by @cirospaciari in https://github.com/oven-sh/bun/pull/4331
  23. * Bring uSockets & uWebSockets forks into Bun's repository by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4372
  24. * remove uws from .gitmodules by @prabhatexit0 in https://github.com/oven-sh/bun/pull/4374
  25. * use `options.fd` if provided for `fs.Read/WriteStream` by @dylan-conway in https://github.com/oven-sh/bun/pull/4378
  26. * feat(node:dns): implement `dns.reverse`. by @Hanaasagi in https://github.com/oven-sh/bun/pull/4332
  27. * fix #4356 by @dylan-conway in https://github.com/oven-sh/bun/pull/4386
  28. * Fix close callback and open event for fs streams by @dylan-conway in https://github.com/oven-sh/bun/pull/4384
  29. * add unix socket support for `node:http.server` by @Hanaasagi in https://github.com/oven-sh/bun/pull/4390
  30. * fix(node-fetch): use stream.Readable instead of web streams by @paperdave in https://github.com/oven-sh/bun/pull/4394
  31. * Fix assertion failure in spawn-related tests by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4400
  32. * More support for DAP by @Electroid in https://github.com/oven-sh/bun/pull/4380
  33. * reset signal handlers in Bun.spawn by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4405
  34. * fix(http/https) disable decompress on http/https client by @cirospaciari in https://github.com/oven-sh/bun/pull/4399
  35. * minor rebuild diffs by @alexlamsl in https://github.com/oven-sh/bun/pull/4416
  36. * exit handlers for resetting tty by @dylan-conway in https://github.com/oven-sh/bun/pull/4419
  37. * [install] fix stale root life-cycle script in lockfile by @alexlamsl in https://github.com/oven-sh/bun/pull/4411
  38. * add life cycle scripts to lockfile metahash by @dylan-conway in https://github.com/oven-sh/bun/pull/4420
  39. * feat(node:fs): add `cp`/`cpSync`/`promises.cp` + async `copyFile` by @paperdave in https://github.com/oven-sh/bun/pull/4340
  40. * Fix(semver): fix matching with pre-release version by @Hanaasagi in https://github.com/oven-sh/bun/pull/4412
  41. * get name if not provided in `FormData.append` by @dylan-conway in https://github.com/oven-sh/bun/pull/4434
  42. * `bun install` correctly join dependency URLs by @Parzival-3141 in https://github.com/oven-sh/bun/pull/4421
  43. * only set initial debugger breakpoint once by @dylan-conway in https://github.com/oven-sh/bun/pull/4441
  44. * fix(runtime): `fs.cp` edge cases by @paperdave in https://github.com/oven-sh/bun/pull/4439
  45. * fix(runtime): fix dns_resolver crash by @paperdave in https://github.com/oven-sh/bun/pull/4435
  46. * fix `Bun.serve` with tls and `Bun.file` by @dylan-conway in https://github.com/oven-sh/bun/pull/4450
  47. * keep `export * as` by @dylan-conway in https://github.com/oven-sh/bun/pull/4451
  48. * Fix typo in docs/api/tcp by @JorgeJimenez15 in https://github.com/oven-sh/bun/pull/4445
  49. * docs: fix http simple example log statement by @karlbohlmark in https://github.com/oven-sh/bun/pull/4320
  50. * fix(runtime): Fix `fs.stat().mtime` on MacOS by @paperdave in https://github.com/oven-sh/bun/pull/4440
  51. * fix(syscall): fix handling syscall errno by @Hanaasagi in https://github.com/oven-sh/bun/pull/4461
  52. * fix(HTMLRewriter) buffer response before transform by @cirospaciari in https://github.com/oven-sh/bun/pull/4418
  53. * docs typo: `loaders` -> `loader` by @Hanaasagi in https://github.com/oven-sh/bun/pull/4476
  54. * fix zlib deflate on fetch by @cirospaciari in https://github.com/oven-sh/bun/pull/4483
  55. * remove `chmod` usage with `--bun` flag by @dylan-conway in https://github.com/oven-sh/bun/pull/4490
  56. * fix dup syscall on Windows by @CGQAQ in https://github.com/oven-sh/bun/pull/4496
  57. * minor rebuild diffs by @alexlamsl in https://github.com/oven-sh/bun/pull/4486
  58. * fix ipv6 localhost fetch by @dylan-conway in https://github.com/oven-sh/bun/pull/4498
  59. * fix checkout/build failure due to `src/deps/uws` by @alexlamsl in https://github.com/oven-sh/bun/pull/4505
  60. * fix(install): ensure all lockfile structs do not have undefined padding by @paperdave in https://github.com/oven-sh/bun/pull/4401
  61. * fix(fetch) fix proxy tunneling by @cirospaciari in https://github.com/oven-sh/bun/pull/4510
  62. * fix(fetch) always use readable stream if it is available by @cirospaciari in https://github.com/oven-sh/bun/pull/4503
  63. * fix(node:net): emit close event on connection error by @paperdave in https://github.com/oven-sh/bun/pull/4336
  64. * feat(runtime): Implement `fs.watchFile` by @paperdave in https://github.com/oven-sh/bun/pull/4467
  65. * Align `process.nextTick` execution order with Node by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4409
  66. * fix text decode trim by @dylan-conway in https://github.com/oven-sh/bun/pull/4495
  67. * update root certs by @cirospaciari in https://github.com/oven-sh/bun/pull/4499
  68. * Update development.md by @ThatOneBro in https://github.com/oven-sh/bun/pull/4480
  69. * allocate task for `ThreadSafeFunction` by @dylan-conway in https://github.com/oven-sh/bun/pull/4513
  70. * fix(runtime): fix `events.once` not using a once listener. by @paperdave in https://github.com/oven-sh/bun/pull/4520
  71. * Update node:fs compat docs cp/cpSync/watchFile/unwatchFile by @birkskyum in https://github.com/oven-sh/bun/pull/4525
  72. * feat(fetch) rejectUnauthorized and checkServerIdentity by @cirospaciari in https://github.com/oven-sh/bun/pull/4514
  73. * Progress for Next.js by @paperdave in https://github.com/oven-sh/bun/pull/4468
  74. * revert by @paperdave in https://github.com/oven-sh/bun/pull/4539
  75. * fix(fetch) closeAndFail instead of close by @cirospaciari in https://github.com/oven-sh/bun/pull/4537
  76. * fix(cli): final touches for 1.0 by @paperdave in https://github.com/oven-sh/bun/pull/4538
  77. * Doc updates for v1.0 by @colinhacks in https://github.com/oven-sh/bun/pull/4485
  78. * Bump version to Bun 1.0.0 by @paperdave in https://github.com/oven-sh/bun/pull/4543
  79. * Fix typo in sveltekit.md by @hiadamk in https://github.com/oven-sh/bun/pull/4550
  80. * Fix a couple important bugs by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4560
  81. ## New Contributors
  82. * @prabhatexit0 made their first contribution in https://github.com/oven-sh/bun/pull/4374
  83. * @JorgeJimenez15 made their first contribution in https://github.com/oven-sh/bun/pull/4445
  84. * @karlbohlmark made their first contribution in https://github.com/oven-sh/bun/pull/4320
  85. * @birkskyum made their first contribution in https://github.com/oven-sh/bun/pull/4525
  86. * @hiadamk made their first contribution in https://github.com/oven-sh/bun/pull/4550
  87. **Full Changelog**: https://github.com/oven-sh/bun/compare/bun-v0.8.1...bun-v1.0.0

ver en githubimported 2026-09-28 vía github-releases