Bun 1.3 | daily.dev

Bun 1.3 | daily.dev

Bun 1.3 transforms Bun into a full-stack JavaScript runtime with zero-config frontend development featuring hot module replacement and React Fast Refresh. The release introduces a unified SQL API supporting MySQL, MariaDB, PostgreSQL, and SQLite, plus a built-in Redis client. New routing capabilities in Bun.serve() enable full-stack apps in a single process, with support for compiling to standalone executables. The package manager gains isolated installs, dependency catalogs, security scanning, and interactive updates. Testing improvements include VS Code integration, concurrent test execution, async stack traces, and type testing. Additional features include native cookie handling, YAML support, WebSocket compression, Zstandard compression, encrypted credential storage, and CSRF protection.

From Daily Dev Most Upvoted