DEV Community

Yass1n
Yass1n

Posted on

🚀 bro.js v2.4.5 – Next.js Adapter & AI‑First DX

Hey devs! 🎉

I’m super excited to share bro.js v2.4.5 – the biggest leap we’ve made yet. Imagine dropping zero‑boilerplate Express magic straight into a Next.js serverless route. No more fighting Turbopack or juggling busboy for file uploads. 🚀

What’s fresh?

  • Next.js App Router Adapter – use defineRoute and createBro right inside app/api. Multipart/form‑data is parsed for you, rate‑limiting works out of the box, and caching is a one‑liner (cache: 60).
  • AI‑First CLI – create-bro-app now asks if you want a plain Node backend or a full‑stack Next.js app, then writes an agents.md file so AI tools like Copilot stay on script.
  • Core upgrades – hot‑reloading tasks, JSON locale watching, and a unified error shape so you can trust the same { error, details } everywhere.

How to get it?

npm i bro-framework@latest   # upgrade existing projects
npx create-bro-app@latest    # start a brand‑new zero‑boilerplate app
Enter fullscreen mode Exit fullscreen mode

Give it a spin and let me know what you build! ✨

Top comments (0)