bun - bun-v0.5.7


Read Bun v0.5.7'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

  • [streams] fix byte accounting by @alexlamsl in https://github.com/oven-sh/bun/pull/2029
  • [simdutf] workaround validation OOB access by @alexlamsl in https://github.com/oven-sh/bun/pull/2031
  • [install] fix flaky tests by @alexlamsl in https://github.com/oven-sh/bun/pull/2032
  • fix assertion failure by @alexlamsl in https://github.com/oven-sh/bun/pull/2033
  • drop ASCII double-scan and other minor clean-ups by @alexlamsl in https://github.com/oven-sh/bun/pull/2038
  • [install] fix duplicate check on peerDependencies by @alexlamsl in https://github.com/oven-sh/bun/pull/2039
  • fix(string_immutable): fix toUTF16Alloc for bindgen by @ThatOneBro in https://github.com/oven-sh/bun/pull/2042
  • Fix PATH setup in macOS setup instructions by @ekzhang in https://github.com/oven-sh/bun/pull/2044
  • Fix #631: bun add throwing JSON lexer bug by @jwhear in https://github.com/oven-sh/bun/pull/2041
  • [WIP] feat(napi): add napi-fatal-exception by @ThatOneBro in https://github.com/oven-sh/bun/pull/2054
  • fix segfault during non-install script execution by @alexlamsl in https://github.com/oven-sh/bun/pull/2045
  • fix string corruption in FS entry cache by @alexlamsl in https://github.com/oven-sh/bun/pull/2055
  • Return server on listen (node:http) by @michalwarda in https://github.com/oven-sh/bun/pull/2057
  • [install] support git://github.com/ dependencies by @alexlamsl in https://github.com/oven-sh/bun/pull/2059
  • Implement FormData by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/2051
  • feat(napi): add napi_get_value_bigint_words by @ThatOneBro in https://github.com/oven-sh/bun/pull/2061
  • Add dynamic port assigning to Bun.serve by @michalwarda in https://github.com/oven-sh/bun/pull/2062
  • fix(FormData): add string literal operator by @ThatOneBro in https://github.com/oven-sh/bun/pull/2064
  • fix(FormData): make String explicit, thanks @dylan-conway by @ThatOneBro in https://github.com/oven-sh/bun/pull/2065
  • Reject with error when invalid fetch() body by @ekzhang in https://github.com/oven-sh/bun/pull/2047
  • [WIP] fix(node:fs): export fs.ReadStream and fs.WriteStream by @ThatOneBro in https://github.com/oven-sh/bun/pull/1798
  • [install] improve package.json validation by @alexlamsl in https://github.com/oven-sh/bun/pull/2074
  • [install] link network-delayed .bin scripts correctly by @alexlamsl in https://github.com/oven-sh/bun/pull/2076
  • ED25519 WebCrypto by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/1971
  • Fix 2063 by @jwhear in https://github.com/oven-sh/bun/pull/2079
  • fix(webcrypto): fix ed25519 CryptoKey.algorithm by @ThatOneBro in https://github.com/oven-sh/bun/pull/2082
  • feat(fetch) AbortSignal by @cirospaciari in https://github.com/oven-sh/bun/pull/2019
  • Clarify and clean up macOS build process by @controversial in https://github.com/oven-sh/bun/pull/2087
  • Fix #1516 by @jwhear in https://github.com/oven-sh/bun/pull/2089
  • Implement machine for Linux by @jwhear in https://github.com/oven-sh/bun/pull/2088
  • Support yarn-like "workspaces"."packages": string[] by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/2086
  • allow bun add of packages with capital letters by @alexlamsl in https://github.com/oven-sh/bun/pull/2095
  • Fix #2005 by @jwhear in https://github.com/oven-sh/bun/pull/2096
  • [install] support git dependencies by @alexlamsl in https://github.com/oven-sh/bun/pull/2094
  • Fix #1602 by @jwhear in https://github.com/oven-sh/bun/pull/2066
  • use bun.logger instead of bun.Output by @alexlamsl in https://github.com/oven-sh/bun/pull/2099
  • update bun.lockbs by @alexlamsl in https://github.com/oven-sh/bun/pull/2101
  • feat(node/os): implement os.machine() by @sno2 in https://github.com/oven-sh/bun/pull/1378
  • fix: Print URL as object in by @MichaReiser in https://github.com/oven-sh/bun/pull/2104
  • Fix Deno SQLite benchmark by @mlafeldt in https://github.com/oven-sh/bun/pull/2112
  • docs(bunx): add initial documentation to readme by @AgentEnder in https://github.com/oven-sh/bun/pull/2106
  • Add mention of bunx --bun to README by @ThatOneBro in https://github.com/oven-sh/bun/pull/2114
  • Update test runner output with colors and diffs by @dylan-conway in https://github.com/oven-sh/bun/pull/2122
  • [install] support SCP-style git dependencies by @alexlamsl in https://github.com/oven-sh/bun/pull/2124
  • Add runtime layer to run Bun on AWS Lambda by @Electroid in https://github.com/oven-sh/bun/pull/2009
  • fix(child_process): match Node's promisified exec fn by @ThatOneBro in https://github.com/oven-sh/bun/pull/2128
  • fix(child_process): import from primordials by @ThatOneBro in https://github.com/oven-sh/bun/pull/2132
  • wiptest -> test by @dylan-conway in https://github.com/oven-sh/bun/pull/2131
  • Fix glibc error in latest alpine by @WebReflection in https://github.com/oven-sh/bun/pull/2126
  • format options and fix quote strings regression by @dylan-conway in https://github.com/oven-sh/bun/pull/2134
  • Various type fixes by @colinhacks in https://github.com/oven-sh/bun/pull/2135
  • feat(Request.signal) Initial support for signal in Request + fetch and Request + Bun.serve by @cirospaciari in https://github.com/oven-sh/bun/pull/2097
  • feat(undici): add undici.request by @ThatOneBro in https://github.com/oven-sh/bun/pull/2136
  • Update README.md by @beeburrt in https://github.com/oven-sh/bun/pull/2138
  • Update README.md - Delete unnecessary selection by @N0N1m3 in https://github.com/oven-sh/bun/pull/2145
  • fix illegal memory reference in bun link by @alexlamsl in https://github.com/oven-sh/bun/pull/2147
  • Add documentation by @colinhacks in https://github.com/oven-sh/bun/pull/2148

New Contributors

  • @ekzhang made their first contribution in https://github.com/oven-sh/bun/pull/2044
  • @controversial made their first contribution in https://github.com/oven-sh/bun/pull/2087
  • @MichaReiser made their first contribution in https://github.com/oven-sh/bun/pull/2104
  • @mlafeldt made their first contribution in https://github.com/oven-sh/bun/pull/2112
  • @AgentEnder made their first contribution in https://github.com/oven-sh/bun/pull/2106
  • @beeburrt made their first contribution in https://github.com/oven-sh/bun/pull/2138
  • @N0N1m3 made their first contribution in https://github.com/oven-sh/bun/pull/2145

Full Changelog: https://github.com/oven-sh/bun/compare/bun-v0.5.6...bun-v0.5.7


Details

date
Feb. 24, 2023, 1:51 a.m.
name
Bun v0.5.7
type
Patch
👇
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