Whats new ?!
- Security Scanner API
- Bun 1.3 introduces a Security Scanner API that checks packages before installation.
- It integrates with tools like Socket, which scans for malware, typosquatting, and risky dependencies during bun install or bun add.
- You can enforce organization-wide security policies in local development and CI environments.
- 🐘 PostgreSQL Client (Coming Soon)
- A PostgreSQL client is planned for Bun 1.2 but already available in preview builds.
- This adds to Bun’s built-in SQLite support, expanding its database capabilities.
- 🧠 Chrome DevTools Debugging
- Bun now supports V8 heap snapshots, allowing developers to debug memory usage using Chrome DevTools.
- This bridges the gap between Bun’s JavaScriptCore engine and Chrome’s debugging tools.
- 🌐 S3 API Support
- Bun adds support for S3-compatible APIs, including AWS, Google Cloud, DigitalOcean, and Cloudflare.
- You can use Bun.s3 or Bun.S3Client to interact with storage services, including generating presigned URLs.
- 🧩 HTML & CSS Bundling (Experimental)
- Bun can now bundle HTML and CSS files alongside JavaScript using experimental flags.
- This enables building optimized static sites with tree-shaking and asset copying.
- These features make Bun 1.3 a more powerful and secure tool for building modern web