Bun bun-v0.5.0stable Released Jan 18, 2023
Impact Score: 5/10

Bun v0.5

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.5.0. 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 (3)

  • feat(node:readline): add node:readline and node:readline/promises
  • Add types for `readline`, `tls`, `net`
  • feat(cli): Support `HTTPS_PROXY`, `HTTP_PROXY`, and `NO_PROXY` #1440

โšก Performance & Enhancements (1)

  • improve `.toThrow()` compatibility with Jest

๐Ÿ”ง Bug Fixes & Patches (6)

  • [bundler] fix logging verbosity
  • Fix devcontainer (tested)
  • [jest] fix and improve hooks
  • fix lingering process by dead sockets
  • fix double `resolve()` in test
  • Fix Bun.serve typings
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
To install: ```bash curl https://bun.sh/install | bash ``` To upgrade: ```bash bun upgrade ``` **[Read Bun v0.5.0's release notes on Bun's blog](https://bun.sh/blog/bun-v0.5.0)** <a href="https://bun.sh/blog/bun-v0.5.0"> <img width=512 src="https://user-images.githubusercontent.com/709451/213147613-9146b846-b35e-4586-a802-6eaf1502fc3d.png" /> </a> ## All the PRs * [install] use default URL when only auth token is specified by @alexlamsl in https://github.com/oven-sh/bun/pull/1664 * [install] use specified base URL as default fallback within scopes by @alexlamsl in https://github.com/oven-sh/bun/pull/1665 * [install] specify `auth-type` by @alexlamsl in https://github.com/oven-sh/bun/pull/1667 * emit `206 Partial Content` only for partial response by @alexlamsl in https://github.com/oven-sh/bun/pull/1670 * [bundler] fix logging verbosity by @alexlamsl in https://github.com/oven-sh/bun/pull/1671 * Upgrade to latest Zig by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/1610 * log object string correctly by @alexlamsl in https://github.com/oven-sh/bun/pull/1674 * Fix devcontainer (tested) by @srh in https://github.com/oven-sh/bun/pull/1680 * [jest] fix and improve hooks by @alexlamsl in https://github.com/oven-sh/bun/pull/1689 * Update ffi.d.ts by @lucifer1004 in https://github.com/oven-sh/bun/pull/1694 * clean up `Promise` handling by @alexlamsl in https://github.com/oven-sh/bun/pull/1697 * fix lingering process by dead sockets by @alexlamsl in https://github.com/oven-sh/bun/pull/1700 * implement `net.Socket` by @alexlamsl in https://github.com/oven-sh/bun/pull/1701 * fix double `resolve()` in test by @alexlamsl in https://github.com/oven-sh/bun/pull/1707 * [socket] handle `connectError` by @alexlamsl in https://github.com/oven-sh/bun/pull/1705 * [streams] speed up `Readable` in some cases by @alexlamsl in https://github.com/oven-sh/bun/pull/1708 * 10x faster `new Buffer` by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/1717 * Support non-classes in node:net by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/1712 * buffer list clean-ups by @alexlamsl in https://github.com/oven-sh/bun/pull/1721 * implement `expect().toThrow()` by @alexlamsl in https://github.com/oven-sh/bun/pull/1727 * Fix Bun.serve typings by @u9g in https://github.com/oven-sh/bun/pull/1714 * improve `.toThrow()` compatibility with Jest by @alexlamsl in https://github.com/oven-sh/bun/pull/1728 * fix `onConnectError()` error propagation by @alexlamsl in https://github.com/oven-sh/bun/pull/1730 * [socket] fix double-free in `finalize()` by @alexlamsl in https://github.com/oven-sh/bun/pull/1731 * Report unhandled promise rejection on exit by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/1734 * lazily create buffer/string slices by @alexlamsl in https://github.com/oven-sh/bun/pull/1735 * fix typo in install.sh by @eltociear in https://github.com/oven-sh/bun/pull/1737 * Implement DNS module by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/1691 * feat(node:readline): add node:readline and node:readline/promises by @ThatOneBro in https://github.com/oven-sh/bun/pull/1738 * refactor(readline/promises): re-export readline.promises from readline by @ThatOneBro in https://github.com/oven-sh/bun/pull/1748 * Fix missing c-ares dep in dev build by @jiaz in https://github.com/oven-sh/bun/pull/1754 * use `strings.hasPrefixComptime()` by @alexlamsl in https://github.com/oven-sh/bun/pull/1755 * Implement Buffer swap16, swap32, swap64 by @malcolmstill in https://github.com/oven-sh/bun/pull/1659 * Disable reading the `browser` field when targeting Bun's runtime by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/1763 * Types update by @colinhacks in https://github.com/oven-sh/bun/pull/1761 * fix(bun-test): test title in results by @ethanburrell in https://github.com/oven-sh/bun/pull/1753 * reset string decoder on end by @dylan-conway in https://github.com/oven-sh/bun/pull/1782 * 0 initialize remaining indexes in array by @dylan-conway in https://github.com/oven-sh/bun/pull/1783 * set remaining indexes in buffer list `consume()` by @dylan-conway in https://github.com/oven-sh/bun/pull/1785 * support installation of NPM workspaces by @alexlamsl in https://github.com/oven-sh/bun/pull/1764 * fix bugs by @alexlamsl in https://github.com/oven-sh/bun/pull/1795 * fix life-cycle script execution by @alexlamsl in https://github.com/oven-sh/bun/pull/1799 * fix handler reset in `Server.reload()` by @alexlamsl in https://github.com/oven-sh/bun/pull/1801 * [Response] reject HTTP status code correctly by @alexlamsl in https://github.com/oven-sh/bun/pull/1800 * Publish bun-types@canary by @colinhacks in https://github.com/oven-sh/bun/pull/1767 * fix(readline/promises): new Interface() -> new PromisesInterface() by @ThatOneBro in https://github.com/oven-sh/bun/pull/1818 * Add types for `readline`, `tls`, `net` by @colinhacks in https://github.com/oven-sh/bun/pull/1817 * feat(cli): Support `HTTPS_PROXY`, `HTTP_PROXY`, and `NO_PROXY` #1440 by @cirospaciari in https://github.com/oven-sh/bun/pull/1814 ## New Contributors * @srh made their first contribution in https://github.com/oven-sh/bun/pull/1680 * @lucifer1004 made their first contribution in https://github.com/oven-sh/bun/pull/1694 * @u9g made their first contribution in https://github.com/oven-sh/bun/pull/1714 * @jiaz made their first contribution in https://github.com/oven-sh/bun/pull/1754 * @malcolmstill made their first contribution in https://github.com/oven-sh/bun/pull/1659 **Full Changelog**: https://github.com/oven-sh/bun/compare/bun-v0.4.0...bun-v0.5.0