Bun 1.2 Improves Node Compatibility and Adds Postgres Client
Briefly

Bun v1.2 has made substantial strides in compatibility with Node.js, which is a primary selling point for the platform. With 90% of Node.js core modules passing the test suite, Bun now offers built-in support for S3 object storage and a Postgres client, diversifying its utility. The updates include improved HTTP/2 server functionalities, promising faster performance than Node.js. Notably, the decoupling of storage from compute in S3 support addresses reliability issues common in backend systems, providing a more resilient and secure environment for developers.
The Bun team released Bun v1.2, which enhances Node.js compatibility and introduces a built-in S3 storage API alongside a new Postgres client.
Bun is designed to be a drop-in replacement for Node.js, achieving 90% success on the Node.js test suite by altering some tests for compatibility.
The latest Bun release includes improved HTTP/2 server capabilities, offering 2x speed improvements, and features built-in support for S3, enhancing storage capabilities.
Bun v1.2 emphasizes reliability, citing that decoupling storage from compute mitigates issues such as low disk space and security concerns with shared file storage.
Read at InfoQ
[
|
]