# Bun v1.0.31

DevFeed: [Bun v1.0.31](<https://devfeed.tech/articles/bun-v1-0-31-49371.md>)

Original publisher: [Read original article](<https://bun.com/blog/bun-v1.0.31>)

Author: Ashcon Partovi

Published: 2024-03-14T22:19:59Z

Content type: release

Language: en

Sources: [Bun](<https://devfeed.tech/sources/bun-com.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [releases](<https://devfeed.tech/topics/releases.md>), [bugfixes](<https://devfeed.tech/topics/bugfixes.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Package Management](<https://devfeed.tech/topics/package-management.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [bun](<https://devfeed.tech/tags/bun.md>), [js](<https://devfeed.tech/tags/js.md>), [npm](<https://devfeed.tech/tags/npm.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [security](<https://devfeed.tech/tags/security.md>), [unix](<https://devfeed.tech/tags/unix.md>), [v1](<https://devfeed.tech/tags/v1.md>)

## AI overview

Bun v1.0.31 is a release of the JavaScript runtime, bundler, transpiler, and package manager. It fixes 54 bugs, adds bun --print, supports piping stdin to bun run, adds package-script trust controls, supports fetch() over Unix sockets, and includes macOS, Linux, Node.js compatibility, bun install, and bunx improvements.

## Source excerpt

Fixes 54 bugs (addresses 113 👍 reactions), introduces `bun --print`, ` | bun run -`, `bun add --trust`, `fetch()` with Unix sockets, fixes macOS binary size regression, fixes high CPU usage bug in spawn() on older linux, adds `util.styleText`, Node.js compatibiltiy improvements, bun install bugfixes, and bunx bugfixes