Bun 1.3 adds full‑stack dev server, built-in MySQL & Redis clients, better routing & more

Bun 1.3 adds full‑stack dev server, built-in MySQL & Redis clients, better routing & more

Bun 1.3 introduces first-class support for frontend development, providing modern features expected from current JavaScript tooling. Building on this, developers can now use a full-stack development server integrated into Bun.serve(), which supports hot reloading and terminal console logging. This enhancement streamlines workflows and shortens feedback loops for both frontend and backend development.

Expanding database support, Bun 1.3 now includes built-in MySQL and Redis clients, joining the existing Postgres and SQLite options. These additions allow developers to connect to multiple databases and caching solutions without relying on third-party libraries. Alongside these backend upgrades, the release also brings enhanced routing, better cookie management, improved WebSockets capability, and more ergonomic HTTP handling for web API development.

Complementing these major features, the new version adds workspace improvements such as isolated installs, catalogs, and minimumRelease settings, which benefit projects with complex monorepo structures. Additionally, many updates improve compatibility with Node.js, in addition to general performance enhancements and bug fixes.

by Paul

ma
maxbar1 found this interesting
Bun iconBun
  18
  • ...

Bun is a modern JavaScript runtime environment, similar to Node or Deno, designed with a focus on speed, TypeScript support, and asynchronous operations. It is built from scratch to optimize performance and streamline development processes. Rated 5, Bun is recognized for its fast execution and robust TypeScript capabilities, making it a noteworthy option for developers seeking efficient runtime solutions.

No comments so far, maybe you want to be first?
Gu