Bun v1.0.2
·
4961 commits
to main
since this release
To install Bun v1.0.2:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bun
To upgrade to Bun v1.0.2:
bun upgrade
Read Bun v1.0.2's release notes on Bun's blog
What's Changed
- fix(bun-lambda) Fix API Gateway V1 events and expand on Lambda documentation by @mkossoris in #5161
- fix lifecycle docu by @ximex in #5159
- docs: fix typos by @s-rigaud in #5151
- Updated Lambda readme by @tsndr in #5127
- Add missing full stop on nodejs-apis.md by @diogo405 in #5072
- update dev build instruction for arch by @mi4uu in #5069
- fix typo and grammar errors in bunfig.toml by @xNaCly in #5046
- Update simple.md by @tomredman in #4997
- Update hot.md by @nazeelashraf in #4990
- docs: fix typo in import.meta.resolve by @jonathantneal in #5146
- [Docs] Use git's
--global
flag for lockfile diffs instead of manually editing config files. by @Southpaw1496 in #5143 - Various docs by @colinhacks in #5201
- docs: Made bun-types install as dev dependency in example by @MasterGordon in #5120
- js/node/stream.js: call write() callback when encoding is not provided by @cfal in #4841
- Correct the configuration file names. by @nathanhammond in #5234
- decode regex if needed by @dylan-conway in #5167
- Update misleading documentation link by @0x346e3730 in #5227
- file.exists() needs to be awaited to get the value by @amt8u in #5061
- docs(runtime): fix jsx FragmentFactory output example by @zongzi531 in #5243
- Add informative message on
bun create react
by @colinhacks in #5248 - chore: make comment grammatically correct by @G-Rath in #5140
- docs(runtime): fix plugins loader extensions typo by @zongzi531 in #5250
- avoid inserting extraneous"accept-encoding" header by @iidebyo in #5057
- fix(node/fetch): Make data URL fetch consistent with node by @davidmhewitt in #5126
- docs: update lockfile diff instructions by @gtramontina in #5275
- add uninstall instructions by @browner12 in #5311
- docs(guide): fix expect assertion example in guide for
spyOn
by @winghouchan in #5294 - chore(docs): include missing links to Node.js APIs by @styfle in #5281
- Fixed api & cli docs typo. by @jamesgordo in #5262
- fix(runtime): require cache should not include unevaluated ESM modules. by @paperdave in #5233
- Make --watch instant by @Jarred-Sumner in #5236
- feat(nodejs): implement
os.availableParallelism
by @WingLim in #5109 - fix(console.log) fix printing long custom format by @cirospaciari in #5164
- fix(node:dns): fix crash and compatibility issues with
resolve
by @Hanaasagi in #5200 - fix(doc): Add "compilerOptions" to bun-types README.md by @philolo1 in #5325
- fix(BunFile.slice) fix slice when length is greater than the size by @cirospaciari in #5186
- More docs & helptext cleanup by @colinhacks in #5229
- doc(guides): update sveltekit guide by @mroyme in #5285
- modules documentation didn't have correct import example by @miccou in #5225
- fix link to "local template" by @desm in #5115
- chore: test for overwriting _resolveFilename by @paperdave in #5244
- Fix bug with multiline string in CRLF terminated files (#4893) by @tikotzky in #5318
- fix(runtime): make most globals configurable/deletable, allow resuming the console iterator by @paperdave in #5216
- fix(Bun.serve) fix buffering edge case by @cirospaciari in #5152
- Update nextjs.md by @kryparnold in #4905
- Update simple.md by @TwanLuttik in #4881
- Update nuxt.md by @s0h311 in #4452
- Remove the ability to configure lockfile location. by @nathanhammond in #5335
- In
bunx
, always get latest version when @latest is explicitly passed by @Jarred-Sumner in #5346 - Fix typo in HTTPThread name by @chrisbodhi in #5376
- docs - Add "workspace:*" to workspace docs. by @dylang in #5379
- fix(docs): Fix the text that
bun run --bun
is the same asbun
by @DuGlaser in #4647 - fix warnings during bun run publish-layer by @nangchan in #5419
- fix(runtime): emit
node:net
connect error event vs throw by @paperdave in #5336 - v8 date parser tests by @dylan-conway in #5332
- async-ify all node:fs functions by @Jarred-Sumner in #5360
- fix dockerfile by @Jarred-Sumner in #5439
- fix http set cookie headers by @dylan-conway in #5428
- fix(nitro) fix sourcemaps and JSSink closing by @cirospaciari in #5422
- Update docs/quickstart.md by @sonyarianto in #5425
- dup and close file descriptors by @dylan-conway in #5341
- Make
bun run --silent
omit"error: "..." exited with code 1
by @Jarred-Sumner in #5459 - Does not fix #4622 by @Jarred-Sumner in #5452
- fix(proxy): allow empty string
http_proxy
env by @Hanaasagi in #5464 - Implement
URL.canParse
by @Jarred-Sumner in #5463 - Fixes #5461 by @Jarred-Sumner in #5467
- Fixes #5465 by @Jarred-Sumner in #5468
New Contributors
- @mkossoris made their first contribution in #5161
- @ximex made their first contribution in #5159
- @s-rigaud made their first contribution in #5151
- @tsndr made their first contribution in #5127
- @mi4uu made their first contribution in #5069
- @xNaCly made their first contribution in #5046
- @tomredman made their first contribution in #4997
- @nazeelashraf made their first contribution in #4990
- @jonathantneal made their first contribution in #5146
- @Southpaw1496 made their first contribution in #5143
- @MasterGordon made their first contribution in #5120
- @cfal made their first contribution in #4841
- @nathanhammond made their first contribution in #5234
- @0x346e3730 made their first contribution in #5227
- @amt8u made their first contribution in #5061
- @zongzi531 made their first contribution in #5243
- @G-Rath made their first contribution in #5140
- @iidebyo made their first contribution in #5057
- @gtramontina made their first contribution in #5275
- @browner12 made their first contribution in #5311
- @winghouchan made their first contribution in #5294
- @philolo1 made their first contribution in #5325
- @mroyme made their first contribution in #5285
- @miccou made their first contribution in #5225
- @desm made their first contribution in #5115
- @tikotzky made their first contribution in #5318
- @kryparnold made their first contribution in #4905
- @TwanLuttik made their first contribution in #4881
- @s0h311 made their first contribution in #4452
- @chrisbodhi made their first contribution in #5376
- @dylang made their first contribution in #5379
- @DuGlaser made their first contribution in #4647
- @nangchan made their first contribution in #5419
- @sonyarianto made their first contribution in #5425
Full Changelog: bun-v1.0.1...bun-v1.0.2