Bun 1.2, an replace to the all-in-one runtime and toolkit for constructing, working, and testing full-stack JavaScript and TypeScript purposes, has arrived, boasting dramatic enhancements in Node.js compatibility. The new model additionally provides a built-in Amazon S3 object storage API and a built-in PostgreSQL consumer.
Bun 1.2 was introduced on January 22. With model 1.2, the Bun builders modified how they take a look at and enhance compatibility with Node.js, working the Node.js take a look at suite for each change made to Bun. As a consequence, the crew has fastened 1000’s of bugs and 11 Node.js modules now go greater than 90% of their exams with Bun, Oven product supervisor Ashcon Partovi wrote in a weblog submit.
Also with Bun 1.2, node:http2
can be utilized to create HTTP/2 servers and gRPC servers, which at the moment are supported in Bun. Developers with Bun 1.2 can also use node:cluster
to spawn a number of situations of Bun and may bind and hook up with UDP sockets utilizing node:dgram
. And your entirenode:zlib
module was rewritten from JavaScript to native code.