Bun 1.2 Enhances Node Compatibility and Introduces Postgres Client
Blog post from SSOJet
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.
No tracked trend matches for this post yet.