<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/bun-1-2-released-over-90-node-js-compatibility-and-built-in-s3-postgres-support-lwpqwkrbw" -->

---
title: Bun 1.2 Released: Over 90% Node.js Compatibility and...
description: Bun 1.2 introduces significant improvements and new features aimed at enhancing development efficiency and convenience. It achieves over 90% Node.js...
canonical: https://daily.dev/posts/bun-1-2-released-over-90-node-js-compatibility-and-built-in-s3-postgres-support-lwpqwkrbw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Bun 1.2 Released: Over 90% Node.js Compatibility and Built-In S3, Postgres Support | daily.dev
og:description: Bun 1.2 introduces significant improvements and new features aimed at enhancing development efficiency and convenience. It achieves over 90% Node.js...
og:url: https://daily.dev/posts/bun-1-2-released-over-90-node-js-compatibility-and-built-in-s3-postgres-support-lwpqwkrbw
og:image: https://api.daily.dev/og/posts/lwPqWKrBW.png
og:image:alt: Bun 1.2 Released: Over 90% Node.js Compatibility and Built-In S3, Postgres Support
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Bun 1.2 Released: Over 90% Node.js Compatibility and Built-In S3, Postgres Support

**[Collections](https://daily.dev/sources/collections)** · 2 min read · 2 upvotes · 0 comments

## Summary

Bun 1.2 introduces significant improvements and new features aimed at enhancing development efficiency and convenience. It achieves over 90% Node.js compatibility, includes built-in support for PostgreSQL and Amazon S3, and adds HTML Imports for better modularity in web development. The update also switches to a text-based lockfile format for easier package management and boosts performance with faster execution of the Express framework and a new CSS parser. Additionally, it offers experimental support for compiling and running C from JavaScript.

## Content

# Bun 1.2: Enhanced Compatibility, New Features, and Performance Improvements

Bun 1.2 marks a significant milestone in the evolution of the Bun toolkit, a comprehensive solution for building, running, and testing JavaScript and TypeScript applications. This major update brings a slew of improvements and new features that promise to boost development efficiency and convenience. Here are the key highlights of Bun 1.2:

## Improved Node.js Compatibility

Bun 1.2 introduces substantial enhancements in Node.js compatibility, achieving over 90% alignment with Node.js functionalities. This makes it easier for developers to migrate existing Node.js projects to Bun without significant modifications.

## Built-in APIs and Enhanced Support

The update introduces built-in support for PostgreSQL, enabling seamless database interactions directly within Bun. Additionally, a new Amazon S3 object storage API simplifies cloud storage operations for developers. Support for HTTP/2 servers and gRPC servers is also included, paving the way for more robust and modern server-side applications.

## HTML Imports

Bun 1.2 offers HTML Imports, which streamline front-end development by allowing developers to include HTML documents within other HTML documents effortlessly. This feature enhances modularity and reusability in web development.

## Text-based Lockfile Format

In a move to improve package management efficiency, Bun 1.2 replaces the binary lockfile with a more accessible and human-readable text-based lockfile format. This change simplifies version control and collaboration on shared projects.

## Performance Improvements

Performance is a major focus in Bun 1.2, with updates that significantly speed up various aspects of development. Notably, the Express framework now runs faster, and the introduction of an optimized native code transforms common tasks. The new CSS parser improves the performance of style-related operations as well.

## Experimental Features

This release also includes experimental support for compiling and running C from JavaScript, broadening the scope of what can be achieved within the Bun ecosystem. Additionally, various updates to Node.js modules have been made, ensuring better compatibility and performance.

## Conclusion

Bun 1.2 is a robust update that enhances developer experience through improved compatibility, new built-in APIs, and significant performance optimizations. It reaffirms Bun's commitment to being a formidable alternative to Node.js, tailored for modern JavaScript and TypeScript development needs.

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#performance](https://daily.dev/tags/performance), [#nodejs](https://daily.dev/tags/nodejs), [#postgresql](https://daily.dev/tags/postgresql), [#aws-s3](https://daily.dev/tags/aws-s3)

[View this post on daily.dev](https://daily.dev/posts/bun-1-2-released-over-90-node-js-compatibility-and-built-in-s3-postgres-support-lwpqwkrbw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Bun 1.2 Released: Over 90% Node.js Compatibility and Built-In S3, Postgres Support","url":"https://daily.dev/posts/bun-1-2-released-over-90-node-js-compatibility-and-built-in-s3-postgres-support-lwpqwkrbw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/bun-1-2-released-over-90-node-js-compatibility-and-built-in-s3-postgres-support-lwpqwkrbw"},"datePublished":"2025-01-22T19:15:34.913Z","dateModified":"2025-01-24T23:30:50.088Z","description":"Bun 1.2 introduces significant improvements and new features aimed at enhancing development efficiency and convenience. It achieves over 90% Node.js...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6154fe3ea993c9160bd6f0e011e2286f?_a=AQAEuj9","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6154fe3ea993c9160bd6f0e011e2286f?_a=AQAEuj9","isAccessibleForFree":true,"articleSection":"Collections","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Collections","logo":"https://media.daily.dev/image/upload/s--fk_6ycEi--/f_auto,q_auto/v1780996001/logos/collections?_a=BAMAMiWQ0","url":"https://daily.dev/sources/collections"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/bun-1-2-released-over-90-node-js-compatibility-and-built-in-s3-postgres-support-lwpqwkrbw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"webdev,performance,nodejs,postgresql,aws-s3","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Collections","item":"https://daily.dev/sources/collections"},{"@type":"ListItem","position":3,"name":"Bun 1.2 Released: Over 90% Node.js Compatibility and Built-In S3, Postgres Support"}]}
```

