स्थिरीकरण

  • मेमोरी ऑप्टिमाइज़ेशन, 3 ~ 5 गुना कम मेमोरी उपयोग
  • console.log formatting में सुधार
  • 3 गुना तेज़ TextEncoder.encodeInto() (feat. simdutf)
  • fetch से संबंधित सुधार
  • garbage collection से जुड़े bug fixes
  • Node.js compatibility बेहतर, process.stdout/stderr/stdin/release, fs.createWrite/ReadStream()
  • bug fixes आदि

जोड़ी गई सुविधाएँ

  • console अब एक AsyncIterable है: for await में भी console.log इस्तेमाल किया जा सकता है
  • npm से automatic package installs: रन करते समय automatically import किए गए package install
  • FileSystemRouter: Next.js की तरह file-based routing संभव
  • bun:test में Expect matchers: expect() में और methods जोड़े गए, कहा गया है कि toEqual() Jest से 100 गुना तेज़ है
  • Headers पर नए methods: अनौपचारिक API getAll() / toJSON() जोड़े गए
  • Resizable ArrayBuffer and growable SharedArrayBuffer: WebKit में जोड़े गए resize() / grow() जोड़े गए
  • Array.fromAsync() जोड़ा गया

अभी कोई टिप्पणी नहीं है.

अभी कोई टिप्पणी नहीं है.