Skip to content

v1.2.38

Latest

Choose a tag to compare

@hansott hansott released this 12 Nov 15:45
· 69 commits to main since this release
Immutable release. Only release title and notes can be modified.

New features

  • Adds SQL injection protection on Alpine Linux (x86_64 and ARM64) and Windows ARM64
  • Adds support for Python 3.15 (GIL-enabled builds only)
  • Adds a Retry-After header to rate-limited responses from Zen's middleware
  • Reports hit counts for monitored and blocked IP lists and bots

Bug fixes

  • Fixes missed attacks in cookies on Starlette and FastAPI
  • Fixes an edge case where a missing client IP address caused attack checks to be skipped
  • Skips invalid wildcard route rules so they do not disable attack detection, rate limiting, or IP blocking
  • Fixes false SQL injection alerts involving safely escaped leading or trailing quotes, common ORM conditions, and harmless text or numeric input
  • Fixes invalid field types in API discovery data, including schemas for XML request bodies
  • Fixes repeated package scans during imports, reducing startup overhead

Improvements

  • Improves communication with Zen's background process to reduce request delays, fix startup hangs and resource leaks, and handle larger batches of statistics and API discovery data
  • Improves Flask request body handling by waiting for the app to read the body instead of consuming it upfront
  • Improves handling of deeply nested request bodies in Starlette and Quart apps
  • Reduces memory retained after blocked or rate-limited requests in Flask apps
  • Reduces memory retained by completed Flask requests after errors
  • Reduces memory usage when many attacks are detected
  • Speeds up SQL injection checks
  • Reduces overhead when repeatedly importing standard-library modules or modules without package version information
  • Removes the packaging runtime dependency