Brisa 0.2.10

by Aral Roca

πŸš€ Brisa v0.2.10 is out!
This is a foundational release preparing the ground for binary compilation in future versions. While the feature isn't fully landed yet, this update already brings performance improvements and paves the way for what's next.

βš™οΈ Context: Towards Binary Compilation

To enable compiling Brisa into a single binary in future releases, we've started replacing dynamic imports with static modules inside server.js. This change allows Bun to analyze dependencies staticallyβ€”essential for producing a compiled binary.

Even though this is just the beginning, we’ve already observed improvements in requests per second (RPS) thanks to fewer runtime evaluations and better startup performance.

We're releasing these changes incrementally to keep releases manageable and easier to test, instead of dropping a huge update later.

✨ Key Improvements

πŸ” Replaced Dynamic Imports

The following parts of Brisa now use static imports instead of dynamic ones:

This transition helps prepare for compilation and reduces cold-start overhead.

🐞 Bug Fixes & Improvements

πŸ”„ Maintenance

πŸ§ͺ What's Next?

The next steps will focus on leveraging all these static modules to produce an actual single binary executable of your Brisa app. We’re getting close!

Stay tuned for that in upcoming releases. πŸ”§βœ¨

Full Changelog

πŸ”— View on GitHub

❀️ Support Brisa – Get your swag!
πŸ›οΈ Wear Brisa with pride and help the project grow.

Brisa Shop