bun - bun-v0.7.2
To install:
curl https://bun.sh/install | bash
# or you can use npm
# npm install -g bun
To upgrade:
bun upgrade
Read Bun v0.7.2's release notes on Bun's blog
What's Changed
- Typo spawn.md by @jhormanrus in https://github.com/oven-sh/bun/pull/3875
- fix: small error by @0xflotus in https://github.com/oven-sh/bun/pull/3878
- docs: fixed small errors by @0xflotus in https://github.com/oven-sh/bun/pull/3879
- Make
bun:jsc
memoryUsage more accurate by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3876 - ref(bun/test): Refractor 'toBeTypeOf()' + Move some tests by @TiranexDev in https://github.com/oven-sh/bun/pull/3885
- Fix coredump when reading an empty file(
node:stream:createReadStream
) by @Hanaasagi in https://github.com/oven-sh/bun/pull/3882 - Fix memory leak by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3887
- Fix issue with file loader by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3889
- docs(bun/install): Mention {pre|post}prepare by @TiranexDev in https://github.com/oven-sh/bun/pull/3890
- Support
bun .
to run the entry point by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3891 - FIx Uint8Array to a ReadableStream code snippet by @audothomas in https://github.com/oven-sh/bun/pull/3895
- Fix memory leak in response.clone(), further reduce memory usage of Request & Response by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3902
- Update arraybuffer-to-buffer.md by @xxxhussein in https://github.com/oven-sh/bun/pull/3906
- Add ecosystem guides by @colinhacks in https://github.com/oven-sh/bun/pull/3847
- throw error if node module does not exist by @sirenkovladd in https://github.com/oven-sh/bun/pull/3913
- Fix prisma.md typo by @emlez in https://github.com/oven-sh/bun/pull/3921
- add
BroadcastChannel
by @dylan-conway in https://github.com/oven-sh/bun/pull/3922 - Fix expanding on .env files by @cirospaciari in https://github.com/oven-sh/bun/pull/3918
- Fix some flaky tests by @cirospaciari in https://github.com/oven-sh/bun/pull/3919
- fix(fetch) clean declare structs by @cirospaciari in https://github.com/oven-sh/bun/pull/3929
- Update streams.md - typo by @vjpr in https://github.com/oven-sh/bun/pull/3926
- Fix path_watcher by @cirospaciari in https://github.com/oven-sh/bun/pull/3920
- Fixes #3931 by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3933
- Rewrite built-in modules to use CommonJS over ESM by @paperdave in https://github.com/oven-sh/bun/pull/3814
- Implement
node:diagnostics_channel
by @Electroid in https://github.com/oven-sh/bun/pull/3934 - Implement
node:worker_threads
by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3923 - Remove module and browser conditions by @paperdave in https://github.com/oven-sh/bun/pull/3935
- Fix http write by @paperdave in https://github.com/oven-sh/bun/pull/3939
- Dave/removedeprecation by @paperdave in https://github.com/oven-sh/bun/pull/3938
- typo by @paperdave in https://github.com/oven-sh/bun/pull/3941
- Fix the value encoding in
path.extname
. by @Hanaasagi in https://github.com/oven-sh/bun/pull/3949 - Minor optimization: Avoid extra copying when the chunk has only one element. by @Hanaasagi in https://github.com/oven-sh/bun/pull/3946
- [install] fix stale
bun.lockb
on workspaces by @alexlamsl in https://github.com/oven-sh/bun/pull/3945 - Bunch of fixes by @Electroid in https://github.com/oven-sh/bun/pull/3516
- Fix edge case in
path.relative
. by @Hanaasagi in https://github.com/oven-sh/bun/pull/3952 - allow bundling builtins for browser by @dylan-conway in https://github.com/oven-sh/bun/pull/3959
- More guides and fixing links by @colinhacks in https://github.com/oven-sh/bun/pull/3960
New Contributors
- @jhormanrus made their first contribution in https://github.com/oven-sh/bun/pull/3875
- @audothomas made their first contribution in https://github.com/oven-sh/bun/pull/3895
- @emlez made their first contribution in https://github.com/oven-sh/bun/pull/3921
Full Changelog: https://github.com/oven-sh/bun/compare/bun-v0.7.1...bun-v0.7.2
Details
date
Aug. 4, 2023, 12:06 a.m.
name
Bun v0.7.2
type
Patch
official page
👇
Register or login to:
- 🔍View and search all bun releases.
- 🛠️Create and share lists to track your tools.
- 🚨Setup notifications for major, security, feature or patch updates.
- 🚀Much more coming soon!