Bun

Bun v0.1.5


Jarred Sumner · 2022年7月23日

升級方法

bun upgrade

如果您在升級時遇到任何問題

此版本主要為錯誤修復。同時也提供 Linux arm64 版本 (尚不支援 Android arm64,但應適用於 Raspberry Pi)

錯誤修復:

  • 修復 require 未定義錯誤
  • 修復 bun install 卡住的原因之一
  • 修復 console.log 中的分段錯誤 (double free) @sno2,詳見 https://github.com/oven-sh/bun/pull/793
  • 修復 "url" polyfill 中的例外 @SheetJSDev,詳見 https://github.com/oven-sh/bun/pull/772
  • 修復 (env_loader): 差一錯誤,由 @FinnRG 貢獻,詳見 https://github.com/oven-sh/bun/pull/668
  • 新增 node:http 伺服器 polyfill (此版本尚未最佳化,效能可能不佳),由 @evanwashere 貢獻,詳見 https://github.com/oven-sh/bun/pull/572
  • 修復 bun add @scoped/package @alexkuz,詳見 https://github.com/oven-sh/bun/pull/760
  • 修復使用 BUN_CONFIG_REGISTRY 時,bun install 中設定 port 的問題 @SheetJSDev,詳見 https://github.com/oven-sh/bun/pull/823

新功能

bun install 新增兩個 flag

--no-progress              	Disable the progress bar
--no-verify                	Skip verifying integrity of newly downloaded packages
  • 實作 node:fs 中部分遺失的 stat 函式 @sno2,詳見 https://github.com/oven-sh/bun/pull/807

其他

  • 建立 github workflow 以在 dockerhub 上發布版本,由 @Wulfre 貢獻,詳見 https://github.com/oven-sh/bun/pull/716
  • 新增測試 wiptest 的方法,由 @thislooksfun 貢獻,詳見 https://github.com/oven-sh/bun/pull/699
  • 新增 mystery-box 範例 macro,由 @SheetJSDev 貢獻,詳見 https://github.com/oven-sh/bun/pull/787
  • 修復/清理 bun-error,由 @JohnDaly 貢獻,詳見 https://github.com/oven-sh/bun/pull/753

其他

  • 雜項 (workflows): labeler、標籤同步,由 @xHyroM 貢獻,詳見 https://github.com/oven-sh/bun/pull/701
  • 在 devcontainer 中使用 Jarred-Sumner/vscode-zig march18,由 @hnakamur 貢獻,詳見 https://github.com/oven-sh/bun/pull/266
  • 雜項 (workflows): 不在 forks 上執行,由 @xHyroM 貢獻,詳見 https://github.com/oven-sh/bun/pull/734
  • blank template 新增 readme 檔案,由 @foyzulkarim 貢獻,詳見 https://github.com/oven-sh/bun/pull/727
  • 修復 (README): 移除未使用的疑難排解連結,由 @FinnRG 貢獻,詳見 https://github.com/oven-sh/bun/pull/736
  • 小幅編輯: Makefile,由 @travispulley 貢獻,詳見 https://github.com/oven-sh/bun/pull/672
  • 修復 atobbtoa 的文件,由 @thislooksfun 貢獻,詳見 https://github.com/oven-sh/bun/pull/748
  • 修復 README 中部分授權條款,由 @pathei-kosmos 貢獻,詳見 https://github.com/oven-sh/bun/pull/758
  • Bump hono 版本號碼,由 @LoiLock 貢獻,詳見 https://github.com/oven-sh/bun/pull/746
  • 修復印出拋出的非錯誤物件訊息,由 @alexkuz 貢獻,詳見 https://github.com/oven-sh/bun/pull/764
  • 雜項 (benchmark): 修復 deno console.log benchmark,由 @sh4hids 貢獻,詳見 https://github.com/oven-sh/bun/pull/771
  • 雜項 (vscode): 設定 tab size 和 tab format,由 @sno2 貢獻,詳見 https://github.com/oven-sh/bun/pull/810
  • 改善 reactjs 範例 readme 檔案,由 @sakibhasancse 貢獻,詳見 https://github.com/oven-sh/bun/pull/783

新貢獻者

  • @connorlurring 首次貢獻於 https://github.com/oven-sh/bun/pull/825
  • @backflip 首次貢獻於 https://github.com/oven-sh/bun/pull/669
  • @Kapsonfire-DE 首次貢獻於 https://github.com/oven-sh/bun/pull/649
  • @Omer-Shahar 首次貢獻於 https://github.com/oven-sh/bun/pull/611
  • @fabiofdsantos 首次貢獻於 https://github.com/oven-sh/bun/pull/670
  • @wobsoriano 首次貢獻於 https://github.com/oven-sh/bun/pull/714
  • @0xflotus 首次貢獻於 https://github.com/oven-sh/bun/pull/706
  • @mustafahasankhan 首次貢獻於 https://github.com/oven-sh/bun/pull/280
  • @ytkg 首次貢獻於 https://github.com/oven-sh/bun/pull/633
  • @rubinj30 首次貢獻於 https://github.com/oven-sh/bun/pull/627
  • @SaltyAom 首次貢獻於 https://github.com/oven-sh/bun/pull/708
  • @Wulfre 首次貢獻於 https://github.com/oven-sh/bun/pull/716
  • @foyzulkarim 首次貢獻於 https://github.com/oven-sh/bun/pull/727
  • @travispulley 首次貢獻於 https://github.com/oven-sh/bun/pull/672
  • @JohnDaly 首次貢獻於 https://github.com/oven-sh/bun/pull/753
  • @pathei-kosmos 首次貢獻於 https://github.com/oven-sh/bun/pull/758
  • @LoiLock 首次貢獻於 https://github.com/oven-sh/bun/pull/746
  • @sh4hids 首次貢獻於 https://github.com/oven-sh/bun/pull/771
  • @Wallunen 首次貢獻於 https://github.com/oven-sh/bun/pull/745
  • @sakibhasancse 首次貢獻於 https://github.com/oven-sh/bun/pull/783

完整變更日誌