Skip to content

Advanced Observability, Hot Reloading & Security Hardening

Choose a tag to compare

@jhanvi857 jhanvi857 released this 03 May 05:08
· 27 commits to main since this release

New Advanced Features

  • Hot Reloading Engine: Added seamless server restarts upon detecting file changes. Resolved critical ClassNotFound and process leak issues specific to Windows environments, making local development faster and more stable.
  • OpenTelemetry (OTel) Tracing: Integrated OpenTelemetry to allow in-depth distributed tracing of requests passing through the NioFlow ecosystem.
  • Distributed Rate Limiting: Introduced robust, Redis-backed rate limiting to protect your APIs against abuse and traffic spikes.
  • JSON Structured Logging: Logging has been upgraded to support JSON structured formatting out-of-the-box, ensuring compatibility with modern log aggregators (e.g., ELK, Datadog).

Security & Core Routing Enhancements

  • Strict JWT Enforcement: Improved security checks and warnings around nioflow-disable-auth to prevent accidental exposure of unprotected routes in production. Enforced stricter JWT secret validations.
  • Error Handling Hardening: Added explicit visual warnings when expose_error_details is enabled, minimizing the risk of leaking stack traces in production.
  • Intelligent Routing: Implemented proper 405 Method Not Allowed responses for unmatched HTTP methods. Resolved issues regarding header preservation within the HttpContext.
  • Remote Address Extraction: Added built-in support for extracting the remote port and IP addresses directly from incoming client connections.