bun - bun-v0.5.0


To install:

curl https://bun.sh/install | bash

To upgrade:

bun upgrade

Read Bun v0.5.0's release notes on Bun's blog

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


Details

date
Jan. 18, 2023, 6:06 p.m.
name
Bun v0.5
type
Minor
👇
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!
Continue with GitHub
Continue with Google
or