bun - bun-v0.6.4


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

  • [node:http] 443 should default to https when no protocol is informed by @cirospaciari in https://github.com/oven-sh/bun/pull/3008
  • Write out builtins with TypeScript + Minify them by @paperdave in https://github.com/oven-sh/bun/pull/2999
  • [node:http] Fix return type for getHeader() by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3007
  • [node:tls] fix marking requestCert on tls module by @cirospaciari in https://github.com/oven-sh/bun/pull/3012
  • Fix Bun.connect() types by @paperdave in https://github.com/oven-sh/bun/pull/3013
  • fix extra/ArbitraryModuleNamespaceIdentifiers2 by @paperdave in https://github.com/oven-sh/bun/pull/3016
  • Support setting a timezone with process.env.TZ and Bun.env.TZ by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3018
  • [bun:test] Fix async/done-based test.todo by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3015
  • check if key from exports can be printed as an identifier by @dylan-conway in https://github.com/oven-sh/bun/pull/3032
  • Update bun init and document partial support for node:vm by @paperdave in https://github.com/oven-sh/bun/pull/3014
  • Add pkg-config as a build requirement by @llimllib in https://github.com/oven-sh/bun/pull/3027
  • Fix incorrect URL in loaders.md by @Kruithne in https://github.com/oven-sh/bun/pull/3025
  • Implement bun test --timeout by @Electroid in https://github.com/oven-sh/bun/pull/3040
  • extend test time-outs by @alexlamsl in https://github.com/oven-sh/bun/pull/3048
  • Implement require.cache by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3045
  • Fixes #3031 by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3041
  • [bun:FileSystemRouter] add more validations on parameters by @cirospaciari in https://github.com/oven-sh/bun/pull/3053
  • fix setting jsxImportSource, jsxFactory, and jsxFragmentFactory by @dylan-conway in https://github.com/oven-sh/bun/pull/3057
  • [server.fetch] call when using Request object by @cirospaciari in https://github.com/oven-sh/bun/pull/3051
  • Load .env.test, set NODE_ENV=test in bun test, load .env.{test,production,development}.local by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3037
  • Support with { type: "macro"} in bun build by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3059
  • Fix sqlite serialize example by @Dialga in https://github.com/oven-sh/bun/pull/3063
  • [stream] fix flush by @cirospaciari in https://github.com/oven-sh/bun/pull/3073
  • jsx runtime from env by @dylan-conway in https://github.com/oven-sh/bun/pull/3076
  • [install] fix .bin linking by @alexlamsl in https://github.com/oven-sh/bun/pull/3067
  • docs: add a bit more info on Elysia by @capaj in https://github.com/oven-sh/bun/pull/3062
  • Fix crash in test.todo + remove JSC C API usages in bun:test by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3079
  • [fetch] change response allocator by @cirospaciari in https://github.com/oven-sh/bun/pull/3086
  • Pretty formatter for Headers & URLSearchParams by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3081
  • Implement expect().toBeEmpty() by @Electroid in https://github.com/oven-sh/bun/pull/3060

New Contributors

  • @llimllib made their first contribution in https://github.com/oven-sh/bun/pull/3027
  • @Dialga made their first contribution in https://github.com/oven-sh/bun/pull/3063
  • @capaj made their first contribution in https://github.com/oven-sh/bun/pull/3062

Full Changelog: https://github.com/oven-sh/bun/compare/bun-v0.6.3...bun-v0.6.4


Details

date
May 27, 2023, 5:32 a.m.
name
Bun v0.6.4
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