Skip to content

v0.2.0 Release

Latest

Choose a tag to compare

@jie10 jie10 released this 31 Jan 22:24

Performance Improvements

  • Improved static route performance to 46.8M req/sec (30.13 ns/op)
  • Enhanced wildcard route handling to 36.9M req/sec (33.03 ns/op)
  • Optimized parameter route processing to 6.48M req/sec (183.6 ns/op)

New Features

  • Added advanced rate limiting with burst support
  • Implemented comprehensive security middleware
  • Added CORS support with configurable options
  • Added CSRF protection
  • Added security headers (HSTS, CSP, XSS Protection)

Optimizations

  • Improved rate limiter with sharded buckets for better concurrency
  • Removed separate cleanup routine for better performance
  • Enhanced memory management and reduced allocations
  • Optimized middleware chain execution

Bug Fixes

  • Fixed concurrent access issues in rate limiter
  • Fixed potential deadlock in parallel request handling
  • Improved error handling in middleware chain

Documentation

  • Updated README with advanced usage examples
  • Added comprehensive security configuration guide
  • Added best practices documentation