DEV Community

farshad khazaee
farshad khazaee

Posted on

Breeze v1.5.2 — Faster, Safer, and Truly Zero Allocation , Easy OAUTH2 middleware Added

I've just released Breeze v1.5.2, focusing on something that often gets overlooked:

Performance and correctness.

This release doesn't add flashy APIs. Instead, it improves the internals that every application benefits from.

What's new?

✅ True zero-allocation hot paths

Removed unnecessary allocations in critical middleware.
Reduced GC pressure under high concurrency.
Better throughput for long-running services.

⚡ Rate Limiter improvements

More efficient client tracking.
Automatic cleanup of stale entries to prevent unbounded memory growth.
Better behavior under reconnect-heavy workloads.

🔒 OAuth2 security improvements

ID Token nonce validation.
Cookie session expiration validation.
Better replay protection.
Why this matters

High-performance frameworks shouldn't only be fast in benchmarks.

They should stay fast after:

millions of requests
thousands of concurrent clients
hours or days of uptime

That's exactly what this release targets.

If you're already using Breeze:

go get github.com/nelthaarion/breeze@v1.5.2

I'd love to hear your feedback and benchmark results.

GitHub:
https://github.com/nelthaarion/breeze

golang #performance #webdev #oauth2 #opensource #go

Top comments (0)