Read Bun v0.6.8's release notes on Bun's blog
To install:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bun
To upgrade:
bun upgrade
What's Changed
- [tests] prisma tests by @cirospaciari in #3197
- make hardcoded -> make esm + document needing bun to build bun by @paperdave in #3188
- Add test case for bundler by @paperdave in #3186
- [Transpiler] Fix normalizing \r\n in tagged template string literals by @Jarred-Sumner in #3209
removeAllListeners
returnthis
by @dylan-conway in #3208- Implement
Bun.password
andBun.passwordSync
by @Jarred-Sumner in #3204 - [transpiler] Fix new length for raw template contents by @dylan-conway in #3215
- allow
v
flag in regexp literal by @dylan-conway in #3213 - add a test for lodash-es by @paperdave in #3217
- Bun.passwordSync -> Bun.password.{method}Sync by @colinhacks in #3228
- put exact zig version in development docs by @paperdave in #3229
- Docs for
Bun.password
and ws publish by @colinhacks in #3227 - console.log(Buffer.from('a')) ->
Buffer(1) [...
instead ofUint8Array(1) [...
by @Jarred-Sumner in #3220 - [breaking][bun:sqlite]
.values()
returns[]
instead ofnull
by @Jarred-Sumner in #3219 - improve stream types by @paperdave in #3240
- replace
sudo
usage in GitHub Actions by @alexlamsl in #3254 - docs: add missing right parenthesis in example code by @jamesliu96 in #3245
- Fix to retain a newline after removing a package by @ytakhs in #3231
- Implement mocks in bun:test by @Jarred-Sumner in #3252
- Improve types for mocks by @colinhacks in #3261
- [install] fix life cycle scripts execution by @alexlamsl in #3235
- Fixes #3206 by @Jarred-Sumner in #3262
toMatchObject
and some asymmetric matchers by @dylan-conway in #3260- [docs] update implemented matchers by @dylan-conway in #3264
New Contributors
- @jamesliu96 made their first contribution in #3245
- @ytakhs made their first contribution in #3231
Full Changelog: bun-v0.6.7...bun-v0.6.8