# Bun bun-v0.2.1 — Release & Upgrade Intelligence
- **Product:** Bun (https://bun.sh)
- **Version:** bun-v0.2.1
- **Released:** Oct 19, 2022
- **Impact Score:** 5/10
- **Breaking Changes:** Not verified
- **Canonical Analysis:** https://changelogs.us/bun/updates/bun-v0.2.1/

## Executive Summary (TL;DR)
Bun bun-v0.2.1. Source highlight: curl https://bun.sh/install | bash

## New Features
- Added DOMJIT function call support to Bun's JavaScriptCore bindings generator (used by the new `ServerWebSocket` object for `publishText`, `publishBinary`, `sendText` and `sendBinary` functions)

## Improvements
- [`performance.timeOrigin`]() has been implemented

## Bug Fixes
- `process.argv` was returning an empty array when bun started without arguments other than the script, like `bun foo.js` (thanks to @dylan-conway for the fix)
- Fix a crash when BodyMixin functions throw
- Fix a memory leak in HTTP server related to promises
- Fix a regression from v0.2.0 where small buffered (non-streaming) HTTP response bodies would sometimes include invalid data due to a memory aliasing bug
- Fix a bug where a pong control frame in bun's `WebSocket` client would sometimes put the `WebSocket` in an error state https://github.com/oven-sh/bun/commit/c6fe82018aeda88a3337a5355313de7db68ef827
- Fix a bug where a `WebSocket` client would not keep the process open - #1335
