# Bun bun-v0.1.12 — Release & Upgrade Intelligence
- **Product:** Bun (https://bun.sh)
- **Version:** bun-v0.1.12
- **Released:** Sep 18, 2022
- **Impact Score:** 7/10
- **Breaking Changes:** Source flagged
- **Canonical Analysis:** https://changelogs.us/bun/updates/bun-v0.1.12/

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

## Breaking Changes & Deprecations
- This involved an unlikely but potentially breaking change to the pointer representation in `bun:ffi`. Previously, `bun:ffi` pointers stored the memory address at the end of a JavaScript double (bit-casted a double to a 64-bit signed integer) and now the value is stored in the integer part of the double. This would only be a breaking change for libraries relying on the pointer representation in napi
- - [[breaking][bun:ffi] Change the pointer representation to be a 52-bit integer](https://github.com/oven-sh/bun/commit/e9c456ff5cf53d6f57a619db27ed0335c61041eb)

## New Features
- Add native helper functions for Readable and convert ReadableState properties to getter/setter

## Bug Fixes
- A deadlock in the code that waits for async work to complete (extracting files and parsing JSON happen in a threadpool). This was fixed by (1) moving to a multi-producer single-consumer lockfree queue for HTTP requests and (2) using either a eventfd or a machport to notify readiness instead of a futex.
- A bug in the HTTP client when suspending/resuming from work that occurred asynchronously. This was fixed while rewriting the HTTP client (it no longer uses Zig's async/await)
- A crash when reading an empty JSON file. This was a trivial fix.
- A crash when DNS resolution failed for any reason. This was fixed while rewriting the HTTP client because now it uses libc's `getaddrinfo`
- [Fix bug with `Buffer.from([123], "utf8")`](https://github.com/oven-sh/bun/commit/2b02f7eb99d9fd84a0be50dd01122ae7b2874c0d)
- Fix crash when parsing empty JSON file
