bro.js v3.0.0 launches with edge support, stronger security, and better testing
The JavaScript framework bro.js has released version 3.0.0, introducing separate entry points for Node, Next.js, and Edge/worker environments. A major architectural change removes all global singletons, with state now scoped to individual instances via createBro() or createServer() for true per-request isolation. Security has been significantly tightened, including strict CORS allowlists, hashed API keys, early crash on weak JWT secrets, and scaffolding that no longer embeds literal secrets. The update also adds a self-contained HTTP testing harness with built-in support for DB transaction rollbacks and fake timers, alongside OpenTelemetry observability and PII-redacting logging. Additional improvements include a production-ready PostgresAdapter, a TaskManager with dead-letter queues and Redis lease locks, and CLI tooling that scaffolds configuration, Dockerfiles, and environment files out of the box.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in