Bun bun-v0.7.2stable Released Aug 04, 2023
Impact Score: 5/10

Bun v0.7.2

Source available โ€” automated, not human-reviewed

Component: bun ยท Channel: stable. Automated analysis, not a compatibility certification. How this works.

Analysis updated: 2026-11-01.

Compatibility not verified โ€” check source notes
๐Ÿ“„ .MD
โšก Executive Summary (TL;DR)

Bun bun-v0.7.2. Source highlight: curl https://bun.sh/install | bash

Who Does This Impact? (Role-Based Analysis)

๐Ÿ’ป Software Engineers & Devs

Check the source notes against the package and APIs you use before upgrading.

๐Ÿ“Š Product & Engineering Leads

Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.

โš™๏ธ DevOps & Security

Verify the target version, runtime requirements and rollback procedure in the official documentation.

โœจ New Features & Capabilities (2)

  • Add ecosystem guides
  • add `BroadcastChannel`

๐Ÿ”ง Bug Fixes & Patches (6)

  • fix: small error
  • docs: fixed small errors
  • Fix coredump when reading an empty file(`node:stream:createReadStream`)
  • Fix memory leak
  • Fix issue with file loader
  • FIx Uint8Array to a ReadableStream code snippet
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
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.7.2's release notes on Bun's blog](https://bun.sh/blog/bun-v0.7.2)** ## 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