Incredibly fast JavaScript runtime, bundler, test runner, and package manager β all in one
0
Bun bun-v0.8.0
Release date:
August 24, 2023
Previous version:
bun-v0.7.3
(released August 6, 2023)
Magnitude:
10,874
Diff Delta
Contributors:
7 total committers
Commits:
95 Features Released with bun-v0.8.0
Browse Other Releases
Latest Pending
Unreleased π
bun-v1.0.2
Released September 15, 2023
5,953 Ξ
bun-v1.0.1
Released September 12, 2023
608 Ξ
bun-v1.0.0
Released September 8, 2023
12,936 Ξ
bun-v0.8.1
Released August 25, 2023
1,102 Ξ
bun-v0.8.0
Released August 24, 2023
10,874 Ξ
bun-v0.7.3
Released August 6, 2023
1,791 Ξ
bun-v0.7.2
Released August 3, 2023
3,895 Ξ
bun-v0.7.1
Released July 29, 2023
9,982 Ξ
bun-v0.7.0
Released July 21, 2023
7,258 Ξ
bun-v0.6.14
Released July 12, 2023
5,100 Ξ
Top Contributors in bun-v0.8.0
paperclover
Jarred-Sumner
colinhacks
bru02
huseeiin
aquapi
adtac
Directory Browser for bun-v0.8.0
We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.
Release Notes Published
To install: ```bash curl https://bun.sh/install | bash
or you can use npm
npm install -g bun
To upgrade:
```bash
bun upgrade
Read Bun v0.8.0's release notes on Bun's blog
What's Changed
- [install] handle
bun addof existingpeerDependenciescorrectly by @alexlamsl in https://github.com/oven-sh/bun/pull/4028 - Running missing scripts exits with non-0 by @YashoSharma in https://github.com/oven-sh/bun/pull/4026
- Bind require.resolve() by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4030
- Fixes #4010 by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4031
- Fixes #4029 and fixes #4022 by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4032
- Fixes #4001 by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4034
- Fix
path.normalizeedge case. by @Hanaasagi in https://github.com/oven-sh/bun/pull/4042 - WASM test analyzer by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4043
- fix iterating headers with
set-cookieby @dylan-conway in https://github.com/oven-sh/bun/pull/4048 - implement
bun updateby @alexlamsl in https://github.com/oven-sh/bun/pull/4046 - implement fetching data urls by @dylan-conway in https://github.com/oven-sh/bun/pull/4000
- Fix
Bun.hashfunctions by @jhmaster2000 in https://github.com/oven-sh/bun/pull/4054 - Add
envoption fornode:worker_threadsby @paperdave in https://github.com/oven-sh/bun/pull/4052 - make dynamically importing bun work by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4055
- Fix
path.formatcompatibility issue. by @Hanaasagi in https://github.com/oven-sh/bun/pull/4064 - Fix require("console") #3820 by @paperdave in https://github.com/oven-sh/bun/pull/4073
- Set exports to {} in user-constructed CommonJSModuleRecords by @paperdave in https://github.com/oven-sh/bun/pull/4076
- feat(bun/test): Implement "toSatisfy" & "toIncludeRepeated" (fwup) by @TiranexDev in https://github.com/oven-sh/bun/pull/3651
- worker tests by @paperdave in https://github.com/oven-sh/bun/pull/4058
- feat(bun:test) add support for test.each() and describe.each() by @jecquas in https://github.com/oven-sh/bun/pull/4047
- Fix one of the astro segfaults, also fix bun init version by @paperdave in https://github.com/oven-sh/bun/pull/4079
- update simdutf by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4078
- Fix
XLSX.readcoredump by @Hanaasagi in https://github.com/oven-sh/bun/pull/4086 - Add support for bun --revision by @YashoSharma in https://github.com/oven-sh/bun/pull/4027
- remove non-node node-fallbacks by @paperdave in https://github.com/oven-sh/bun/pull/4082
- Sync bun-polyfills branch by @jhmaster2000 in https://github.com/oven-sh/bun/pull/4081
- add util.formatWithOptions by @paperdave in https://github.com/oven-sh/bun/pull/4090
- bun test: format description of test.each by @jecquas in https://github.com/oven-sh/bun/pull/4092
- Fixes #4062 by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4106
- fs.zig: create temp files with 0o700, not 0o007 by @adtac in https://github.com/oven-sh/bun/pull/4107
- Handle thundering herd of setInterval by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4109
- Fix memory leak in Buffer.toString('base64url') by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4111
- run files without extensions by @dylan-conway in https://github.com/oven-sh/bun/pull/4113
- make
astro buildslightly faster by making fs.realpath actually async, and fix a potential crash in fs.readFile by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4117 - Support TypeScript's
export type * as Foo from 'bar'by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4125 bun-wasmfixes & improvements by @jhmaster2000 in https://github.com/oven-sh/bun/pull/4126- Deprecate loading
node_modules.bunby @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4131 - Fix custom config path not working. by @Hanaasagi in https://github.com/oven-sh/bun/pull/4129
- Fix worker event loop ref/unref + leak by @paperdave in https://github.com/oven-sh/bun/pull/4114
- Update Stric guides by @aquapi in https://github.com/oven-sh/bun/pull/4137
- Fix
make setupby @paperdave in https://github.com/oven-sh/bun/pull/4148 - Make builtins' source origin use a valid url by @paperdave in https://github.com/oven-sh/bun/pull/4152
- fix importing too long of strings by @paperdave in https://github.com/oven-sh/bun/pull/4155
- chore: fix method name typo by @Hanaasagi in https://github.com/oven-sh/bun/pull/4162
- Fix event loop issue with
Bun.connectby @paperdave in https://github.com/oven-sh/bun/pull/4157 - Update docs our current status of node compatibility by @paperdave in https://github.com/oven-sh/bun/pull/4172
- Create domjit.test.ts by @dylan-conway in https://github.com/oven-sh/bun/pull/4173
- Fix prisma linux generation by @cirospaciari in https://github.com/oven-sh/bun/pull/4150
bun --inspectby @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4158- Add SvelteKit guide by @colinhacks in https://github.com/oven-sh/bun/pull/4180
- Add SolidStart guide by @colinhacks in https://github.com/oven-sh/bun/pull/4182
- Fix leaking .ptr by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4181
- correct guide's bunfig example option by @xxxhussein in https://github.com/oven-sh/bun/pull/4192
- Add Astro guide by @colinhacks in https://github.com/oven-sh/bun/pull/4110
- refactor: move HTMLRewriter to c++ bindings by @bru02 in https://github.com/oven-sh/bun/pull/4193
- Fix(node:fs): add
bufferparameter infs.readcallback. by @Hanaasagi in https://github.com/oven-sh/bun/pull/4191 - Allow IncomingRequest.req to be overwritten. by @paperdave in https://github.com/oven-sh/bun/pull/4154
- Support Nitro by @paperdave in https://github.com/oven-sh/bun/pull/4098
- Add
util.inspect.customsupport toutil.inspect/Bun.inspect/console.logby @paperdave in https://github.com/oven-sh/bun/pull/4194 - Remove most C API usages, add debugger pretty printers for
Headers,URLSearchParams,FormData,Worker,EventTargetby @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4187 - Implement BigIntStats by @paperdave in https://github.com/oven-sh/bun/pull/4208
- feat: add self-closing & can-have-content by @bru02 in https://github.com/oven-sh/bun/pull/4206
- tty
ReadStream,WriteStream, and readline rawmode by @dylan-conway in https://github.com/oven-sh/bun/pull/4179 - Add inline sourcemaps when
--inspectis enabled by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4213 - Fixes #172 by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4220
- Fix crash impacting sharp & resvg by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4221
- Add unsupported (yet) comment to distroless image by @o-az in https://github.com/oven-sh/bun/pull/4210
- Fix(bundler): use different alias mappings based on the target. by @Hanaasagi in https://github.com/oven-sh/bun/pull/4163
- Fix test failures from 3a9a6c63a by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4231
- Implement
--inspect-brkby @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4222 - Fixes #1675 by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4230
- Update README.md by @xxxhussein in https://github.com/oven-sh/bun/pull/4232
- Fix memory leak in
buffer.toString("hex")by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4235 - Buffer.toString('hex') gets 40x faster by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4237
- Fixes #4089 by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4105
- feat: Implement Bun.inspect.custom by @paperdave in https://github.com/oven-sh/bun/pull/4243
- Implement
napi_ref_threadsafe_functionby @paperdave in https://github.com/oven-sh/bun/pull/4156 - Fix crypto.EC constructor by @paperdave in https://github.com/oven-sh/bun/pull/4242
- Fix(bundler): allow generating exe file in nested path. by @Hanaasagi in https://github.com/oven-sh/bun/pull/4226
- Fix
emitKeyPresseswith backspace + quote by @paperdave in https://github.com/oven-sh/bun/pull/4245 - fetch(stream) add stream support for compressed and uncompressed data by @cirospaciari in https://github.com/oven-sh/bun/pull/4127
- import errors have
codeset toERR_MODULE_NOT_FOUNDandrequireerrors havecodeset toMODULE_NOT_FOUNDby @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4244 - Docs and types for v0.8.0 by @colinhacks in https://github.com/oven-sh/bun/pull/4199
- fix stdin stream unref and resuming by @dylan-conway in https://github.com/oven-sh/bun/pull/4250
- fix fsevents and stub for qwikcity by @paperdave in https://github.com/oven-sh/bun/pull/4247
- fix(parser): yield before
]shouldn't be a syntax error by @paperdave in https://github.com/oven-sh/bun/pull/4264 - Ask for
bun --revisioninsteadbun -vby @xHyroM in https://github.com/oven-sh/bun/pull/4256 - Fix more types. by @xxxhussein in https://github.com/oven-sh/bun/pull/4273
- docs: remove broken DNS docs link by @LapsTimeOFF in https://github.com/oven-sh/bun/pull/4268
- Bunch of streams fixes by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/4251
- Fix ffi type by @codehz in https://github.com/oven-sh/bun/pull/4265
- Update globals.d.ts by @VietnamecDevelopment in https://github.com/oven-sh/bun/pull/4276
New Contributors
- @YashoSharma made their first contribution in https://github.com/oven-sh/bun/pull/4026
- @jhmaster2000 made their first contribution in https://github.com/oven-sh/bun/pull/4054
- @jecquas made their first contribution in https://github.com/oven-sh/bun/pull/4047
- @adtac made their first contribution in https://github.com/oven-sh/bun/pull/4107
- @o-az made their first contribution in https://github.com/oven-sh/bun/pull/4210
- @LapsTimeOFF made their first contribution in https://github.com/oven-sh/bun/pull/4268
- @codehz made their first contribution in https://github.com/oven-sh/bun/pull/4265
- @VietnamecDevelopment made their first contribution in https://github.com/oven-sh/bun/pull/4276
Full Changelog: https://github.com/oven-sh/bun/compare/bun-v0.7.3...bun-v0.8.0
