Home / Companies / SSOJet / Blog / Post Details
Content Deep Dive

Bun 1.2 Enhances Node Compatibility and Introduces Postgres Client

Blog post from SSOJet

Post Details
Company
Date Published
Author
Gopal Gehlot
Word Count
471
Company Posts That Month
46
Language
English
Hacker News Points
-
Summary

Bun 1.2 introduces substantial compatibility and performance enhancements, positioning itself as a viable alternative to Node.js. The update achieves over 90% test pass rates for 11 core Node.js modules, thanks to a comprehensive testing strategy that runs the entire Node.js test suite with every code change, allowing the team to fix numerous bugs. Key updates include native support for the node:http2 and node:zlib modules, resulting in faster HTTP/2 server creation and improved module performance. Bun 1.2 also adds built-in S3 object storage API support, offering a 5x speed increase over Node.js's @aws-sdk/client-s3 package, and integrates a new Postgres SQL client with optimizations that enhance speed by 50% compared to other clients. Performance improvements extend to the Express framework, which can now handle HTTP requests 3x faster than Node.js, and a 30% faster package manager installation speed. Additionally, Bun 1.2 advances support for C++ addons using V8 APIs, making previously incompatible packages operable with Bun.

Trends Found in this Post

No tracked trend matches for this post yet.