{"id":1119,"date":"2025-01-26T00:16:29","date_gmt":"2025-01-25T15:16:29","guid":{"rendered":"https:\/\/aireviewirush.com\/?p=1119"},"modified":"2025-01-26T00:16:29","modified_gmt":"2025-01-25T15:16:29","slug":"bun-1-2-squashes-node-js-compatibility-bugs","status":"publish","type":"post","link":"https:\/\/aireviewirush.com\/?p=1119","title":{"rendered":"Bun 1.2 squashes Node.js compatibility bugs"},"content":{"rendered":"<p> <br \/>\n<br \/><img decoding=\"async\" src=\"https:\/\/www.infoworld.com\/wp-content\/uploads\/2025\/01\/3809862-0-42213100-1737761205-shutterstock_378840622-100945722-orig.jpg?quality=50&amp;strip=all\" alt=\"\"><\/p>\n<div>\n<section class=\"wp-block-bigbite-multi-title\"\/>\n<p>Bun 1.2, an replace to the <a href=\"https:\/\/www.infoworld.com\/article\/2338008\/explore-bunjs-the-all-in-one-javascript-runtime.html\" target=\"_blank\" rel=\"noopener\">all-in-one runtime and toolkit<\/a> for constructing, working, and testing full-stack <a href=\"https:\/\/www.infoworld.com\/article\/2263137\/what-is-javascript-the-full-stack-programming-language.html\" target=\"_blank\" rel=\"noopener\">JavaScript<\/a> and <a href=\"https:\/\/www.infoworld.com\/article\/2257305\/what-is-typescript-strongly-typed-javascript.html\" target=\"_blank\" rel=\"noopener\">TypeScript<\/a> functions, has arrived, boasting dramatic enhancements in <a href=\"https:\/\/www.infoworld.com\/article\/2254485\/what-is-nodejs-javascript-runtime-explained.html\" target=\"_blank\" rel=\"noopener\">Node.js<\/a> compatibility. The brand new model additionally provides a built-in Amazon S3 object storage API and a built-in PostgreSQL shopper. <\/p>\n<p>Bun 1.2 was introduced on <a href=\"https:\/\/bun.sh\/blog\/bun-v1.2\" target=\"_blank\" rel=\"noopener\">January 22<\/a>. 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. In consequence, the group has mounted 1000&#8217;s 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 <a href=\"https:\/\/bun.sh\/blog\/bun-v1.2\" target=\"_blank\" rel=\"noopener\">weblog submit<\/a>. <\/p>\n<p>Additionally with Bun 1.2, <strong><a href=\"https:\/\/nodejs.org\/api\/http2.html#core-api\" target=\"_blank\" rel=\"noopener\"><code>node:http2<\/code><\/a><\/strong> 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 <a href=\"https:\/\/nodejs.org\/api\/cluster.html#cluster\" target=\"_blank\" rel=\"noopener\"><code>node:cluster<\/code><\/a> to spawn a number of cases of Bun and might bind and connect with UDP sockets utilizing <strong><a href=\"https:\/\/nodejs.org\/api\/dgram.html#udpdatagram-sockets\" target=\"_blank\" rel=\"noopener\"><code>node:dgram<\/code><\/a><\/strong>. And the complete<code><strong><u><a href=\"https:\/\/nodejs.org\/api\/zlib.html#zlib\" target=\"_blank\" rel=\"noopener\">node:zlib<\/a><\/u><\/strong><\/code> module was rewritten from JavaScript to native code.<\/p>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1121,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-1119","post","type-post","status-publish","format-standard","has-post-thumbnail","category-cloud-computing"],"_links":{"self":[{"href":"https:\/\/aireviewirush.com\/index.php?rest_route=\/wp\/v2\/posts\/1119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aireviewirush.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aireviewirush.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aireviewirush.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aireviewirush.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1119"}],"version-history":[{"count":1,"href":"https:\/\/aireviewirush.com\/index.php?rest_route=\/wp\/v2\/posts\/1119\/revisions"}],"predecessor-version":[{"id":1120,"href":"https:\/\/aireviewirush.com\/index.php?rest_route=\/wp\/v2\/posts\/1119\/revisions\/1120"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aireviewirush.com\/index.php?rest_route=\/wp\/v2\/media\/1121"}],"wp:attachment":[{"href":"https:\/\/aireviewirush.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aireviewirush.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aireviewirush.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}