Learn extra at:
Bun 1.2, an replace to the all-in-one runtime and toolkit for constructing, working, and testing full-stack JavaScript and TypeScript functions, has arrived, boasting dramatic enhancements in Node.js compatibility. The brand new model additionally provides a built-in Amazon S3 object storage API and a built-in PostgreSQL shopper.
Bun 1.2 was introduced on January 22. With model 1.2, the Bun builders modified how they check and enhance compatibility with Node.js, working the Node.js check suite for each change made to Bun. In consequence, the workforce has mounted hundreds of bugs and 11 Node.js modules now go greater than 90% of their checks with Bun, Oven product supervisor Ashcon Partovi wrote in a blog post.
Additionally with Bun 1.2, node:http2
can be utilized to create HTTP/2 servers and gRPC servers, which are actually supported in Bun. Builders with Bun 1.2 can also use node:cluster
to spawn a number of cases of Bun and might bind and hook up with UDP sockets utilizing node:dgram
. And the wholenode:zlib
module was rewritten from JavaScript to native code.